vhost: hide in-flight async structure
This patch moves async_inflight_info struct to internal header since it should not be part of the API. Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com> Reviewed-by: Jiayu Hu <jiayu.hu@intel.com>
This commit is contained in:
parent
ee8024b3d4
commit
5f89c5e1e9
@ -83,15 +83,6 @@ struct rte_vhost_async_channel_ops {
|
||||
uint16_t max_packets);
|
||||
};
|
||||
|
||||
/**
|
||||
* inflight async packet information
|
||||
*/
|
||||
struct async_inflight_info {
|
||||
struct rte_mbuf *mbuf;
|
||||
uint16_t descs; /* num of descs inflight */
|
||||
uint16_t nr_buffers; /* num of buffers inflight for packed ring */
|
||||
};
|
||||
|
||||
/**
|
||||
* async channel features
|
||||
*/
|
||||
|
@ -119,6 +119,15 @@ struct vring_used_elem_packed {
|
||||
uint32_t count;
|
||||
};
|
||||
|
||||
/**
|
||||
* inflight async packet information
|
||||
*/
|
||||
struct async_inflight_info {
|
||||
struct rte_mbuf *mbuf;
|
||||
uint16_t descs; /* num of descs inflight */
|
||||
uint16_t nr_buffers; /* num of buffers inflight for packed ring */
|
||||
};
|
||||
|
||||
struct vhost_async {
|
||||
/* operation callbacks for DMA */
|
||||
struct rte_vhost_async_channel_ops ops;
|
||||
|
Loading…
x
Reference in New Issue
Block a user