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)
commit8c6ec3613e7b0aade20a3196169c0bab32ed3e3f
tree37498039a71b1039c72e4a8d776380480187aa87
parent56ce3c5a50f4d8cc95361b1ec7f152006c6320d8
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: 2ae7408fedfe ("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