octeontx2-af: Add KPU changes to parse NGIO as separate layer
authorKiran Kumar K <kirankumark@marvell.com>
Fri, 21 Jan 2022 06:34:47 +0000 (12:04 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2022 18:12:39 +0000 (19:12 +0100)
commitf1c0163bb824d17663d748aba7dfd5c9cfc8cb82
tree6bca6c1e0d0265496d9775f2d90f8310d668f7be
parent63138001c96150b63cc39a7082b7e4885fbab6f8
octeontx2-af: Add KPU changes to parse NGIO as separate layer

[ Upstream commit 745166fcf01cecc4f5ff3defc6586868349a43f9 ]

With current KPU profile NGIO is being parsed along with CTAG as
a single layer. Because of this MCAM/ntuple rules installed with
ethertype as 0x8842 are not being hit. Adding KPU profile changes
to parse NGIO in separate ltype and CTAG in separate ltype.

Fixes: f9c49be90c05 ("octeontx2-af: Update the default KPU profile and fixes")
Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h