DPDK
21.11.8
|
#include <rte_vhost_async.h>
Data Fields | |
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) |
dma operation callbacks to be implemented by applications
Definition at line 46 of file rte_vhost_async.h.
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) |
instruct async engines to perform copies for a batch of packets
vid id of vhost device to perform data copies queue_id queue id to perform data copies iov_iter an array of IOV iterators opaque_data opaque data pair sending to DMA engine count number of elements in the "descs" array
Definition at line 63 of file rte_vhost_async.h.
int32_t(* check_completed_copies) (int vid, uint16_t queue_id, struct rte_vhost_async_status *opaque_data, uint16_t max_packets) |
check copy-completed packets from the async engine vid id of vhost device to check copy completion queue_id queue id to check copy completion opaque_data buffer to receive the opaque data pair from DMA engine max_packets max number of packets could be completed
Definition at line 80 of file rte_vhost_async.h.