svn commit: r360398 - head/sys/net

Eric Joyner erj at freebsd.org
Wed Apr 29 18:13:03 UTC 2020


Hi Aleksandr,

Part of this patch was to introduce a driver-dependent iflib function that
would allow drivers to tell iflib whether or not to flap the interface when
a vlan is registered or unregistered. I think this could be fixed for em(4)
by having it implement that function to either always return false (so
iflib doesn't do an init/stop), or maybe have it only do a reset when
vlanhwfilter is enabled; I'm going to take a look at doing that.

- Eric

On Wed, Apr 29, 2020 at 1:27 AM Aleksandr Fedorov <wigneddoom at yandex.ru>
wrote:

> Sorry for the late response, but I think that this changes makes Intel
> cards with iflib drivers fully unusable.
> We already have a regression which leads to an interface flapping
> when adding vlan with enabled vlanhwfilter. But at least there is a
> workaround - disabling hwfilter.
> After this change, the interface will always flap.
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241785
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240818
> https://lists.freebsd.org/pipermail/freebsd-net/2018-November/052184.html
>
>


More information about the svn-src-all mailing list