]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: don't try to offload VLAN 'modify' action
authorDavide Caratti <dcaratti@redhat.com>
Wed, 19 Sep 2018 17:01:37 +0000 (19:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2018 18:25:54 +0000 (11:25 -0700)
commit9408e8c7e5277e9509718155d115c8ffe9a687d2
tree37498039a71b1039c72e4a8d776380480187aa87
parenteee99693ceacd57464a8f241f410421c63e38138
bnxt_en: don't try to offload VLAN 'modify' action

bnxt offload code currently supports only 'push' and 'pop' operation: let
.ndo_setup_tc() return -EOPNOTSUPP if VLAN 'modify' action is configured.

Fixes: e34283d1e029 ("bnxt_en: bnxt: add TC flower filter offload support")
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Acked-by: Sathya Perla <sathya.perla@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c