[Bug 272090] [igb][i350] hwvlanfilter issue

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 20 Jun 2023 09:55:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272090

            Bug ID: 272090
           Summary: [igb][i350] hwvlanfilter issue
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: konrad.kreciwilk@korbank.pl

Hello,

I have server (FreeBSD 13.2-RELEASE) with 2x1Gbps

pciconf -lBbcevV igb1
igb1@pci0:1:0:1:        class=0x020000 rev=0x02 hdr=0x00 vendor=0x8086
device=0x10a7 subvendor=0x8086 subdevice=0x34dc
    vendor     = 'Intel Corporation'
    device     = '82575EB Gigabit Network Connection'

pciconf -lBbcevV igb0
igb0@pci0:1:0:0:        class=0x020000 rev=0x02 hdr=0x00 vendor=0x8086
device=0x10a7 subvendor=0x8086 subdevice=0x34dc
    vendor     = 'Intel Corporation'
    device     = '82575EB Gigabit Network Connection'

Configured lagg0 on them:


ifconfig_igb1="-tso -lro up"
ifconfig_igb0="-tso -lro up"
cloned_interfaces="lagg0 vlan88 vlan5"

#LAGG LACP
ifconfig_lagg0="laggproto lacp laggport igb0 laggport igb1 up -wol -tso -lro"

 # ifconfig lagg0
lagg0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu
1500
       
options=4e500bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP>


everything works correctly. 

I decide to add another network card (Intel i350 2x1Gbps)

pciconf -lBbcevV igb2
igb2@pci0:3:0:0:        class=0x020000 rev=0x01 hdr=0x00 vendor=0x8086
device=0x1521 subvendor=0x8086 subdevice=0x5002
    vendor     = 'Intel Corporation'
    device     = 'I350 Gigabit Network Connection'


pciconf -lBbcevV igb3
igb3@pci0:3:0:1:        class=0x020000 rev=0x01 hdr=0x00 vendor=0x8086
device=0x1521 subvendor=0x8086 subdevice=0x5002
    vendor     = 'Intel Corporation'
    device     = 'I350 Gigabit Network Connection'

Both Network cards using the same driver:

sysctl dev.igb | grep driver
dev.igb.3.iflib.driver_version: 7.6.1-k
dev.igb.3.%driver: igb
dev.igb.2.iflib.driver_version: 7.6.1-k
dev.igb.2.%driver: igb
dev.igb.1.iflib.driver_version: 7.6.1-k
dev.igb.1.%driver: igb
dev.igb.0.iflib.driver_version: 7.6.1-k
dev.igb.0.%driver: igb


I added igb2 and igb3 to lagg0 and server stop recieve traffic. I did some test
and I noticed that igb2 and igb3 does not recievie tagged frames. I did a
separate one lagg1 with igb2 and igb3. While lagg1 has default VLAN_HWFILTER
servers does not see tagged frame. Disabling VLAN_HWFILTER solves the problem.

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