[dpdk-dev] [PATCH v2 0/4] vhost: support async dequeue for split ring

Maxime Coquelin maxime.coquelin at redhat.com
Fri Jun 18 16:10:10 CEST 2021


Hi,

It seems the series does not build:
http://mails.dpdk.org/archives/test-report/2021-June/199414.html

Could you please look at it?

Thanks,
Maxime

On 6/18/21 10:03 PM, Wenwu Ma wrote:
> This patch implements asynchronous dequeue data path for split ring.
> A new asynchronous dequeue function is introduced. With this function,
> the application can try to receive packets from the guest with
> offloading large copies to the DMA engine, thus saving precious CPU
> cycles.
> 
> v2:
> - Refactor vhost datapath as preliminary patch for this series.
> - The change of using new API in examples/vhost is put into a
>   dedicated patch.
> - Check queue_id value before using it.
> - Async dequeue performance enhancement. 160% performance improvement
>   for v2 vs. v1.
> - Async dequeue API name change from rte_vhost_try_dequeue_burst to
>   rte_vhost_async_try_dequeue_burst.
> - The completed package updates the used ring directly.
> 
> Wenwu Ma (3):
>   examples/vhost: refactor vhost enqueue and dequeue datapaths.
>   examples/vhost: use a new API to query remaining ring space
>   examples/vhost: support vhost async dequeue data path
> 
> Yuan Wang (1):
>   vhost: support async dequeue for split ring
> 
>  doc/guides/prog_guide/vhost_lib.rst |  10 +
>  doc/guides/sample_app_ug/vhost.rst  |   9 +-
>  examples/vhost/ioat.c               |  40 +-
>  examples/vhost/ioat.h               |   4 +
>  examples/vhost/main.c               | 225 +++++++----
>  examples/vhost/main.h               |  38 +-
>  examples/vhost/virtio_net.c         |  16 +-
>  lib/vhost/rte_vhost_async.h         |  44 ++-
>  lib/vhost/version.map               |   3 +
>  lib/vhost/virtio_net.c              | 553 ++++++++++++++++++++++++++++
>  10 files changed, 839 insertions(+), 103 deletions(-)
> 



More information about the dev mailing list