git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ipc: end multiprocess thread during cleanup
[dpdk.git]
/
lib
/
vhost
/
rte_vhost_async.h
diff --git
a/lib/vhost/rte_vhost_async.h
b/lib/vhost/rte_vhost_async.h
index
4ea5cfa
..
a87ea6b
100644
(file)
--- a/
lib/vhost/rte_vhost_async.h
+++ b/
lib/vhost/rte_vhost_async.h
@@
-26,14
+26,6
@@
struct rte_vhost_iov_iter {
unsigned long nr_segs;
};
unsigned long nr_segs;
};
-/**
- * dma transfer descriptor
- */
-struct rte_vhost_async_desc {
- /* memory iov_iter */
- struct rte_vhost_iov_iter *iter;
-};
-
/**
* dma transfer status
*/
/**
* dma transfer status
*/
@@
-55,17
+47,17
@@
struct rte_vhost_async_channel_ops {
* id of vhost device to perform data copies
* @param queue_id
* queue id to perform data copies
* id of vhost device to perform data copies
* @param queue_id
* queue id to perform data copies
- * @param
descs
- * an array of
DMA transfer memory descrip
tors
+ * @param
iov_iter
+ * an array of
IOV itera
tors
* @param opaque_data
* opaque data pair sending to DMA engine
* @param count
* number of elements in the "descs" array
* @return
* @param opaque_data
* opaque data pair sending to DMA engine
* @param count
* number of elements in the "descs" array
* @return
- * number of
desc
s processed, negative value means error
+ * number of
IOV iterator
s processed, negative value means error
*/
int32_t (*transfer_data)(int vid, uint16_t queue_id,
*/
int32_t (*transfer_data)(int vid, uint16_t queue_id,
- struct rte_vhost_
async_desc *descs
,
+ struct rte_vhost_
iov_iter *iov_iter
,
struct rte_vhost_async_status *opaque_data,
uint16_t count);
/**
struct rte_vhost_async_status *opaque_data,
uint16_t count);
/**