common/cnxk: add NPC helper API
authorKiran Kumar K <kirankumark@marvell.com>
Tue, 6 Apr 2021 14:41:33 +0000 (20:11 +0530)
committerJerin Jacob <jerinj@marvell.com>
Fri, 9 Apr 2021 06:32:24 +0000 (08:32 +0200)
commit665b6a7400bf316407ddfd8b553a44494f457792
tree554355556eccbad7f03850558519a66164cf8c90
parent2199f5cdbe5200dd6ebecbc9bb47aae80ffc9f00
common/cnxk: add NPC helper API

Adding NPC helper APIs to manage MCAM like pre allocating the mcam,
configuring the rules, shifting mcam rules and preparing the data for
mcam based on KEX.

Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
drivers/common/cnxk/meson.build
drivers/common/cnxk/roc_npc_priv.h
drivers/common/cnxk/roc_npc_utils.c [new file with mode: 0644]