cxgb4: offload VLAN flows regardless of VLAN ethtype
authorRaju Rangoju <rajur@chelsio.com>
Thu, 23 May 2019 15:11:44 +0000 (20:41 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2019 06:02:30 +0000 (08:02 +0200)
commit9c9144e7899680ef12edf6c7003c9d5b1ac6cc1c
tree2482fbfd40f6a71fcd8816b1b8f2b71e120f60c6
parent3cde0a2508452783152b4bf4b9055e9c55916be4
cxgb4: offload VLAN flows regardless of VLAN ethtype

[ Upstream commit b5730061d1056abf317caea823b94d6e12b5b4f6 ]

VLAN flows never get offloaded unless ivlan_vld is set in filter spec.
It's not compulsory for vlan_ethtype to be set.

So, always enable ivlan_vld bit for offloading VLAN flows regardless of
vlan_ethtype is set or not.

Fixes: ad9af3e09c (cxgb4: add tc flower match support for vlan)
Signed-off-by: Raju Rangoju <rajur@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c