mbox series

[v5,0/2] support to clear in-flight packets for async

Message ID 20220609173404.1769210-1-yuanx.wang@intel.com (mailing list archive)
Headers
Series support to clear in-flight packets for async |

Message

Wang, YuanX June 9, 2022, 5:34 p.m. UTC
  These patches support to clear in-flight packets for async dequeue
and introduce thread-safe version of this function.

v5:
- Add dma_id check

v4:
- Rebase to latest DPDK

v3:
- Rebase to latest DPDK

v2:
- Use the thread-safe version in destroy_device

v1:
- Protect vq access with splitlock

Yuan Wang (2):
  vhost: support clear in-flight packets for async dequeue
  example/vhost: support to clear in-flight packets for async dequeue

 doc/guides/prog_guide/vhost_lib.rst    |  8 ++-
 doc/guides/rel_notes/release_22_07.rst |  4 ++
 examples/vhost/main.c                  | 26 +++++--
 lib/vhost/rte_vhost_async.h            | 25 +++++++
 lib/vhost/version.map                  |  1 +
 lib/vhost/virtio_net.c                 | 93 +++++++++++++++++++++++++-
 6 files changed, 149 insertions(+), 8 deletions(-)
  

Comments

Maxime Coquelin June 17, 2022, 2:06 p.m. UTC | #1
On 6/9/22 19:34, Yuan Wang wrote:
> These patches support to clear in-flight packets for async dequeue
> and introduce thread-safe version of this function.
> 
> v5:
> - Add dma_id check
> 
> v4:
> - Rebase to latest DPDK
> 
> v3:
> - Rebase to latest DPDK
> 
> v2:
> - Use the thread-safe version in destroy_device
> 
> v1:
> - Protect vq access with splitlock
> 
> Yuan Wang (2):
>    vhost: support clear in-flight packets for async dequeue
>    example/vhost: support to clear in-flight packets for async dequeue
> 
>   doc/guides/prog_guide/vhost_lib.rst    |  8 ++-
>   doc/guides/rel_notes/release_22_07.rst |  4 ++
>   examples/vhost/main.c                  | 26 +++++--
>   lib/vhost/rte_vhost_async.h            | 25 +++++++
>   lib/vhost/version.map                  |  1 +
>   lib/vhost/virtio_net.c                 | 93 +++++++++++++++++++++++++-
>   6 files changed, 149 insertions(+), 8 deletions(-)
> 


Applied to dpdk-next-virtio/main.

Thanks,
Maxime