[Bug 260260] igb(4) I35{0,4} parrent <--> vlan jumbo frame mtu mismatch

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 07 Dec 2021 12:24:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260260

--- Comment #3 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> ---
(In reply to Zhenlei Huang from comment #2)
1. Indeed, bringing up intrefaces this way:
ifconfig_igb0="mtu 9000 -vlanmtu -vlanhwtag -vlanhwfilter -vlanhwtso
-vlanhwcsum up"
ifconfig_igb1="mtu 9000 -vlanmtu -vlanhwtag -vlanhwfilter -vlanhwtso
-vlanhwcsum up"
makes vlan(4) children brought up with mtu 8996, but IMHO it's not right
solution of the problem.

2. I also tried to apply D33154 as suggested Özkan KIRIK on net@ mailing list:
> 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

The patch unfortunately doesn't solve this issue.

FYI, in another machine, I have the setup described below working flawlessly
with the same 13.0-STABLE revision.

em0: flags=8963<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu
9000
       
options=481049b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LRO,VLAN_HWFILTER,NOMAP>

em1: flags=8963<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu
9000
       
options=481049b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LRO,VLAN_HWFILTER,NOMAP>


lagg0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu
9000
       
options=481049b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LRO,VLAN_HWFILTER,NOMAP>
        ether 00:26:55:e4:d3:fa
        laggproto lacp lagghash l2,l3,l4
        laggport: em0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
        laggport: em1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>


vlan6: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
        options=4000403<RXCSUM,TXCSUM,LRO,NOMAP>
        vlan: 7 vlanproto: 802.1q vlanpcp: 0 parent interface: lagg0

-- 
You are receiving this mail because:
You are the assignee for the bug.