]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
cxgb4: offload VLAN flows regardless of VLAN ethtype
authorRaju Rangoju <rajur@chelsio.com>
Thu, 23 May 2019 15:11:44 +0000 (20:41 +0530)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit8b5384453e7b9729958e39d0e03c375927fc4ca6
treec8b8de5e0fd19f89d0743b1aef215c0fcf553f20
parent4ee025a3f46a101d6915ee5d2dff7e140761838b
cxgb4: offload VLAN flows regardless of VLAN ethtype

BugLink: https://bugs.launchpad.net/bugs/1838700
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c