linux_dsm_epyc7002/drivers/net/ethernet/cavium/thunder
Sunil Goutham aa2e259b47 net: thunderx: Support for HW VLAN stripping
This patch configures HW to strip 802.1Q header if found in a
receiving packet. The stripped VLAN ID and TCI information is
passed on to software via CQE_RX. Also sets netdev's 'vlan_features'
so that other HW offload features can be used for tagged packets.

This offload feature can be enabled or disabled via ethtool.

Network stack normally ignores RPS for 802.1Q packets and hence low
throughput. With this offload enabled throughput for tagged packets
will be almost same as normal packets.

Note: This patch doesn't enable HW VLAN insertion for transmit packets.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: Aleksey Makarov <aleksey.makarov@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-08-30 21:54:12 -07:00
..
Makefile net: Adding support for Cavium ThunderX network controller 2015-05-27 14:19:44 -04:00
nic_main.c net: thunderx: Support for HW VLAN stripping 2015-08-30 21:54:12 -07:00
nic_reg.h net: Adding support for Cavium ThunderX network controller 2015-05-27 14:19:44 -04:00
nic.h net: thunderx: mailboxes: remove code duplication 2015-08-30 21:54:11 -07:00
nicvf_ethtool.c net: thunderx: Receive hashing HW offload support 2015-08-30 21:54:12 -07:00
nicvf_main.c net: thunderx: Support for HW VLAN stripping 2015-08-30 21:54:12 -07:00
nicvf_queues.c net: thunderx: Support for HW VLAN stripping 2015-08-30 21:54:12 -07:00
nicvf_queues.h net: thunderx: Support for HW VLAN stripping 2015-08-30 21:54:12 -07:00
q_struct.h net: Adding support for Cavium ThunderX network controller 2015-05-27 14:19:44 -04:00
thunder_bgx.c net, thunder, bgx: Add support to get MAC address from ACPI. 2015-08-11 11:47:57 -07:00
thunder_bgx.h net: thunderx: rework mac address handling 2015-06-02 12:49:29 -07:00