Re: if_vlan allow to set incorrect mtu

2021-12-07 Thread Özkan KIRIK
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 wrote: > > W dniu 7.12.2021 o 10:00, Zh

Re: if_vlan allow to set incorrect mtu

2021-12-07 Thread Marek Zarychta
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

Re: if_vlan allow to set incorrect mtu

2021-12-07 Thread Zhenlei Huang
> On Dec 7, 2021, at 5:39 AM, Marek Zarychta > wrote: > > W dniu 8.11.2021 o 08:13, Zhenlei Huang pisze: >>> On Nov 7, 2021, at 3:51 PM, Rozhuk Ivan wrote: >>> >>> Hi! >>> >>> >>> Why if_vlan allow to set same MTU size or bigger as on parrent nic? >>> >>> >>> Setup: >>> - workstation wi

Re: if_vlan allow to set incorrect mtu

2021-12-06 Thread Marek Zarychta
W dniu 8.11.2021 o 08:13, Zhenlei Huang pisze: On Nov 7, 2021, at 3:51 PM, Rozhuk Ivan wrote: Hi! Why if_vlan allow to set same MTU size or bigger as on parrent nic? Setup: - workstation with MTU 9000 and IPv4 on h/w nic - server with MTU 9000 on h/w nic and IPv4 on vlan nic with MTU 900

Re: if_vlan allow to set incorrect mtu

2021-11-07 Thread Zhenlei Huang
> On Nov 7, 2021, at 3:51 PM, Rozhuk Ivan wrote: > > Hi! > > > Why if_vlan allow to set same MTU size or bigger as on parrent nic? > > > Setup: > - workstation with MTU 9000 and IPv4 on h/w nic > - server with MTU 9000 on h/w nic and IPv4 on vlan nic with MTU 9000 (set by > defauil on ifa

Re: if_vlan allow to set incorrect mtu

2021-11-07 Thread Marek Zarychta
W dniu 7.11.2021 o 08:51, Rozhuk Ivan pisze: Hi! Why if_vlan allow to set same MTU size or bigger as on parrent nic? Setup: - workstation with MTU 9000 and IPv4 on h/w nic - server with MTU 9000 on h/w nic and IPv4 on vlan nic with MTU 9000 (set by defauil on iface creation) This setup have