common/cnxk: support NIX inline inbound and outbound setup
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Fri, 1 Oct 2021 13:40:01 +0000 (19:10 +0530)
committerJerin Jacob <jerinj@marvell.com>
Sat, 2 Oct 2021 13:44:32 +0000 (15:44 +0200)
commitee48f711f3b0a4ec14ce5377bc3f831dbc32025f
tree16dbedc163fb139070050267d0f222e4c0ad62f7
parentbbcd191ccfbac77ef773939cb5eb263bae5d0c92
common/cnxk: support NIX inline inbound and outbound setup

Add API to support setting up NIX inline inbound and
NIX inline outbound. In case of inbound, SA base is setup
on NIX PFFUNC and in case of outbound, required number of
CPT LF's are attached to NIX PFFUNC.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
14 files changed:
drivers/common/cnxk/hw/cpt.h
drivers/common/cnxk/meson.build
drivers/common/cnxk/roc_api.h
drivers/common/cnxk/roc_constants.h [new file with mode: 0644]
drivers/common/cnxk/roc_io.h
drivers/common/cnxk/roc_io_generic.h
drivers/common/cnxk/roc_nix.h
drivers/common/cnxk/roc_nix_debug.c
drivers/common/cnxk/roc_nix_inl.c [new file with mode: 0644]
drivers/common/cnxk/roc_nix_inl.h
drivers/common/cnxk/roc_nix_priv.h
drivers/common/cnxk/roc_nix_queue.c
drivers/common/cnxk/roc_npc.c
drivers/common/cnxk/version.map