From nobody Sun May 30 02:50:16 2021 X-Original-To: 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 BBCDBC7E5FF for ; Sun, 30 May 2021 02:50:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ft2w84rDZz3Gp3 for ; Sun, 30 May 2021 02:50:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8ED90156F1 for ; Sun, 30 May 2021 02:50:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 14U2oGWq065022 for ; Sun, 30 May 2021 02:50:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14U2oGOo065021 for net@FreeBSD.org; Sun, 30 May 2021 02:50:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 230996] em/igb: Intel i210/i350: ifconfig: enabling "vlanhwtag" renders VLAN on i210/i350 NICs unusable Date: Sun, 30 May 2021 02:50:16 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: IntelNetworking, needs-qa, performance, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: xistence@0x58.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable12? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230996 Bert JW Regeer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xistence@0x58.com --- Comment #31 from Bert JW Regeer --- Following up with a "me too" on FreeBSD 13.0-RELEASE, with the following configuration: igb0/igb1/igb2/igb3 in a lagg0 on top of which there are multiple vlan interfaces that are created. On FreeBSD 13, even disabling all the hardware assists I was unable to get traffic to flow, on FreeBSD 12.2, no issues at all and everything functions= as designed. Some information: igb0@pci0:1:0:0: class=3D0x020000 card=3D0x00008086 chip=3D0x1539808= 6 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'I211 Gigabit Network Connection' class =3D network subclass =3D ethernet igb0: port 0xe000-0xe01f mem 0xdf500000-0xdf51ffff,0xdf520000-0xdf523fff irq 16 at device 0.0 on pci1 igb0: Using 1024 TX descriptors and 1024 RX descriptors igb0: Using 2 RX queues 2 TX queues igb0: Using MSI-X interrupts with 3 vectors igb0: Ethernet address: 40:62:31:08:92:76 igb0: netmap queues/slots: TX 2/1024, RX 2/1024 root@Breached:/usr/home/xistence # ifconfig igb0 igb0: flags=3D8843 metric 0 mtu 9000 =20=20=20=20=20=20=20 options=3De527bb ether 40:62:31:08:92:76 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 root@Breached:/usr/home/xistence # ifconfig lagg0 lagg0: flags=3D8843 metric 0 mtu 90= 00 =20=20=20=20=20=20=20 options=3De527bb ether 40:62:31:08:92:76 inet6 fe80::4262:31ff:fe08:9276%lagg0 prefixlen 64 scopeid 0x8 inet6 2604:5500:c22a:7f00:4262:31ff:fe08:9276 prefixlen 64 inet 172.16.109.1 netmask 0xffffff00 broadcast 172.16.109.255 laggproto lacp lagghash l2,l3,l4 laggport: igb0 flags=3D1c laggport: igb1 flags=3D1c laggport: igb2 flags=3D1c laggport: igb3 flags=3D1c groups: lagg media: Ethernet autoselect status: active nd6 options=3D61 root@Breached:/usr/home/xistence # ifconfig vlan10 vlan10: flags=3D8843 metric 0 mtu 9= 000 options=3D600703 ether 40:62:31:08:92:76 inet 192.168.10.1 netmask 0xffffff00 broadcast 192.168.10.255 inet6 fe80::4262:31ff:fe08:9276%vlan10 prefixlen 64 scopeid 0x9 inet6 2604:5500:c22a:7f01:4262:31ff:fe08:9276 prefixlen 64 groups: vlan vlan: 10 vlanpcp: 0 parent interface: lagg0 media: Ethernet autoselect status: active nd6 options=3D61 This is unfortunately my primary router to the internet, so I am unable to experiment with patches. Things I did note: - traffic on lagg0 did function (untagged) - tcpdump on lagg0 did not show any 802.1q frames - tcpdump on igb0 DID show 802.1q frames, but only rx, no tx - rx worked on the vlan interfaces (saw packets coming in) - tx did NOT work, no data was transmitted If this is the wrong bug, please let me know and I can file a new one. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=