common/cnxk: support SSO device
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Tue, 6 Apr 2021 14:41:37 +0000 (20:11 +0530)
committerJerin Jacob <jerinj@marvell.com>
Fri, 9 Apr 2021 06:32:24 +0000 (08:32 +0200)
commit9b727f851127adac71ce680cac14687fd8cf8f5b
treeb0cc6df3ee82dcd4da63dd00ba9048f962d158ed
parenta07f7ced436defb48596eabc189160228c2990b0
common/cnxk: support SSO device

Add SSO device init and fini which attach SSO LF resources to the
RVU PF/VF and SSO HWS and HWGRP LFs alloc, free.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
13 files changed:
drivers/common/cnxk/meson.build
drivers/common/cnxk/roc_api.h
drivers/common/cnxk/roc_idev.c
drivers/common/cnxk/roc_idev_priv.h
drivers/common/cnxk/roc_nix.c
drivers/common/cnxk/roc_platform.c
drivers/common/cnxk/roc_platform.h
drivers/common/cnxk/roc_priv.h
drivers/common/cnxk/roc_sso.c [new file with mode: 0644]
drivers/common/cnxk/roc_sso.h [new file with mode: 0644]
drivers/common/cnxk/roc_sso_priv.h [new file with mode: 0644]
drivers/common/cnxk/roc_utils.c
drivers/common/cnxk/version.map