5 #ifndef _RTE_VHOST_ASYNC_H_ 6 #define _RTE_VHOST_ASYNC_H_ 14 #include <rte_compat.h> 28 int rte_vhost_async_channel_register(
int vid, uint16_t queue_id);
41 int rte_vhost_async_channel_unregister(
int vid, uint16_t queue_id);
58 int rte_vhost_async_channel_register_thread_unsafe(
int vid, uint16_t queue_id);
75 int rte_vhost_async_channel_unregister_thread_unsafe(
int vid,
99 uint16_t rte_vhost_submit_enqueue_burst(
int vid, uint16_t queue_id,
100 struct rte_mbuf **pkts, uint16_t count, int16_t dma_id,
124 uint16_t rte_vhost_poll_enqueue_completed(
int vid, uint16_t queue_id,
125 struct rte_mbuf **pkts, uint16_t count, int16_t dma_id,
140 int rte_vhost_async_get_inflight(
int vid, uint16_t queue_id);
165 uint16_t rte_vhost_clear_queue_thread_unsafe(
int vid, uint16_t queue_id,
166 struct rte_mbuf **pkts, uint16_t count, int16_t dma_id,
188 int rte_vhost_async_dma_configure(int16_t dma_id, uint16_t vchan_id);