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
net/mlx5: fix meter policy flow match item
[dpdk.git]
/
drivers
/
event
/
cnxk
/
cnxk_eventdev.h
diff --git
a/drivers/event/cnxk/cnxk_eventdev.h
b/drivers/event/cnxk/cnxk_eventdev.h
index
1c61063
..
668e51d
100644
(file)
--- a/
drivers/event/cnxk/cnxk_eventdev.h
+++ b/
drivers/event/cnxk/cnxk_eventdev.h
@@
-81,6
+81,10
@@
struct cnxk_sso_evdev {
uint64_t nb_xaq_cfg;
rte_iova_t fc_iova;
struct rte_mempool *xaq_pool;
uint64_t nb_xaq_cfg;
rte_iova_t fc_iova;
struct rte_mempool *xaq_pool;
+ uint64_t adptr_xae_cnt;
+ uint16_t tim_adptr_ring_cnt;
+ uint16_t *timer_adptr_rings;
+ uint64_t *timer_adptr_sz;
/* Dev args */
uint32_t xae_cnt;
uint8_t qos_queue_cnt;
/* Dev args */
uint32_t xae_cnt;
uint8_t qos_queue_cnt;
@@
-159,6
+163,15
@@
struct cnxk_sso_hws_cookie {
bool configured;
} __rte_cache_aligned;
bool configured;
} __rte_cache_aligned;
+static inline int
+parse_kvargs_flag(const char *key, const char *value, void *opaque)
+{
+ RTE_SET_USED(key);
+
+ *(uint8_t *)opaque = !!atoi(value);
+ return 0;
+}
+
static inline int
parse_kvargs_value(const char *key, const char *value, void *opaque)
{
static inline int
parse_kvargs_value(const char *key, const char *value, void *opaque)
{
@@
-181,7
+194,10
@@
cnxk_sso_hws_get_cookie(void *ws)
}
/* Configuration functions */
}
/* Configuration functions */
+int cnxk_sso_xae_reconfigure(struct rte_eventdev *event_dev);
int cnxk_sso_xaq_allocate(struct cnxk_sso_evdev *dev);
int cnxk_sso_xaq_allocate(struct cnxk_sso_evdev *dev);
+void cnxk_sso_updt_xae_cnt(struct cnxk_sso_evdev *dev, void *data,
+ uint32_t event_type);
/* Common ops API. */
int cnxk_sso_init(struct rte_eventdev *event_dev);
/* Common ops API. */
int cnxk_sso_init(struct rte_eventdev *event_dev);