net/enic: heed VLAN strip flag
authorJohn Daley <johndale@cisco.com>
Tue, 19 Jul 2016 22:43:45 +0000 (15:43 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 21 Jul 2016 22:49:10 +0000 (00:49 +0200)
commit892741d220534ca7678ff1789779b464388fa727
tree0bd5e29eac934297042ff13c17632dcc9916dee8
parent1ccc51b079c4e36d5701dc1500b2aafa1235858e
net/enic: heed VLAN strip flag

The configure function enicpmd_dev_configure() was not paying attention
to the rxmode VLAN strip bit. Set the VLAN strip mode according to the bit.

Fixes: fefed3d1e62c ("enic: new driver")

Signed-off-by: John Daley <johndale@cisco.com>
Reviewed-by: David Harton <dharton@cisco.com>
Tested-by: David Harton <dharton@cisco.com>
drivers/net/enic/enic_ethdev.c