git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common/cnxk: update NIX and NPA dump functions
[dpdk.git]
/
drivers
/
common
/
cnxk
/
roc_idev_priv.h
diff --git
a/drivers/common/cnxk/roc_idev_priv.h
b/drivers/common/cnxk/roc_idev_priv.h
index
384f667
..
46eebff
100644
(file)
--- a/
drivers/common/cnxk/roc_idev_priv.h
+++ b/
drivers/common/cnxk/roc_idev_priv.h
@@
-8,6
+8,8
@@
/* Intra device related functions */
struct npa_lf;
struct roc_bphy;
/* Intra device related functions */
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;
struct idev_cfg {
uint16_t sso_pf_func;
uint16_t npa_pf_func;
@@
-18,6
+20,10
@@
struct idev_cfg {
uint16_t num_lmtlines;
uint64_t lmt_base_addr;
struct roc_bphy *bphy;
uint16_t num_lmtlines;
uint64_t lmt_base_addr;
struct roc_bphy *bphy;
+ struct roc_cpt *cpt;
+ struct roc_sso *sso;
+ struct nix_inl_dev *nix_inl_dev;
+ plt_spinlock_t nix_inl_dev_lock;
};
/* Generic */
};
/* Generic */
@@
-34,6
+40,8
@@
uint16_t idev_npa_lf_active(struct dev *dev);
/* idev sso */
void idev_sso_pffunc_set(uint16_t sso_pf_func);
uint16_t idev_sso_pffunc_get(void);
/* idev sso */
void idev_sso_pffunc_set(uint16_t sso_pf_func);
uint16_t idev_sso_pffunc_get(void);
+struct roc_sso *idev_sso_get(void);
+void idev_sso_set(struct roc_sso *sso);
/* idev lmt */
uint16_t idev_lmt_pffunc_get(void);
/* idev lmt */
uint16_t idev_lmt_pffunc_get(void);