From nobody Thu Jan 25 07:22:51 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TLC3673l9z57xmn for ; Thu, 25 Jan 2024 07:22:58 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TLC366Zc7z40xb; Thu, 25 Jan 2024 07:22:58 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706167378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=O/8mK+txRjcDNrSPhM4S74vPdQ7oZXsAwDNYnuuKhkQ=; b=c9Vu1Gc2htf82KxwWgsa1f31lpeN71rLMBxuKPuJkUrekrwo16g9MC50NVtD3y/a+wcCwX oZkdEWh8HM3m6dWyaH8MzjHS/iiNOfaIqRsHV5ODyyseT+zfolHyXWdnGr0GnRgOxdw/zv smOqF6FaeU4BA8tPFHnkawPSVq7GoamXSIJKAlIPJdIFyw46Mzul0mMPMDoN6DNFwsn8YI 9fwGT8hm59TGN3JmHn5Eb3C95Kr7LCcLvpc2Y5cTKc3JBihJbsIqKemWcVexskEaWCNS5L D9KR1QB8D/jym+76gCTLyVf8DxBnDjxU42lWaQYGJntONsINXbNaFlhz19uH5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706167378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=O/8mK+txRjcDNrSPhM4S74vPdQ7oZXsAwDNYnuuKhkQ=; b=HrjWbRP1dJs1eI8b5P8rawaACo1G1np7MHLbpOhVJeG0278wufiAJNlbyjf4d6Sqv4AqZj twvmTVgIHCLjtJWpgRJi9ljEn5Hq3X2HoHIO68Gvj1GX3SgIcQyyJG3LV6PGp4Bh1QotI+ mYQyZoaMhKNuyJCLhk2SSe7PCsBxvlAmgxyQzBAqd7HAYWxYUCFLJFUlKY8fQVdlq9Lmj2 k96IE36+SdHh1+ehWBXiQ/g4HEWT+/RPKxZ28V69wx9fKXJcllY+14k4OtPozJWWFQWgG7 msq1VEpP4o+WNlxRXmYv8fopxQQSvNy0OvE2GAWtJ/u86PfEfPYhOgbF6L3jLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706167378; a=rsa-sha256; cv=none; b=PMpYqDdQWHCol5kbzHdYhvBukwwPMZMP7+2sEPFYUVbKcq8nXkaIed6MVwltd0FWbKVqBR OrvW0hEudlzuh4F2C/uWxLu4caXm+doGxq9hDpIuxVvK6XMUOtDxN1+UojN/O71VP7ZndM 4Hg47YMB9dRDBOM22KQBNXlHOIk5VoDCROWm+V9R85+VjvkbFFRmkk65/MgljUrVm+CTfZ CA8o9CmiBDnruACSapV/gvW6FKE3krFPbDzFyiiFqdqIn4f2QkuwjWrVNrqVYEwmJSmS0b 9yuELaKaIGJKHUKiZFaNgx4LRwJY2xBbuEYUZ65i8hOYiwfJfGcv0z+hIO9yKA== Received: from smtpclient.apple (ns1.oxydns.net [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TLC352GFTz194L; Thu, 25 Jan 2024 07:22:56 +0000 (UTC) (envelope-from zlei@FreeBSD.org) From: Zhenlei Huang Message-Id: <40DB5F45-6507-4274-BF28-6B9A5F45CAE9@FreeBSD.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_F07AB117-A8B6-48CF-ADCD-C93C51B4E353" List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: problem with ixl(4) and vlans Date: Thu, 25 Jan 2024 15:22:51 +0800 In-Reply-To: <3779d6c1-48de-4941-9444-36d69890be26@c0decafe.de> Cc: FreeBSD Net To: Daniel References: <3779d6c1-48de-4941-9444-36d69890be26@c0decafe.de> X-Mailer: Apple Mail (2.3696.120.41.1.4) --Apple-Mail=_F07AB117-A8B6-48CF-ADCD-C93C51B4E353 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jan 23, 2024, at 11:03 PM, Daniel wrote: >=20 > Hi List,=20 >=20 >=20 > just recently I discovered a problem with the ixl(4) driver. Hopefully = someone here can help me. my setup is as follows:=20 >=20 >=20 > Network ----- ixl3 interface ----- ixl3.15 vlan interface ----- = bridge0 ----- vnet0.1 to jail=20 >=20 >=20 > the problem now is that the jail can send data out (arp requests), i = do see the responses on the ixl3 interface of the host, but they never = make their way up to the ixl3.15 vlan interface (even though they are = tagged correctly). To rule out that my config or the network is the = cruel pit i did test the same setup with a cheap usb-ethernet adapter = and there everything works as expected. I'm on FreeBSD 13.2-RELEASE-p8 = and I did test both, the in kernel driver and the driver from ports = intel-ixl-kmod-1.13.4_1.=20 >=20 I would encourage you to do plain VLAN tests, i.e. plug ixl3.15 out from = bridge0 ``` # ifconfig bridge0 deletem ixl3.15 # ifconfig bridge0 inet 192.168.55.20/24 delete ### to prevent confusion # ifconfig ixl3.15 inet 192.168.55.x/24 # ping -c1 192.168.55.1 ```=20 >=20 > Here is a bit of information on my environment:=20 >=20 > # uname -a=20 > FreeBSD mimir 13.2-RELEASE-p8 FreeBSD 13.2-RELEASE-p8 GENERIC amd64=20 >=20 > # pciconf -lBbcevV pci0:25:0:3=20 > ixl3@pci0:25:0:3: class=3D0x020000 rev=3D0x09 hdr=3D0x00 = vendor=3D0x8086 device=3D0x37d3 subvendor=3D0x8086 subdevice=3D0x35d5=20 > vendor =3D 'Intel Corporation'=20 > device =3D 'Ethernet Connection X722 for 10GbE SFP+'=20 > class =3D network=20 > subclass =3D ethernet=20 > bar [10] =3D type Prefetchable Memory, range 64, base = 0xb0000000, size 16777216, enabled=20 > bar [1c] =3D type Prefetchable Memory, range 64, base = 0xb5000000, size 32768, enabled=20 > cap 01[40] =3D powerspec 3 supports D0 D3 current D0=20 > cap 05[50] =3D MSI supports 1 message, 64 bit, vector masks=20 > cap 11[70] =3D MSI-X supports 129 messages, enabled=20 > Table in map 0x1c[0x0], PBA in map 0x1c[0x1000]=20 > cap 10[a0] =3D PCI-Express 2 endpoint max data 256(512) FLR RO=20 > max read 512=20 > link x1(x1) speed 2.5(2.5) ASPM disabled(L0s/L1)=20 > cap 03[e0] =3D VPD=20 > ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 1 corrected=20 > ecap 0003[140] =3D Serial 1 9aef76ffff01bfa4=20 > ecap 000e[150] =3D ARI 1=20 > ecap 0010[160] =3D SR-IOV 1 IOV disabled, Memory Space disabled, = ARI disabled=20 > 0 VFs configured out of 32 supported=20 > First VF RID Offset 0x006d, VF RID Stride 0x0001=20= > VF Device ID 0x37cd=20 > Page Sizes: 4096 (enabled), 8192, 65536, 262144, = 1048576, 4194304=20 > ecap 0017[1a0] =3D TPH Requester 1=20 > ecap 000d[1b0] =3D ACS 1 Source Validation unavailable, = Translation Blocking unavailable=20 > P2P Req Redirect unavailable, P2P Cmpl Redirect = unavailable=20 > P2P Upstream Forwarding unavailable, P2P Egress = Control unavailable=20 > P2P Direct Translated unavailable, Enhanced = Capability unavailable=20 > PCI-e errors =3D Correctable Error Detected=20 > Unsupported Request Detected=20 > Corrected =3D Advisory Non-Fatal Error=20 > VPD ident =3D 'Example VPD'=20 >=20 > # ifconfig > [...] > ixl3: flags=3D8963 = metric 0 mtu 1500 > = options=3D4a500b9 > ether a4:bf:01:76:ef:9d > media: Ethernet autoselect (10Gbase-SR ) > status: active > nd6 options=3D29 > ixl3.15: flags=3D8942 = metric 0 mtu 1500 > options=3D4200001 > ether a4:bf:01:76:ef:9d > groups: vlan > vlan: 15 vlanproto: 802.1q vlanpcp: 0 parent interface: ixl3 > media: Ethernet autoselect (10Gbase-SR ) > status: active > nd6 options=3D29 > bridge0: flags=3D8843 metric 0 = mtu 1500 > ether 58:9c:fc:10:dd:05 > inet 192.168.55.20 netmask 0xffffff00 broadcast 192.168.55.255 > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > member: vnet0.1 flags=3D143 > ifmaxaddr 0 port 9 priority 128 path cost 2000 > member: ixl3.15 flags=3D143 > ifmaxaddr 0 port 8 priority 128 path cost 55 > groups: bridge > nd6 options=3D9 > [...] >=20 >=20 >=20 >=20 > # cat /etc/rc.conf=20 > [...]=20 > ifconfig_ixl3=3D"up"=20 > vlans_ixl3=3D"15"=20 > cloned_interfaces=3D"bridge0"=20 > ifconfig_bridge0=3D"addm ixl3.15 up"=20 > [...] >=20 >=20 >=20 > # dmesg | grep ixl=20 > ixl0: mem = 0xb3000000-0xb3ffffff,0xb5018000-0xb501ffff at device 0.0 numa-domain 0 = on pci6=20 > ixl0: fw 3.1.55727 api 1.5 nvm 3.31 etid 80000d32 oem 1.262.0=20 > ixl0: PF-ID[0]: VFs 32, MSI-X 129, VF MSI-X 5, QPs 384, MDIO shared=20 > ixl0: Using 1024 TX descriptors and 1024 RX descriptors=20 > ixl0: Using 12 RX queues 12 TX queues=20 > ixl0: Using MSI-X interrupts with 13 vectors=20 > ixl0: Ethernet address: a4:bf:01:76:ef:9a=20 > ixl0: Allocating 16 queues for PF LAN VSI; 12 queues active=20 > ixl0: SR-IOV ready=20 > ixl0: netmap queues/slots: TX 12/1024, RX 12/1024=20 > ixl1: mem = 0xb2000000-0xb2ffffff,0xb5010000-0xb5017fff at device 0.1 numa-domain 0 = on pci6=20 > ixl1: fw 3.1.55727 api 1.5 nvm 3.31 etid 80000d32 oem 1.262.0=20 > ixl1: PF-ID[1]: VFs 32, MSI-X 129, VF MSI-X 5, QPs 384, MDIO shared=20 > ixl1: Using 1024 TX descriptors and 1024 RX descriptors=20 > ixl1: Using 12 RX queues 12 TX queues=20 > ixl1: Using MSI-X interrupts with 13 vectors=20 > ixl1: Ethernet address: a4:bf:01:76:ef:9b=20 > ixl1: Allocating 16 queues for PF LAN VSI; 12 queues active=20 > ixl1: SR-IOV ready=20 > ixl1: netmap queues/slots: TX 12/1024, RX 12/1024=20 > ixl2: mem = 0xb1000000-0xb1ffffff,0xb5008000-0xb500ffff at device 0.2 numa-domain 0 = on pci6=20 > ixl2: fw 3.1.55727 api 1.5 nvm 3.31 etid 80000d32 oem 1.262.0=20 > ixl2: PF-ID[2]: VFs 32, MSI-X 129, VF MSI-X 5, QPs 384, I2C=20 > ixl2: Using 1024 TX descriptors and 1024 RX descriptors=20 > ixl2: Using 12 RX queues 12 TX queues=20 > ixl2: Using MSI-X interrupts with 13 vectors=20 > ixl2: Ethernet address: a4:bf:01:76:ef:9c=20 > ixl2: Allocating 16 queues for PF LAN VSI; 12 queues active=20 > ixl2: ixl_set_link: Error getting phy capabilities -7, aq error: 5=20 > ixl2: SR-IOV ready=20 > ixl2: netmap queues/slots: TX 12/1024, RX 12/1024=20 > ixl3: mem = 0xb0000000-0xb0ffffff,0xb5000000-0xb5007fff at device 0.3 numa-domain 0 = on pci6=20 > ixl3: fw 3.1.55727 api 1.5 nvm 3.31 etid 80000d32 oem 1.262.0=20 > ixl3: PF-ID[3]: VFs 32, MSI-X 129, VF MSI-X 5, QPs 384, I2C=20 > ixl3: Using 1024 TX descriptors and 1024 RX descriptors=20 > ixl3: Using 12 RX queues 12 TX queues=20 > ixl3: Using MSI-X interrupts with 13 vectors=20 > ixl3: Ethernet address: a4:bf:01:76:ef:9d=20 > ixl3: Allocating 16 queues for PF LAN VSI; 12 queues active=20 > ixl3: ixl_set_link: Error getting phy capabilities -7, aq error: 5=20 > ixl3: SR-IOV ready=20 > ixl3: netmap queues/slots: TX 12/1024, RX 12/1024=20 > ixl2: Link is up, 10 Gbps Full Duplex, Requested FEC: None, Negotiated = FEC: None, Autoneg: False, Flow Control: None=20 > ixl2: link state changed to UP=20 > ixl3: Link is up, 10 Gbps Full Duplex, Requested FEC: None, Negotiated = FEC: None, Autoneg: False, Flow Control: None=20 > ixl3: link state changed to UP=20 > bridge0: can't disable some capabilities on ixl3.15: 0x400=20 > ixl3: promiscuous mode enabled=20 > ixl3.15: promiscuous mode enabled=20 >=20 >=20 > from my packet traces:=20 >=20 > # tcpdump -vvv -i ixl3=20 >=20 May you please add the option -e to tcpdump, so that the link-level = header can be printed out. ``` # tcpdump -nvei ixl3 ``` > tcpdump: listening on ixl3, link-type EN10MB (Ethernet), capture size = 262144 bytes=20 > [...]=20 > 13:36:20.155843 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has = 192.168.55.1 tell 192.168.55.10, length 28=20 > 13:36:20.156285 ARP, Ethernet (len 6), IPv4 (len 4), Reply = 192.168.55.1 is-at b8:27:eb:47:8f:43 (oui Unknown), length 46=20 > 13:36:21.169003 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has = 192.168.55.1 tell 192.168.55.10, length 28=20 > 13:36:21.169538 ARP, Ethernet (len 6), IPv4 (len 4), Reply = 192.168.55.1 is-at b8:27:eb:47:8f:43 (oui Unknown), length 46=20 >=20 > Here the answer can be see, its tagged with 802.1q tag 15=20 >=20 >=20 > # tcpdump -vvv -i ixl3.15=20 > tcpdump: listening on ixl3.15, link-type EN10MB (Ethernet), capture = size 262144 bytes=20 > 14:14:37.255429 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has = 192.168.55.1 tell 192.168.55.10, length 28=20 > 14:14:42.263475 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has = 192.168.55.1 tell 192.168.55.10, length 28=20 > 14:15:02.556311 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has = 192.168.55.1 tell 192.168.55.10, length 28=20 > 14:15:07.557644 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has = 192.168.55.1 tell 192.168.55.10, length 28=20 >=20 > The answer cannot be seen on the VLAN interface ):=20 >=20 >=20 > I hope the list can help me out here, as I am lost. >=20 >=20 > Thanks & best >=20 >=20 >=20 > Daniel >=20 Best regards, Zhenlei --Apple-Mail=_F07AB117-A8B6-48CF-ADCD-C93C51B4E353 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii

On Jan 23, 2024, at 11:03 PM, Daniel <freebsd-net@c0decafe.de> wrote:

Hi List,


just recently I discovered a problem with the ixl(4) driver. Hopefully someone here can help me. my setup is as follows:


Network ----- ixl3 interface ----- ixl3.15 vlan interface ----- bridge0 ----- vnet0.1 to jail


the problem now is that the jail can send data out (arp requests), i do see the responses on the ixl3 interface of the host, but they never make their way up to the ixl3.15 vlan interface (even though they are tagged correctly). To rule out that my config or the network is the cruel pit i did test the same setup with a cheap usb-ethernet adapter and there everything works as expected. I'm on FreeBSD 13.2-RELEASE-p8 and I did test both, the in kernel driver and the driver from ports intel-ixl-kmod-1.13.4_1.

I would encourage you to do plain VLAN tests, i.e. plug ixl3.15 out from bridge0

```
# ifconfig bridge0 deletem ixl3.15
# ifconfig bridge0 inet 192.168.55.20/24 delete ### to prevent confusion
# ifconfig ixl3.15 inet 192.168.55.x/24
# ping -c1 192.168.55.1
``` 


Here is a bit of information on my environment:

# uname -a
FreeBSD mimir 13.2-RELEASE-p8 FreeBSD 13.2-RELEASE-p8 GENERIC amd64

# pciconf -lBbcevV pci0:25:0:3
ixl3@pci0:25:0:3:       class=0x020000 rev=0x09 hdr=0x00 vendor=0x8086 device=0x37d3 subvendor=0x8086 subdevice=0x35d5
    vendor     = 'Intel Corporation'
    device     = 'Ethernet Connection X722 for 10GbE SFP+'
    class      = network
    subclass   = ethernet
    bar   [10] = type Prefetchable Memory, range 64, base 0xb0000000, size 16777216, enabled
    bar   [1c] = type Prefetchable Memory, range 64, base 0xb5000000, size 32768, enabled
    cap 01[40] = powerspec 3  supports D0 D3  current D0
    cap 05[50] = MSI supports 1 message, 64 bit, vector masks
    cap 11[70] = MSI-X supports 129 messages, enabled
                 Table in map 0x1c[0x0], PBA in map 0x1c[0x1000]
    cap 10[a0] = PCI-Express 2 endpoint max data 256(512) FLR RO
                 max read 512
                 link x1(x1) speed 2.5(2.5) ASPM disabled(L0s/L1)
    cap 03[e0] = VPD
    ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected
    ecap 0003[140] = Serial 1 9aef76ffff01bfa4
    ecap 000e[150] = ARI 1
    ecap 0010[160] = SR-IOV 1 IOV disabled, Memory Space disabled, ARI disabled
                     0 VFs configured out of 32 supported
                     First VF RID Offset 0x006d, VF RID Stride 0x0001
                     VF Device ID 0x37cd
                     Page Sizes: 4096 (enabled), 8192, 65536, 262144, 1048576, 4194304
    ecap 0017[1a0] = TPH Requester 1
    ecap 000d[1b0] = ACS 1 Source Validation unavailable, Translation Blocking unavailable
                     P2P Req Redirect unavailable, P2P Cmpl Redirect unavailable
                     P2P Upstream Forwarding unavailable, P2P Egress Control unavailable
                     P2P Direct Translated unavailable, Enhanced Capability unavailable
  PCI-e errors = Correctable Error Detected
                 Unsupported Request Detected
     Corrected = Advisory Non-Fatal Error
    VPD ident  = 'Example VPD'

# ifconfig
[...]
ixl3: flags=8963<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=4a500b9<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,NOMAP>
        ether a4:bf:01:76:ef:9d
        media: Ethernet autoselect (10Gbase-SR <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ixl3.15: flags=8942<BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=4200001<RXCSUM,RXCSUM_IPV6,NOMAP>
        ether a4:bf:01:76:ef:9d
        groups: vlan
        vlan: 15 vlanproto: 802.1q vlanpcp: 0 parent interface: ixl3
        media: Ethernet autoselect (10Gbase-SR <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 58:9c:fc:10:dd:05
        inet 192.168.55.20 netmask 0xffffff00 broadcast 192.168.55.255
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: vnet0.1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 9 priority 128 path cost 2000
        member: ixl3.15 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 8 priority 128 path cost 55
        groups: bridge
        nd6 options=9<PERFORMNUD,IFDISABLED>
[...]



# cat /etc/rc.conf
[...]
ifconfig_ixl3="up"
vlans_ixl3="15"
cloned_interfaces="bridge0"
ifconfig_bridge0="addm ixl3.15 up"
[...]



# dmesg | grep ixl
ixl0: <Intel(R) Ethernet Connection X722 for 10GBASE-T - 2.3.3-k> mem 0xb3000000-0xb3ffffff,0xb5018000-0xb501ffff at device 0.0 numa-domain 0 on pci6
ixl0: fw 3.1.55727 api 1.5 nvm 3.31 etid 80000d32 oem 1.262.0
ixl0: PF-ID[0]: VFs 32, MSI-X 129, VF MSI-X 5, QPs 384, MDIO shared
ixl0: Using 1024 TX descriptors and 1024 RX descriptors
ixl0: Using 12 RX queues 12 TX queues
ixl0: Using MSI-X interrupts with 13 vectors
ixl0: Ethernet address: a4:bf:01:76:ef:9a
ixl0: Allocating 16 queues for PF LAN VSI; 12 queues active
ixl0: SR-IOV ready
ixl0: netmap queues/slots: TX 12/1024, RX 12/1024
ixl1: <Intel(R) Ethernet Connection X722 for 10GBASE-T - 2.3.3-k> mem 0xb2000000-0xb2ffffff,0xb5010000-0xb5017fff at device 0.1 numa-domain 0 on pci6
ixl1: fw 3.1.55727 api 1.5 nvm 3.31 etid 80000d32 oem 1.262.0
ixl1: PF-ID[1]: VFs 32, MSI-X 129, VF MSI-X 5, QPs 384, MDIO shared
ixl1: Using 1024 TX descriptors and 1024 RX descriptors
ixl1: Using 12 RX queues 12 TX queues
ixl1: Using MSI-X interrupts with 13 vectors
ixl1: Ethernet address: a4:bf:01:76:ef:9b
ixl1: Allocating 16 queues for PF LAN VSI; 12 queues active
ixl1: SR-IOV ready
ixl1: netmap queues/slots: TX 12/1024, RX 12/1024
ixl2: <Intel(R) Ethernet Connection X722 for 10GbE SFP+ - 2.3.3-k> mem 0xb1000000-0xb1ffffff,0xb5008000-0xb500ffff at device 0.2 numa-domain 0 on pci6
ixl2: fw 3.1.55727 api 1.5 nvm 3.31 etid 80000d32 oem 1.262.0
ixl2: PF-ID[2]: VFs 32, MSI-X 129, VF MSI-X 5, QPs 384, I2C
ixl2: Using 1024 TX descriptors and 1024 RX descriptors
ixl2: Using 12 RX queues 12 TX queues
ixl2: Using MSI-X interrupts with 13 vectors
ixl2: Ethernet address: a4:bf:01:76:ef:9c
ixl2: Allocating 16 queues for PF LAN VSI; 12 queues active
ixl2: ixl_set_link: Error getting phy capabilities -7, aq error: 5
ixl2: SR-IOV ready
ixl2: netmap queues/slots: TX 12/1024, RX 12/1024
ixl3: <Intel(R) Ethernet Connection X722 for 10GbE SFP+ - 2.3.3-k> mem 0xb0000000-0xb0ffffff,0xb5000000-0xb5007fff at device 0.3 numa-domain 0 on pci6
ixl3: fw 3.1.55727 api 1.5 nvm 3.31 etid 80000d32 oem 1.262.0
ixl3: PF-ID[3]: VFs 32, MSI-X 129, VF MSI-X 5, QPs 384, I2C
ixl3: Using 1024 TX descriptors and 1024 RX descriptors
ixl3: Using 12 RX queues 12 TX queues
ixl3: Using MSI-X interrupts with 13 vectors
ixl3: Ethernet address: a4:bf:01:76:ef:9d
ixl3: Allocating 16 queues for PF LAN VSI; 12 queues active
ixl3: ixl_set_link: Error getting phy capabilities -7, aq error: 5
ixl3: SR-IOV ready
ixl3: netmap queues/slots: TX 12/1024, RX 12/1024
ixl2: Link is up, 10 Gbps Full Duplex, Requested FEC: None, Negotiated FEC: None, Autoneg: False, Flow Control: None
ixl2: link state changed to UP
ixl3: Link is up, 10 Gbps Full Duplex, Requested FEC: None, Negotiated FEC: None, Autoneg: False, Flow Control: None
ixl3: link state changed to UP
bridge0: can't disable some capabilities on ixl3.15: 0x400
ixl3: promiscuous mode enabled
ixl3.15: promiscuous mode enabled


from my packet traces:

# tcpdump -vvv -i ixl3

May you please add the option -e to tcpdump, so that the link-level header can be printed out.

```
# tcpdump -nvei ixl3
```

tcpdump: listening on ixl3, link-type EN10MB (Ethernet), capture size 262144 bytes
[...]
13:36:20.155843 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.55.1 tell 192.168.55.10, length 28
13:36:20.156285 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.55.1 is-at b8:27:eb:47:8f:43 (oui Unknown), length 46
13:36:21.169003 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.55.1 tell 192.168.55.10, length 28
13:36:21.169538 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.55.1 is-at b8:27:eb:47:8f:43 (oui Unknown), length 46

Here the answer can be see, its tagged with 802.1q tag 15


# tcpdump -vvv -i ixl3.15
tcpdump: listening on ixl3.15, link-type EN10MB (Ethernet), capture size 262144 bytes
14:14:37.255429 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.55.1 tell 192.168.55.10, length 28
14:14:42.263475 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.55.1 tell 192.168.55.10, length 28
14:15:02.556311 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.55.1 tell 192.168.55.10, length 28
14:15:07.557644 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.55.1 tell 192.168.55.10, length 28

The answer cannot be seen on the VLAN interface ):


I hope the list can help me out here, as I am lost.


Thanks & best


Daniel


Best regards,
Zhenlei

--Apple-Mail=_F07AB117-A8B6-48CF-ADCD-C93C51B4E353--