octeontx2-pf: Add support for unicast MAC address filtering
authorHariprasad Kelam <hkelam@marvell.com>
Sat, 14 Nov 2020 19:52:56 +0000 (01:22 +0530)
committerJakub Kicinski <kuba@kernel.org>
Tue, 17 Nov 2020 21:48:20 +0000 (13:48 -0800)
commit63ee51575f6c4a070ffed059b9caa6e4645f3872
treecbe72f76419a604aa78417681c5b68f3af7733a7
parentf0a1913f8a6f947531c3042f9d6524946e661b57
octeontx2-pf: Add support for unicast MAC address filtering

Add unicast MAC address filtering support using install flow
message. Total of 8 MCAM entries are allocated for adding
unicast mac filtering rules. If the MCAM allocation fails,
the unicast filtering support will not be advertised.

Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Naveen Mamindlapalli <naveenm@marvell.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c