]> 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)
commit6e2abf75d56d4bc455a5c46f35270e8684cd5a8f
tree8bbd0d0ec4544f4130518010d39f2a62946ea2a5
parent39e0e1fb5b3ec03e8a6c98698c5002da3efeb368
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