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)
commita89cdd8e7c741eee80b105acddb04cda9f40ef49
tree8bbd0d0ec4544f4130518010d39f2a62946ea2a5
parentbe7e1b334be4566926322db7bfc30ad3a805f9bd
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