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)
commit21e6699e5cd60f634002ecc6b60a690ab9c21947
tree049ac6eb0a3e5f9ef42044e81e5e479fc4846a28
parent42349661780e893537205f9c4c27b1bae060d96a
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]