1b7b24389c
Async enqueue offloads large copies to DMA devices, and small copies are still performed by the CPU. However, it requires users to get enqueue completed packets by rte_vhost_poll_enqueue_completed(), even if they are completed by the CPU when rte_vhost_submit_enqueue_burst() returns. This design incurs extra overheads of tracking completed pktmbufs and function calls, thus degrading performance on small packets. This patch enhances async enqueue for small packets by enabling rte_vhost_submit_enqueue_burst() to return completed packets. Signed-off-by: Jiayu Hu <jiayu.hu@intel.com> Tested-by: Yinan Wang <yinan.wang@intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> |
||
---|---|---|
.. | ||
fd_man.c | ||
fd_man.h | ||
iotlb.c | ||
iotlb.h | ||
meson.build | ||
rte_vdpa_dev.h | ||
rte_vdpa.h | ||
rte_vhost_async.h | ||
rte_vhost_crypto.h | ||
rte_vhost.h | ||
socket.c | ||
vdpa.c | ||
version.map | ||
vhost_crypto.c | ||
vhost_user.c | ||
vhost_user.h | ||
vhost.c | ||
vhost.h | ||
virtio_crypto.h | ||
virtio_net.c |