]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Enable and disable RX CTAG and RX STAG VLAN acceleration together.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 6 Jun 2016 06:37:15 +0000 (02:37 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 00:37:25 +0000 (17:37 -0700)
commit9e4ca12dafa9d4d4fa41bcccd8df2561bc67ee90
treecb8c2d44d8f68a7a83dd8f1eeb502533a57b792a
parent993d46d491a92c44080b098d35431b55061ce2c7
bnxt_en: Enable and disable RX CTAG and RX STAG VLAN acceleration together.

Orabug: 23221795

The hardware can only be set to strip or not strip both the VLAN CTAG and
STAG.  It cannot strip one and not strip the other.  Add logic to
bnxt_fix_features() to toggle both feature flags when the user is toggling
one of them.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 5a9f6b238e59bc05afb4cdeaf3672990bf2a5309)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c