[Bug 219390] [ixgbe] [patch] ixgbe stripping vlan_tag by default

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Oct 20 17:37:10 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219390

--- Comment #8 from Charles Goncalves <halfling at halfling.com.br> ---
(In reply to Krzysztof Galazka from comment #7)
Hello Krzysztof!

I'm using: Intel 82599ES 10-Gigabit SFI/SFP+ (chip=0x10fb8086)

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 is 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/bb993c697ac4f18efa742ac69db425a5e0351117/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.

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


More information about the freebsd-net mailing list