Page MenuHomeFreeBSD

iflibGroup
ActivePublic

Details

Description

The iflib network driver infrastructure.

Recent Activity

Jun 11 2021

heliocentric_gmail.com added a watcher for iflib: heliocentric_gmail.com.
Jun 11 2021, 12:32 AM

May 31 2021

kbowling resigned from D30463: iflib:correct vlan register/unregister.

Yes I apologize for my own misunderstanding, I saw this patch in BZ and was confused previously and didn't see it helping the related e1000 issues. Upon seeing it here again, it seemed like the if statement WRT ctx and arg would be incorrect if receiving an event from the vlan handler, but I see that we control the argument with our EVENTHANDLER_REGISTER here so it is consistent. @kaho_elam.kais.kyoto-u.ac.jp I believe the problems you are pursuing are a combination of filter management in e1000 and a couple issues in the em_txrx.c. I have today off so I'll see if I can make some progress, I've found some bugs in testing so nothing is ready for commit yet but here's my works in progress: D30002 and D30072

May 31 2021, 4:27 PM · iflib

May 29 2021

kaho_elam.kais.kyoto-u.ac.jp added a comment to D30463: iflib:correct vlan register/unregister.

I don't understand this change. If you look at EVENTHANDLER_INVOKE, it traverses the list of registered handlers and calls each one with

_t->eh_func(_ep->ee_arg , ## __VA_ARGS__);

so the argument passed with EVENTHANDLER_REGISTER is the first parameter, followed by the parent ifnet and VID. iflib specifies the ctx (stored in ifp->if_softc) as the argument, and in iflib_vlan_register() we compare the argument with ifp->if_softc.

I tried adding some prints around this code and configured a vlan on an igb interface, and iflib indeed handled the event. So I can't see what problem this diff is fixing.

May 29 2021, 10:17 AM · iflib
kaho_elam.kais.kyoto-u.ac.jp added a comment to D30463: iflib:correct vlan register/unregister.
In D30463#685828, @erj wrote:

I also don't really understand what this is supposed to fix; we haven't had problems registering VLANs at all.

May 29 2021, 8:58 AM · iflib

May 28 2021

erj requested changes to D30463: iflib:correct vlan register/unregister.

I also don't really understand what this is supposed to fix; we haven't had problems registering VLANs at all.

May 28 2021, 10:55 PM · iflib
markj added a comment to D30463: iflib:correct vlan register/unregister.

I don't understand this change. If you look at EVENTHANDLER_INVOKE, it traverses the list of registered handlers and calls each one with

May 28 2021, 2:08 PM · iflib
kbowling accepted D30463: iflib:correct vlan register/unregister.

I see it clearly now, and agree. Thanks for the fix!

May 28 2021, 6:37 AM · iflib

May 26 2021

kaho_elam.kais.kyoto-u.ac.jp requested review of D30463: iflib:correct vlan register/unregister.
May 26 2021, 2:35 AM · iflib

Feb 19 2021

rajeshasp added a watcher for iflib: rajeshasp.
Feb 19 2021, 6:35 AM

Feb 16 2021

krzysztof.galazka_intel.com added a watcher for iflib: krzysztof.galazka_intel.com.
Feb 16 2021, 8:00 PM

May 8 2019

gallatin added a member for iflib: gallatin.
May 8 2019, 6:19 PM

Mar 26 2019

emaste added a member for iflib: kbowling.
Mar 26 2019, 5:12 PM

Mar 19 2019

kbowling added a watcher for iflib: kbowling.
Mar 19 2019, 3:23 AM

Mar 17 2019

marius added a member for iflib: marius.
Mar 17 2019, 4:03 PM

Mar 14 2019

cy added a member for iflib: cy.
Mar 14 2019, 7:49 PM
pkelsey added a member for iflib: pkelsey.
Mar 14 2019, 6:01 PM
bryanv added a member for iflib: bryanv.
Mar 14 2019, 5:45 PM
bz added a member for iflib: bz.
Mar 14 2019, 5:29 PM
shurd added a member for iflib: shurd.
Mar 14 2019, 5:01 PM
erj added a member for iflib: erj.
Mar 14 2019, 4:49 PM
jhb added a member for iflib: jhb.
Mar 14 2019, 4:05 PM
mat created iflib.
Mar 14 2019, 12:25 PM