The iflib network driver infrastructure.
Details
Sat, Aug 15
Superseded by D58721, which covers both fixes here on a rewritten common unwind path and adds the SR-IOV schema and core-offset refcount cases. Abandoning in favor of that.
Sat, Aug 8
I was independently dealing with similar issues while testing SR-IOV. Can you have a look at https://reviews.freebsd.org/D58721 and the linked fail(9) commit.
Wed, Aug 5
Tue, Aug 4
igc already does not panic per your own statement, so I'm not sure what you are arguing. My request is to unify lifecycle management as one commit. But now looking and iflib.c I think the igc_if_init should simply be dropped from resume and media_change so please do that instead.
@kbowling resume and media_change are not the same. They already inside a CTX_LOCK already, no panic.
It's one unit of work unifying a lifecycle issue
Can you do the same for media_change and if_resume?
Can you do the same for media_change and if_resume?
Mon, Aug 3
Sat, Jul 25
@gallatin would you mind eyeballing this? ty!
Jun 11 2021
May 31 2021
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 29 2021
May 28 2021
I also don't really understand what this is supposed to fix; we haven't had problems registering VLANs at all.
I don't understand this change. If you look at EVENTHANDLER_INVOKE, it traverses the list of registered handlers and calls each one with
I see it clearly now, and agree. Thanks for the fix!
