]> git.ipfire.org Git - thirdparty/linux.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)
commitaee512249190b51599a451e0d151f9335a57d6cc
tree8267ed1c7f9844a60e23f51043d56251a0c3c173
parent99b8e5479d499bb572538f0f290e720315b78f61
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