Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 2021 13:47:37 +0300
From:      =?UTF-8?B?w5Z6a2FuIEtJUklL?= <ozkan.kirik@gmail.com>
To:        Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
Cc:        Zhenlei Huang <zlei.huang@gmail.com>,  "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: if_vlan allow to set incorrect mtu
Message-ID:  <CAAcX-AHs4ubte4tdrMpn4jD8ZUnCHZVjJwuLKuvjuca=EKy6Aw@mail.gmail.com>
In-Reply-To: <57f47c3d-23fc-c33c-8f1f-7e66c6e2c1a6@plan-b.pwste.edu.pl>
References:  <20211107105130.2ccbb253@rimwks.local> <F07B770B-E17F-467A-982F-4EF34F55870E@gmail.com> <0f2883d1-80a6-29e3-46df-ab2b3ea43eaf@plan-b.pwste.edu.pl> <9AD983D7-51ED-4892-9D7F-9F9D60BED485@gmail.com> <57f47c3d-23fc-c33c-8f1f-7e66c6e2c1a6@plan-b.pwste.edu.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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,
=C3=96zkan 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 repea=
t the test again?
> >> ifconfig igb0 -vlanmtu -vlanhwtag -vlanhwfilter -vlanhwtso -vlanhwcsum
> > Disabling the capabilities listed above doesn't solve the issue, but as=
signing 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=3D"mtu 9000 -vlanmtu -vlanhwtag -vlanhwfilter -vlanhwtso =
-vlanhwcsum up"
> > ifconfig_igb1=3D"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=3D260260
>
> --
> Marek Zarychta



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAcX-AHs4ubte4tdrMpn4jD8ZUnCHZVjJwuLKuvjuca=EKy6Aw>