]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: impose mandatory VLAN usage when non-zero TAG ID
authorCasey Leedom <leedom@chelsio.com>
Fri, 7 Sep 2018 10:29:33 +0000 (15:59 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Sep 2018 06:06:07 +0000 (23:06 -0700)
commitc3357d98943f63cd8568aeafaeb5f19b0a868b60
tree8bbd0d0ec4544f4130518010d39f2a62946ea2a5
parentd82b8ba13284f69a74d5a17cbadcd072b498e92c
cxgb4: impose mandatory VLAN usage when non-zero TAG ID

When a non-zero VLAN Tag ID is passed to t4_set_vlan_acl()
then impose mandatory VLAN Usage with that VLAN ID.
I.e any other VLAN ID should result in packets getting
dropped.

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h