cxgb4: offload VLAN flows regardless of VLAN ethtype
authorRaju Rangoju <rajur@chelsio.com>
Thu, 23 May 2019 15:11:44 +0000 (20:41 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 May 2019 16:38:54 +0000 (09:38 -0700)
commitb5730061d1056abf317caea823b94d6e12b5b4f6
tree5a834824c86dc7e55e08b5f1d9e819a40f2c54fd
parentd2daa127ed51ac41217962d2b8f9c00be6e9c0d9
cxgb4: offload VLAN flows regardless of VLAN ethtype

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>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c