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: support NIX stats
[dpdk.git]
/
drivers
/
common
/
cnxk
/
roc_dev_priv.h
diff --git
a/drivers/common/cnxk/roc_dev_priv.h
b/drivers/common/cnxk/roc_dev_priv.h
index
d20b089
..
910cfb6
100644
(file)
--- a/
drivers/common/cnxk/roc_dev_priv.h
+++ b/
drivers/common/cnxk/roc_dev_priv.h
@@
-78,6
+78,7
@@
struct dev {
dev_intr_t intr;
int timer_set; /* ~0 : no alarm handling */
uint64_t hwcap;
dev_intr_t intr;
int timer_set; /* ~0 : no alarm handling */
uint64_t hwcap;
+ struct npa_lf npa;
struct mbox *mbox;
uint16_t maxvf;
struct dev_ops *ops;
struct mbox *mbox;
uint16_t maxvf;
struct dev_ops *ops;
@@
-85,6
+86,11
@@
struct dev {
bool disable_shared_lmt; /* false(default): shared lmt mode enabled */
} __plt_cache_aligned;
bool disable_shared_lmt; /* false(default): shared lmt mode enabled */
} __plt_cache_aligned;
+struct npa {
+ struct plt_pci_device *pci_dev;
+ struct dev dev;
+} __plt_cache_aligned;
+
extern uint16_t dev_rclk_freq;
extern uint16_t dev_sclk_freq;
extern uint16_t dev_rclk_freq;
extern uint16_t dev_sclk_freq;