]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: configure npc for cn10k to allow packets from cpt
authorVidya <vvelumuri@marvell.com>
Tue, 17 Aug 2021 04:44:53 +0000 (10:14 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Aug 2021 09:06:33 +0000 (10:06 +0100)
commitae6de57563e2f946252fef5efb3dd0a6da0dd692
tree8267ed1c7f9844a60e23f51043d56251a0c3c173
parent25aa9203085b156f5b033cb70b1b0594eddbf3d5
octeontx2-af: configure npc for cn10k to allow packets from cpt

On CN10K, the higher bits in the channel number represents the CPT
channel number. Mask out these higher bits in the npc configuration
to allow packets from cpt for parsing.

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