]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-pf: Allow VLAN priority also in ntuple filters
authorSubbaraya Sundeep <sbhatta@marvell.com>
Wed, 18 Aug 2021 06:42:55 +0000 (12:12 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Aug 2021 10:29:11 +0000 (11:29 +0100)
commit48910fa2ec25b907bb2c461f891b9086b0b971ca
treeee057371f8aafe8c54ae96f7c7540fdb83b19092
parent04bbd1eef6af202f3e9b66d1be21c43b4e278b1b
octeontx2-pf: Allow VLAN priority also in ntuple filters

VLAN TCI is a 16 bit field which includes Priority(3 bits),
CFI(1 bit) and VID(12 bits). Currently ntuple filters support
installing rules to steer packets based on VID only.
This patch extends that support such that filters can
be installed for entire VLAN TCI.

Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c