]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:53:26 +0000 (19:53 -0600)
commit2b21447d6245eae1319e03c90ea09ff2284d0f06
tree5789b86fad33c4bd42eb9a663e0c322f8a3c5983
parent1acefa7b1cfc62a1c13c4ab2424c9693c39a0f67
bnxt_en: don't try to offload VLAN 'modify' action

BugLink: https://bugs.launchpad.net/bugs/1836426
[ Upstream commit 8c6ec3613e7b0aade20a3196169c0bab32ed3e3f ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c