bnxt_en: allow firmware to disable VLAN offloads
authorEdwin Peer <edwin.peer@broadcom.com>
Wed, 8 Jul 2020 11:54:01 +0000 (07:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2020 22:21:14 +0000 (15:21 -0700)
commit1da63ddd0e155277bf613dfc7062af95d90452f2
tree71bd08fe93693771ab7c54ca5f1273ddb58943f5
parenta196e96bb68fbc7a319f45df1d529b807216a03a
bnxt_en: allow firmware to disable VLAN offloads

Bare-metal use cases require giving firmware and the embedded
application processor control over VLAN offloads. The driver should
not attempt to override or utilize this feature in such scenarios
since it will not work as expected.

Signed-off-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h