]> 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)
commit7f03003134d7ab0280dc1badf681910c41d9b98a
tree8267ed1c7f9844a60e23f51043d56251a0c3c173
parentc8a5afb8632d841e3b2ae8d35ade215f31738fa9
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