]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Add NPC KPU profile
authorHao Zheng <hao.zheng@marvell.com>
Mon, 22 Oct 2018 17:55:51 +0000 (23:25 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2018 03:15:37 +0000 (20:15 -0700)
commitd18da0aeb3a0cb1af3d19cab339c437ed16b285a
tree049ac6eb0a3e5f9ef42044e81e5e479fc4846a28
parent68fa4acbe939aafef3d946d6a6bc735b83eddeff
octeontx2-af: Add NPC KPU profile

NPC block is responsible for parsing and forwarding
packets to different NIXLFs. NPC has 16 KPU engines
(Kangaroo parse engine) and one iKPU which represents
pkinds. Each physical port either CGX/LBK is assigned
a pkind and upon receiving a packet HW takes that port's
pkind and starts parsing as per the KPU engines config.

This patch adds header files which contain configuration
profile/array for each of the iKPU and 16 KPU engines.

Signed-off-by: Hao Zheng <hao.zheng@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/npc.h [new file with mode: 0644]
drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h [new file with mode: 0644]