From owner-freebsd-net@freebsd.org Fri Oct 20 17:37:10 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7EB65E3BD00 for ; Fri, 20 Oct 2017 17:37:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6C7D81B0 for ; Fri, 20 Oct 2017 17:37:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v9KHb9fi047891 for ; Fri, 20 Oct 2017 17:37:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 219390] [ixgbe] [patch] ixgbe stripping vlan_tag by default Date: Fri, 20 Oct 2017 17:37:10 +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: 11.1-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: halfling@halfling.com.br X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2017 17:37:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219390 --- Comment #8 from Charles Goncalves --- (In reply to Krzysztof Galazka from comment #7) Hello Krzysztof! I'm using: Intel 82599ES 10-Gigabit SFI/SFP+ (chip=3D0x10fb8086) I have two machines with crossover connection. test01 <-> test02 On test01 I have ixgbe driver patched and on test02 I don't have. On both machines there is a vlan10 over an ix NIC. Step 1: on machine test02 do a ping to test01 like: ping 10.0.0.1 Step 2: on machine test01 do a tcpdump like: tcpdump -eni netmap:ix0 On Step 2 I'm seeing tcpdump output like: ethertype 802.1Q (0x8100). This i= s an expected behavior. Step 3: on machine test01 do a ping to test02 like: ping 10.0.0.2 Step 4: on machine test02 do a tcpdump like: tcpdump -eni netmap:ix0 On Step 4 I'm seeing tcpdump output like: ethertype IPv4 (0x0800). This is a strange behavior. My inspiration is from em1000 driver: https://github.com/freebsd/freebsd/blob/bb993c697ac4f18efa742ac69db425a5e03= 51117/sys/dev/e1000/if_em.c#L1246+L1249 I hope these steps are clear. If you have any further doubts feel free to contact me. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=