]> 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)
commit2ed50bacc28f12e9375da6729edad077a8927c04
tree049ac6eb0a3e5f9ef42044e81e5e479fc4846a28
parentc36f91d2d6be8b7686b8f1532569660f3dc5cb0f
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]