5 #ifndef _RTE_VHOST_ASYNC_H_
6 #define _RTE_VHOST_ASYNC_H_
83 uint16_t max_packets);
101 uint32_t async_inorder:1;
103 uint32_t async_threshold:12;
128 int rte_vhost_async_channel_register(
int vid, uint16_t queue_id,
142 int rte_vhost_async_channel_unregister(
int vid, uint16_t queue_id);
171 uint16_t rte_vhost_submit_enqueue_burst(
int vid, uint16_t queue_id,
172 struct rte_mbuf **pkts, uint16_t count,
173 struct rte_mbuf **comp_pkts, uint32_t *comp_count);
192 uint16_t rte_vhost_poll_enqueue_completed(
int vid, uint16_t queue_id,
193 struct rte_mbuf **pkts, uint16_t count);
uint32_t(* transfer_data)(int vid, uint16_t queue_id, struct rte_vhost_async_desc *descs, struct rte_vhost_async_status *opaque_data, uint16_t count)
uint32_t(* check_completed_copies)(int vid, uint16_t queue_id, struct rte_vhost_async_status *opaque_data, uint16_t max_packets)
struct rte_vhost_iov_iter * dst
struct rte_vhost_iov_iter * src
uintptr_t * src_opaque_data
uintptr_t * dst_opaque_data