Hi,

I've got an X710 ethernet controller; and when I add nested VLANs the
"inner" tag gets lost unless I disable the txvlan feature (`ethtool -K
ens1f0 txvlan off`).

This is my setup:

/sbin/ip link add link ens1f0 name vlan12 type vlan protocol 802.1Q id 12
/sbin/brctl addif intern vlan12
/sbin/ip link set dev vlan12 up
/sbin/ip link add link vlan12 name vlan152 type vlan protocol 802.1ad id 152
/sbin/brctl addif intern vlan152
/sbin/ip link set dev vlan152 up

Frames send on vlan152 will only show up in vlan12 on the other end
without the 802.1ad tag.

If the hardware doesn't support this, maybe it could be emulated in
software?  Or could I get at least some big warnings somewhere?  Is this
a (publicly) known bug?

I somehow doubt many people are able to track this bug down if they hit
it in the wild, but maybe not many people are using 802.1ad in the first
place...

Are there any estimates how badly `txvlan` is needed for 10G?

cheers,
Stefan

---

# uname -a
Linux prowler 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64 
GNU/Linux
# lspci -s 02:00.0 -v
02:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 for 
10GbE SFP+ (rev 01)
        Subsystem: Intel Corporation Ethernet Converged Network Adapter X710-4
        Physical Slot: 1
        Flags: bus master, fast devsel, latency 0, IRQ 26, NUMA node 0
        Memory at 90800000 (64-bit, prefetchable) [size=8M]
        Memory at 93000000 (64-bit, prefetchable) [size=32K]
        Expansion ROM at fb280000 [disabled] [size=512K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] MSI-X: Enable+ Count=129 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [e0] Vital Product Data
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number [...]
        Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
        Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
        Capabilities: [1a0] Transaction Processing Hints
        Capabilities: [1b0] Access Control Services
        Capabilities: [1d0] #19
        Kernel driver in use: i40e
        Kernel modules: i40e

-- 
Stefan Bühler         Mail/xmpp: bueh...@cert.uni-stuttgart.de
Stabsstelle DV-Sicherheit der Universität Stuttgart (RUS-CERT)
https://cert.uni-stuttgart.de       Telefon: +49 711 685 83683

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to