]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
bnxt_en: Pass complete VLAN TCI to the stack.
authorMichael Chan <michael.chan@broadcom.com>
Sat, 10 Mar 2018 04:46:06 +0000 (23:46 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Mar 2018 14:57:45 +0000 (10:57 -0400)
commited7bc602f60a653e5dea488e6917d9a75d6ac0dd
tree3b8a53a6eb067aa7eb57afdb39c2a741c8848a30
parentb9ecc3400bc418af3ba9e56ea852f4ad69c23454
bnxt_en: Pass complete VLAN TCI to the stack.

When receiving a packet with VLAN tag, pass the entire 16-bit TCI to the
stack when calling __vlan_hwaccel_put_tag().  The current code is only
passing the 12-bit tag and it is missing the priority bits.

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