5#ifndef _RTE_VHOST_ASYNC_H_
6#define _RTE_VHOST_ASYNC_H_
82 uint16_t max_packets);
89 RTE_VHOST_ASYNC_INORDER = 1U << 0,
115int rte_vhost_async_channel_register(
int vid, uint16_t queue_id,
130int rte_vhost_async_channel_unregister(
int vid, uint16_t queue_id);
151int rte_vhost_async_channel_register_thread_unsafe(
int vid, uint16_t queue_id,
170int rte_vhost_async_channel_unregister_thread_unsafe(
int vid,
190uint16_t rte_vhost_submit_enqueue_burst(
int vid, uint16_t queue_id,
191 struct rte_mbuf **pkts, uint16_t count);
210uint16_t rte_vhost_poll_enqueue_completed(
int vid, uint16_t queue_id,
211 struct rte_mbuf **pkts, uint16_t count);
225int rte_vhost_async_get_inflight(
int vid, uint16_t queue_id);
246uint16_t rte_vhost_clear_queue_thread_unsafe(
int vid, uint16_t queue_id,
247 struct rte_mbuf **pkts, uint16_t count);
int32_t(* transfer_data)(int vid, uint16_t queue_id, struct rte_vhost_iov_iter *iov_iter, struct rte_vhost_async_status *opaque_data, uint16_t count)
int32_t(* check_completed_copies)(int vid, uint16_t queue_id, struct rte_vhost_async_status *opaque_data, uint16_t max_packets)
uintptr_t * dst_opaque_data
uintptr_t * src_opaque_data
struct rte_vhost_iovec * iov