DPDK  20.05.0
rte_eventdev.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2016 Cavium, Inc.
3  * Copyright(c) 2016-2018 Intel Corporation.
4  * Copyright 2016 NXP
5  * All rights reserved.
6  */
7 
8 #ifndef _RTE_EVENTDEV_H_
9 #define _RTE_EVENTDEV_H_
10 
209 #ifdef __cplusplus
210 extern "C" {
211 #endif
212 
213 #include <rte_common.h>
214 #include <rte_config.h>
215 #include <rte_memory.h>
216 #include <rte_errno.h>
217 
218 #include "rte_eventdev_trace_fp.h"
219 
220 struct rte_mbuf; /* we just use mbuf pointers; no need to include rte_mbuf.h */
221 struct rte_event;
222 
223 /* Event device capability bitmap flags */
224 #define RTE_EVENT_DEV_CAP_QUEUE_QOS (1ULL << 0)
225 
230 #define RTE_EVENT_DEV_CAP_EVENT_QOS (1ULL << 1)
231 
237 #define RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED (1ULL << 2)
238 
246 #define RTE_EVENT_DEV_CAP_QUEUE_ALL_TYPES (1ULL << 3)
247 
253 #define RTE_EVENT_DEV_CAP_BURST_MODE (1ULL << 4)
254 
261 #define RTE_EVENT_DEV_CAP_IMPLICIT_RELEASE_DISABLE (1ULL << 5)
262 
272 #define RTE_EVENT_DEV_CAP_NONSEQ_MODE (1ULL << 6)
273 
282 #define RTE_EVENT_DEV_CAP_RUNTIME_PORT_LINK (1ULL << 7)
283 
288 #define RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT (1ULL << 8)
289 
294 /* Event device priority levels */
295 #define RTE_EVENT_DEV_PRIORITY_HIGHEST 0
296 
300 #define RTE_EVENT_DEV_PRIORITY_NORMAL 128
301 
305 #define RTE_EVENT_DEV_PRIORITY_LOWEST 255
306 
318 uint8_t
319 rte_event_dev_count(void);
320 
331 int
332 rte_event_dev_get_dev_id(const char *name);
333 
344 int
345 rte_event_dev_socket_id(uint8_t dev_id);
346 
351  const char *driver_name;
352  struct rte_device *dev;
383  int32_t max_num_events;
388  uint32_t event_dev_cap;
390 };
391 
407 int
408 rte_event_dev_info_get(uint8_t dev_id, struct rte_event_dev_info *dev_info);
409 
413 #define RTE_EVENT_DEV_ATTR_PORT_COUNT 0
414 
417 #define RTE_EVENT_DEV_ATTR_QUEUE_COUNT 1
418 
421 #define RTE_EVENT_DEV_ATTR_STARTED 2
422 
435 int
436 rte_event_dev_attr_get(uint8_t dev_id, uint32_t attr_id,
437  uint32_t *attr_value);
438 
439 
440 /* Event device configuration bitmap flags */
441 #define RTE_EVENT_DEV_CFG_PER_DEQUEUE_TIMEOUT (1ULL << 0)
442 
469  uint8_t nb_event_ports;
495  uint32_t event_dev_cfg;
497 };
498 
518 int
519 rte_event_dev_configure(uint8_t dev_id,
520  const struct rte_event_dev_config *dev_conf);
521 
522 
523 /* Event queue specific APIs */
524 
525 /* Event queue configuration bitmap flags */
526 #define RTE_EVENT_QUEUE_CFG_ALL_TYPES (1ULL << 0)
527 
532 #define RTE_EVENT_QUEUE_CFG_SINGLE_LINK (1ULL << 1)
533 
540  uint32_t nb_atomic_flows;
562  uint32_t event_queue_cfg;
564  uint8_t schedule_type;
569  uint8_t priority;
577 };
578 
601 int
602 rte_event_queue_default_conf_get(uint8_t dev_id, uint8_t queue_id,
603  struct rte_event_queue_conf *queue_conf);
604 
623 int
624 rte_event_queue_setup(uint8_t dev_id, uint8_t queue_id,
625  const struct rte_event_queue_conf *queue_conf);
626 
630 #define RTE_EVENT_QUEUE_ATTR_PRIORITY 0
631 
634 #define RTE_EVENT_QUEUE_ATTR_NB_ATOMIC_FLOWS 1
635 
638 #define RTE_EVENT_QUEUE_ATTR_NB_ATOMIC_ORDER_SEQUENCES 2
639 
642 #define RTE_EVENT_QUEUE_ATTR_EVENT_QUEUE_CFG 3
643 
646 #define RTE_EVENT_QUEUE_ATTR_SCHEDULE_TYPE 4
647 
668 int
669 rte_event_queue_attr_get(uint8_t dev_id, uint8_t queue_id, uint32_t attr_id,
670  uint32_t *attr_value);
671 
672 /* Event port specific APIs */
673 
689  uint16_t dequeue_depth;
695  uint16_t enqueue_depth;
708 };
709 
732 int
733 rte_event_port_default_conf_get(uint8_t dev_id, uint8_t port_id,
734  struct rte_event_port_conf *port_conf);
735 
756 int
757 rte_event_port_setup(uint8_t dev_id, uint8_t port_id,
758  const struct rte_event_port_conf *port_conf);
759 
763 #define RTE_EVENT_PORT_ATTR_ENQ_DEPTH 0
764 
767 #define RTE_EVENT_PORT_ATTR_DEQ_DEPTH 1
768 
771 #define RTE_EVENT_PORT_ATTR_NEW_EVENT_THRESHOLD 2
772 
789 int
790 rte_event_port_attr_get(uint8_t dev_id, uint8_t port_id, uint32_t attr_id,
791  uint32_t *attr_value);
792 
809 int
810 rte_event_dev_start(uint8_t dev_id);
811 
830 void
831 rte_event_dev_stop(uint8_t dev_id);
832 
833 typedef void (*eventdev_stop_flush_t)(uint8_t dev_id, struct rte_event event,
834  void *arg);
863 int
865  eventdev_stop_flush_t callback, void *userdata);
866 
878 int
879 rte_event_dev_close(uint8_t dev_id);
880 
881 /* Scheduler type definitions */
882 #define RTE_SCHED_TYPE_ORDERED 0
883 
909 #define RTE_SCHED_TYPE_ATOMIC 1
910 
928 #define RTE_SCHED_TYPE_PARALLEL 2
929 
941 /* Event types to classify the event source */
942 #define RTE_EVENT_TYPE_ETHDEV 0x0
943 
944 #define RTE_EVENT_TYPE_CRYPTODEV 0x1
945 
946 #define RTE_EVENT_TYPE_TIMER 0x2
947 
948 #define RTE_EVENT_TYPE_CPU 0x3
949 
952 #define RTE_EVENT_TYPE_ETH_RX_ADAPTER 0x4
953 
954 #define RTE_EVENT_TYPE_MAX 0x10
955 
957 /* Event enqueue operations */
958 #define RTE_EVENT_OP_NEW 0
959 
962 #define RTE_EVENT_OP_FORWARD 1
963 
970 #define RTE_EVENT_OP_RELEASE 2
971 
1008 struct rte_event {
1010  union {
1011  uint64_t event;
1013  struct {
1014  uint32_t flow_id:20;
1021  uint32_t sub_event_type:8;
1025  uint32_t event_type:4;
1029  uint8_t op:2;
1035  uint8_t rsvd:4;
1037  uint8_t sched_type:2;
1042  uint8_t queue_id;
1049  uint8_t priority;
1059  uint8_t impl_opaque;
1066  };
1067  };
1069  union {
1070  uint64_t u64;
1072  void *event_ptr;
1074  struct rte_mbuf *mbuf;
1076  };
1077 };
1078 
1079 /* Ethdev Rx adapter capability bitmap flags */
1080 #define RTE_EVENT_ETH_RX_ADAPTER_CAP_INTERNAL_PORT 0x1
1081 
1084 #define RTE_EVENT_ETH_RX_ADAPTER_CAP_MULTI_EVENTQ 0x2
1085 
1088 #define RTE_EVENT_ETH_RX_ADAPTER_CAP_OVERRIDE_FLOW_ID 0x4
1089 
1115 int
1116 rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id,
1117  uint32_t *caps);
1118 
1119 #define RTE_EVENT_TIMER_ADAPTER_CAP_INTERNAL_PORT (1ULL << 0)
1120 
1135 int
1136 rte_event_timer_adapter_caps_get(uint8_t dev_id, uint32_t *caps);
1137 
1138 /* Crypto adapter capability bitmap flag */
1139 #define RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_NEW 0x1
1140 
1146 #define RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_FWD 0x2
1147 
1153 #define RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_QP_EV_BIND 0x4
1154 
1158 #define RTE_EVENT_CRYPTO_ADAPTER_CAP_SESSION_PRIVATE_DATA 0x8
1159 
1183 int
1184 rte_event_crypto_adapter_caps_get(uint8_t dev_id, uint8_t cdev_id,
1185  uint32_t *caps);
1186 
1187 /* Ethdev Tx adapter capability bitmap flags */
1188 #define RTE_EVENT_ETH_TX_ADAPTER_CAP_INTERNAL_PORT 0x1
1189 
1209 int
1210 rte_event_eth_tx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id,
1211  uint32_t *caps);
1212 
1213 struct rte_eventdev_ops;
1214 struct rte_eventdev;
1215 
1216 typedef uint16_t (*event_enqueue_t)(void *port, const struct rte_event *ev);
1219 typedef uint16_t (*event_enqueue_burst_t)(void *port,
1220  const struct rte_event ev[], uint16_t nb_events);
1223 typedef uint16_t (*event_dequeue_t)(void *port, struct rte_event *ev,
1224  uint64_t timeout_ticks);
1227 typedef uint16_t (*event_dequeue_burst_t)(void *port, struct rte_event ev[],
1228  uint16_t nb_events, uint64_t timeout_ticks);
1231 typedef uint16_t (*event_tx_adapter_enqueue)(void *port,
1232  struct rte_event ev[], uint16_t nb_events);
1235 typedef uint16_t (*event_tx_adapter_enqueue_same_dest)(void *port,
1236  struct rte_event ev[], uint16_t nb_events);
1241 #define RTE_EVENTDEV_NAME_MAX_LEN (64)
1242 
1251 struct rte_eventdev_data {
1252  int socket_id;
1254  uint8_t dev_id;
1256  uint8_t nb_queues;
1258  uint8_t nb_ports;
1260  void **ports;
1262  struct rte_event_port_conf *ports_cfg;
1264  struct rte_event_queue_conf *queues_cfg;
1266  uint16_t *links_map;
1268  void *dev_private;
1270  uint32_t event_dev_cap;
1272  struct rte_event_dev_config dev_conf;
1274  uint8_t service_inited;
1275  /* Service initialization state */
1276  uint32_t service_id;
1277  /* Service ID*/
1278  void *dev_stop_flush_arg;
1281  RTE_STD_C11
1282  uint8_t dev_started : 1;
1285  char name[RTE_EVENTDEV_NAME_MAX_LEN];
1288  uint64_t reserved_64s[4];
1289  void *reserved_ptrs[4];
1291 
1293 struct rte_eventdev {
1294  event_enqueue_t enqueue;
1296  event_enqueue_burst_t enqueue_burst;
1298  event_enqueue_burst_t enqueue_new_burst;
1300  event_enqueue_burst_t enqueue_forward_burst;
1302  event_dequeue_t dequeue;
1304  event_dequeue_burst_t dequeue_burst;
1306  event_tx_adapter_enqueue_same_dest txa_enqueue_same_dest;
1310  event_tx_adapter_enqueue txa_enqueue;
1312  struct rte_eventdev_data *data;
1314  struct rte_eventdev_ops *dev_ops;
1316  struct rte_device *dev;
1319  RTE_STD_C11
1320  uint8_t attached : 1;
1323  uint64_t reserved_64s[4];
1324  void *reserved_ptrs[4];
1326 
1327 extern struct rte_eventdev *rte_eventdevs;
1330 static __rte_always_inline uint16_t
1331 __rte_event_enqueue_burst(uint8_t dev_id, uint8_t port_id,
1332  const struct rte_event ev[], uint16_t nb_events,
1333  const event_enqueue_burst_t fn)
1334 {
1335  const struct rte_eventdev *dev = &rte_eventdevs[dev_id];
1336 
1337 #ifdef RTE_LIBRTE_EVENTDEV_DEBUG
1338  if (dev_id >= RTE_EVENT_MAX_DEVS || !rte_eventdevs[dev_id].attached) {
1339  rte_errno = EINVAL;
1340  return 0;
1341  }
1342 
1343  if (port_id >= dev->data->nb_ports) {
1344  rte_errno = EINVAL;
1345  return 0;
1346  }
1347 #endif
1348  rte_eventdev_trace_enq_burst(dev_id, port_id, ev, nb_events, fn);
1349  /*
1350  * Allow zero cost non burst mode routine invocation if application
1351  * requests nb_events as const one
1352  */
1353  if (nb_events == 1)
1354  return (*dev->enqueue)(dev->data->ports[port_id], ev);
1355  else
1356  return fn(dev->data->ports[port_id], ev, nb_events);
1357 }
1358 
1402 static inline uint16_t
1403 rte_event_enqueue_burst(uint8_t dev_id, uint8_t port_id,
1404  const struct rte_event ev[], uint16_t nb_events)
1405 {
1406  const struct rte_eventdev *dev = &rte_eventdevs[dev_id];
1407 
1408  return __rte_event_enqueue_burst(dev_id, port_id, ev, nb_events,
1409  dev->enqueue_burst);
1410 }
1411 
1453 static inline uint16_t
1454 rte_event_enqueue_new_burst(uint8_t dev_id, uint8_t port_id,
1455  const struct rte_event ev[], uint16_t nb_events)
1456 {
1457  const struct rte_eventdev *dev = &rte_eventdevs[dev_id];
1458 
1459  return __rte_event_enqueue_burst(dev_id, port_id, ev, nb_events,
1460  dev->enqueue_new_burst);
1461 }
1462 
1504 static inline uint16_t
1505 rte_event_enqueue_forward_burst(uint8_t dev_id, uint8_t port_id,
1506  const struct rte_event ev[], uint16_t nb_events)
1507 {
1508  const struct rte_eventdev *dev = &rte_eventdevs[dev_id];
1509 
1510  return __rte_event_enqueue_burst(dev_id, port_id, ev, nb_events,
1511  dev->enqueue_forward_burst);
1512 }
1513 
1539 int
1540 rte_event_dequeue_timeout_ticks(uint8_t dev_id, uint64_t ns,
1541  uint64_t *timeout_ticks);
1542 
1609 static inline uint16_t
1610 rte_event_dequeue_burst(uint8_t dev_id, uint8_t port_id, struct rte_event ev[],
1611  uint16_t nb_events, uint64_t timeout_ticks)
1612 {
1613  struct rte_eventdev *dev = &rte_eventdevs[dev_id];
1614 
1615 #ifdef RTE_LIBRTE_EVENTDEV_DEBUG
1616  if (dev_id >= RTE_EVENT_MAX_DEVS || !rte_eventdevs[dev_id].attached) {
1617  rte_errno = EINVAL;
1618  return 0;
1619  }
1620 
1621  if (port_id >= dev->data->nb_ports) {
1622  rte_errno = EINVAL;
1623  return 0;
1624  }
1625 #endif
1626  rte_eventdev_trace_deq_burst(dev_id, port_id, ev, nb_events);
1627  /*
1628  * Allow zero cost non burst mode routine invocation if application
1629  * requests nb_events as const one
1630  */
1631  if (nb_events == 1)
1632  return (*dev->dequeue)(
1633  dev->data->ports[port_id], ev, timeout_ticks);
1634  else
1635  return (*dev->dequeue_burst)(
1636  dev->data->ports[port_id], ev, nb_events,
1637  timeout_ticks);
1638 }
1639 
1700 int
1701 rte_event_port_link(uint8_t dev_id, uint8_t port_id,
1702  const uint8_t queues[], const uint8_t priorities[],
1703  uint16_t nb_links);
1704 
1744 int
1745 rte_event_port_unlink(uint8_t dev_id, uint8_t port_id,
1746  uint8_t queues[], uint16_t nb_unlinks);
1747 
1769 int
1770 rte_event_port_unlinks_in_progress(uint8_t dev_id, uint8_t port_id);
1771 
1799 int
1800 rte_event_port_links_get(uint8_t dev_id, uint8_t port_id,
1801  uint8_t queues[], uint8_t priorities[]);
1802 
1818 int
1819 rte_event_dev_service_id_get(uint8_t dev_id, uint32_t *service_id);
1820 
1834 int
1835 rte_event_dev_dump(uint8_t dev_id, FILE *f);
1836 
1838 #define RTE_EVENT_DEV_XSTATS_NAME_SIZE 64
1839 
1844  RTE_EVENT_DEV_XSTATS_DEVICE,
1845  RTE_EVENT_DEV_XSTATS_PORT,
1846  RTE_EVENT_DEV_XSTATS_QUEUE,
1847 };
1848 
1856  char name[RTE_EVENT_DEV_XSTATS_NAME_SIZE];
1857 };
1858 
1891 int
1892 rte_event_dev_xstats_names_get(uint8_t dev_id,
1893  enum rte_event_dev_xstats_mode mode,
1894  uint8_t queue_port_id,
1895  struct rte_event_dev_xstats_name *xstats_names,
1896  unsigned int *ids,
1897  unsigned int size);
1898 
1925 int
1926 rte_event_dev_xstats_get(uint8_t dev_id,
1927  enum rte_event_dev_xstats_mode mode,
1928  uint8_t queue_port_id,
1929  const unsigned int ids[],
1930  uint64_t values[], unsigned int n);
1931 
1948 uint64_t
1949 rte_event_dev_xstats_by_name_get(uint8_t dev_id, const char *name,
1950  unsigned int *id);
1951 
1972 int
1973 rte_event_dev_xstats_reset(uint8_t dev_id,
1974  enum rte_event_dev_xstats_mode mode,
1975  int16_t queue_port_id,
1976  const uint32_t ids[],
1977  uint32_t nb_ids);
1978 
1989 int rte_event_dev_selftest(uint8_t dev_id);
1990 
1991 #ifdef __cplusplus
1992 }
1993 #endif
1994 
1995 #endif /* _RTE_EVENTDEV_H_ */
void rte_event_dev_stop(uint8_t dev_id)
uint32_t min_dequeue_timeout_ns
Definition: rte_eventdev.h:353
int rte_event_dequeue_timeout_ticks(uint8_t dev_id, uint64_t ns, uint64_t *timeout_ticks)
static uint16_t rte_event_enqueue_new_burst(uint8_t dev_id, uint8_t port_id, const struct rte_event ev[], uint16_t nb_events)
#define __rte_always_inline
Definition: rte_common.h:193
#define RTE_EVENT_DEV_XSTATS_NAME_SIZE
uint64_t u64
int rte_event_dev_attr_get(uint8_t dev_id, uint32_t attr_id, uint32_t *attr_value)
uint32_t flow_id
int rte_event_eth_tx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id, uint32_t *caps)
int rte_event_dev_stop_flush_callback_register(uint8_t dev_id, eventdev_stop_flush_t callback, void *userdata)
uint8_t priority
struct rte_device * dev
Definition: rte_eventdev.h:352
int rte_event_queue_setup(uint8_t dev_id, uint8_t queue_id, const struct rte_event_queue_conf *queue_conf)
int rte_event_queue_default_conf_get(uint8_t dev_id, uint8_t queue_id, struct rte_event_queue_conf *queue_conf)
int rte_event_port_default_conf_get(uint8_t dev_id, uint8_t port_id, struct rte_event_port_conf *port_conf)
uint32_t dequeue_timeout_ns
Definition: rte_eventdev.h:357
#define rte_errno
Definition: rte_errno.h:29
uint32_t event_type
uint32_t event_dev_cap
Definition: rte_eventdev.h:388
int rte_event_dev_socket_id(uint8_t dev_id)
uint32_t max_event_port_enqueue_depth
Definition: rte_eventdev.h:378
uint64_t rte_event_dev_xstats_by_name_get(uint8_t dev_id, const char *name, unsigned int *id)
int rte_event_timer_adapter_caps_get(uint8_t dev_id, uint32_t *caps)
int rte_event_dev_info_get(uint8_t dev_id, struct rte_event_dev_info *dev_info)
uint32_t nb_atomic_order_sequences
Definition: rte_eventdev.h:548
uint32_t nb_event_port_dequeue_depth
Definition: rte_eventdev.h:479
int rte_event_port_unlinks_in_progress(uint8_t dev_id, uint8_t port_id)
void * event_ptr
int rte_event_port_link(uint8_t dev_id, uint8_t port_id, const uint8_t queues[], const uint8_t priorities[], uint16_t nb_links)
int rte_event_queue_attr_get(uint8_t dev_id, uint8_t queue_id, uint32_t attr_id, uint32_t *attr_value)
uint8_t disable_implicit_release
Definition: rte_eventdev.h:701
rte_event_dev_xstats_mode
int rte_event_port_links_get(uint8_t dev_id, uint8_t port_id, uint8_t queues[], uint8_t priorities[])
int rte_event_dev_selftest(uint8_t dev_id)
static uint16_t rte_event_enqueue_burst(uint8_t dev_id, uint8_t port_id, const struct rte_event ev[], uint16_t nb_events)
int rte_event_dev_start(uint8_t dev_id)
int rte_event_port_setup(uint8_t dev_id, uint8_t port_id, const struct rte_event_port_conf *port_conf)
uint8_t max_event_port_dequeue_depth
Definition: rte_eventdev.h:373
int rte_event_port_attr_get(uint8_t dev_id, uint8_t port_id, uint32_t attr_id, uint32_t *attr_value)
uint32_t nb_event_port_enqueue_depth
Definition: rte_eventdev.h:487
const char * driver_name
Definition: rte_eventdev.h:351
uint8_t impl_opaque
uint8_t queue_id
static uint16_t rte_event_dequeue_burst(uint8_t dev_id, uint8_t port_id, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks)
int rte_event_dev_get_dev_id(const char *name)
uint8_t rte_event_dev_count(void)
int rte_event_dev_close(uint8_t dev_id)
int rte_event_dev_xstats_get(uint8_t dev_id, enum rte_event_dev_xstats_mode mode, uint8_t queue_port_id, const unsigned int ids[], uint64_t values[], unsigned int n)
int rte_event_dev_xstats_reset(uint8_t dev_id, enum rte_event_dev_xstats_mode mode, int16_t queue_port_id, const uint32_t ids[], uint32_t nb_ids)
#define RTE_STD_C11
Definition: rte_common.h:40
int rte_event_crypto_adapter_caps_get(uint8_t dev_id, uint8_t cdev_id, uint32_t *caps)
uint32_t dequeue_timeout_ns
Definition: rte_eventdev.h:448
int rte_event_dev_service_id_get(uint8_t dev_id, uint32_t *service_id)
#define __rte_cache_aligned
Definition: rte_common.h:367
static uint16_t rte_event_enqueue_forward_burst(uint8_t dev_id, uint8_t port_id, const struct rte_event ev[], uint16_t nb_events)
int rte_event_dev_dump(uint8_t dev_id, FILE *f)
uint8_t rsvd
uint8_t op
int32_t new_event_threshold
Definition: rte_eventdev.h:676
uint8_t max_event_priority_levels
Definition: rte_eventdev.h:367
struct rte_mbuf * mbuf
uint32_t max_dequeue_timeout_ns
Definition: rte_eventdev.h:355
uint32_t max_event_queue_flows
Definition: rte_eventdev.h:361
int rte_event_dev_configure(uint8_t dev_id, const struct rte_event_dev_config *dev_conf)
void(* eventdev_stop_flush_t)(uint8_t dev_id, struct rte_event event, void *arg)
Definition: rte_eventdev.h:833
uint32_t sub_event_type
uint8_t sched_type
uint8_t max_event_queues
Definition: rte_eventdev.h:359
uint8_t max_event_queue_priority_levels
Definition: rte_eventdev.h:363
int rte_event_port_unlink(uint8_t dev_id, uint8_t port_id, uint8_t queues[], uint16_t nb_unlinks)
int rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id, uint32_t *caps)
int rte_event_dev_xstats_names_get(uint8_t dev_id, enum rte_event_dev_xstats_mode mode, uint8_t queue_port_id, struct rte_event_dev_xstats_name *xstats_names, unsigned int *ids, unsigned int size)
uint32_t nb_event_queue_flows
Definition: rte_eventdev.h:474