common/cnxk: support NIX
authorJerin Jacob <jerinj@marvell.com>
Tue, 6 Apr 2021 14:41:09 +0000 (20:11 +0530)
committerJerin Jacob <jerinj@marvell.com>
Fri, 9 Apr 2021 06:32:24 +0000 (08:32 +0200)
commit8dcdf319dd7dc9657eaa91c5822fc80e91bb577f
tree9814b53b13da15ed9dbed3da00cee7837de995df
parent81af267893165f5d9b8e04b62664e0f9dfe36579
common/cnxk: support NIX

Add base nix support as ROC(Rest of Chip) API which will
be used by generic ETHDEV PMD(net/cnxk).

This patch adds support to device init, fini, resource
alloc and free API which sets up a ETHDEV PCI device of either
CN9K or CN10K Marvell SoC.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Signed-off-by: Satha Rao <skoteshwar@marvell.com>
12 files changed:
drivers/common/cnxk/meson.build
drivers/common/cnxk/roc_api.h
drivers/common/cnxk/roc_idev.c
drivers/common/cnxk/roc_idev.h
drivers/common/cnxk/roc_nix.c [new file with mode: 0644]
drivers/common/cnxk/roc_nix.h [new file with mode: 0644]
drivers/common/cnxk/roc_nix_priv.h [new file with mode: 0644]
drivers/common/cnxk/roc_platform.c
drivers/common/cnxk/roc_platform.h
drivers/common/cnxk/roc_priv.h
drivers/common/cnxk/roc_utils.c
drivers/common/cnxk/version.map