net/fm10k: fix VLAN strip offload flag
authorXiao Wang <xiao.w.wang@intel.com>
Wed, 27 Mar 2019 05:09:03 +0000 (13:09 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Mar 2019 16:25:32 +0000 (17:25 +0100)
commitae843c69aa55d25b1c0ef7984501b2356ed5fe88
tree79f7786da54f25f6b8642af9f231a28e89288917
parent493779087466f788ae1b72e137718b23b944aedb
net/fm10k: fix VLAN strip offload flag

Since the VLAN header is stripped from mbuf data, PKT_RX_VLAN_STRIPPED
should be set in offload flag.

Fixes: 6b59a3bc82b1 ("fm10k: fix VLAN in Rx mbuf")
Fixes: 7092be8437bd ("fm10k: add vector Rx")
Cc: stable@dpdk.org
Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
drivers/net/fm10k/fm10k_rxtx.c
drivers/net/fm10k/fm10k_rxtx_vec.c