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

Adding npc parsing API support to parse different patterns and actions.
Based on the pattern and actions ltype values will be chosen and
mcam data will be configured at perticular offsets.

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