52 #define RTE_PDUMP_ALL_QUEUES UINT16_MAX
55 RTE_PDUMP_FLAG_RX = 1,
56 RTE_PDUMP_FLAG_TX = 2,
58 RTE_PDUMP_FLAG_RXTX = (RTE_PDUMP_FLAG_RX|RTE_PDUMP_FLAG_TX)
61 enum rte_pdump_socktype {
62 RTE_PDUMP_SOCKET_SERVER = 1,
63 RTE_PDUMP_SOCKET_CLIENT = 2
int rte_pdump_init(const char *path)
int rte_pdump_uninit(void)
int rte_pdump_enable(uint16_t port, uint16_t queue, uint32_t flags, struct rte_ring *ring, struct rte_mempool *mp, void *filter)
int rte_pdump_disable_by_deviceid(char *device_id, uint16_t queue, uint32_t flags)
int rte_pdump_enable_by_deviceid(char *device_id, uint16_t queue, uint32_t flags, struct rte_ring *ring, struct rte_mempool *mp, void *filter)
int rte_pdump_set_socket_dir(const char *path, enum rte_pdump_socktype type)
int rte_pdump_disable(uint16_t port, uint16_t queue, uint32_t flags)