common/cnxk: support NIX inline device init and fini
[dpdk.git] / drivers / common / cnxk / roc_idev_priv.h
index 84e6f1e..2c8309b 100644 (file)
@@ -9,6 +9,7 @@
 struct npa_lf;
 struct roc_bphy;
 struct roc_cpt;
+struct nix_inl_dev;
 struct idev_cfg {
        uint16_t sso_pf_func;
        uint16_t npa_pf_func;
@@ -20,6 +21,8 @@ struct idev_cfg {
        uint64_t lmt_base_addr;
        struct roc_bphy *bphy;
        struct roc_cpt *cpt;
+       struct nix_inl_dev *nix_inl_dev;
+       plt_spinlock_t nix_inl_dev_lock;
 };
 
 /* Generic */