net/enic: set Rx VLAN offload flag for non-stripped packets
authorHyong Youb Kim <hyonkim@cisco.com>
Wed, 26 Sep 2018 02:54:19 +0000 (19:54 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:48 +0000 (18:53 +0200)
commitfe5383d133f484d7cb2ad385bbf1e43ad7078682
tree5c22ff3b217e6bf8797d00333fd35d695554ca4f
parentc0aae00d7da0012599dd692912244eee1f7385cc
net/enic: set Rx VLAN offload flag for non-stripped packets

The NIC indicates VLAN TCI to the driver even when VLAN stripping is
disabled. The driver sets mbuf's vlan_tci but not PKT_RX_VLAN. Set
PKT_RX_VLAN to indicate that vlan_tci is valid.

Fixes: c6f455507411 ("net/enic: add ethernet VLAN packet type")
Cc: stable@dpdk.org
Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic_rxtx.c