net/thunderx: support Rx VLAN offload
authorRakesh Kudurumalla <rkudurumalla@caviumnetworks.com>
Wed, 18 Jul 2018 15:05:02 +0000 (20:35 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 23 Jul 2018 21:55:26 +0000 (23:55 +0200)
commitd3bf25644ba51474b7e7c1fd4e6886bfc60d4a47
tree1af04ee2bea3ffc80374560745fafc4c4997a4c8
parent5e64c8120c82c0c9d4de42a42f6d38922c3b5740
net/thunderx: support Rx VLAN offload

This feature is used to offload stripping of VLAN header from received
packets and update vlan_tci field in mbuf when
DEV_RX_OFFLOAD_VLAN_STRIP & ETH_VLAN_STRIP_MASK flag is set.

Signed-off-by: Rakesh Kudurumalla <rkudurumalla@caviumnetworks.com>
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
drivers/net/thunderx/base/nicvf_hw.c
drivers/net/thunderx/nicvf_ethdev.c
drivers/net/thunderx/nicvf_rxtx.c
drivers/net/thunderx/nicvf_rxtx.h
drivers/net/thunderx/nicvf_struct.h