Re: if_vlan allow to set incorrect mtu

From: Özkan KIRIK <ozkan.kirik_at_gmail.com>
Date: Tue, 07 Dec 2021 10:47:37 UTC
Please see the https://reviews.freebsd.org/D33154,
igb driver doesn't honor the interface capabilities like vlanhwtag,
vlan* and etc now. If you want, you can apply the patches from D33154

Regards,
Özkan KIRIK

On Tue, Dec 7, 2021 at 12:06 PM Marek Zarychta
<zarychtam@plan-b.pwste.edu.pl> wrote:
>
> W dniu 7.12.2021 o 10:00, Zhenlei Huang pisze:
> >> Can you please disable all vlan hardware offloading features and repeat the test again?
> >> ifconfig igb0 -vlanmtu -vlanhwtag -vlanhwfilter -vlanhwtso -vlanhwcsum
> > Disabling the capabilities listed above doesn't solve the issue, but assigning mtu 8996 to VLAN children does.
> > Reproduced on the most recent 13-STABLE (13-n248421-3b936a8c889) while testing the fix[1]
> >
> > Try disabling all vlan hardware offloading features in rc.conf.
> >
> > ifconfig_igb0="mtu 9000 -vlanmtu -vlanhwtag -vlanhwfilter -vlanhwtso -vlanhwcsum up"
> > ifconfig_igb1="mtu 9000 -vlanmtu -vlanhwtag -vlanhwfilter -vlanhwtso -vlanhwcsum up"
>
> It doesn't change anything. I am using workaround since the early
> transition to 13 branch, but recently conducted small investigation and
> finally submitted the PR[1]
>
> [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260260
>
> --
> Marek Zarychta