[dpdk-dev] [PATCH v6 2/5] vhost: add unsafe API to clear packets in async vhost
Maxime Coquelin
maxime.coquelin at redhat.com
Wed Jul 21 16:23:51 CEST 2021
On 7/19/21 10:10 AM, Cheng Jiang wrote:
> Applications need to stop DMA transfers and finish all the inflight
> packets when in VM memory hot-plug case and async vhost is used. This
> patch is to provide an unsafe API to clear inflight packets which
> are submitted to DMA engine in vhost async data path.
>
> Signed-off-by: Cheng Jiang <cheng1.jiang at intel.com>
> ---
> lib/vhost/rte_vhost_async.h | 22 +++++++++
> lib/vhost/version.map | 3 ++
> lib/vhost/virtio_net.c | 93 +++++++++++++++++++++++++++----------
> 3 files changed, 94 insertions(+), 24 deletions(-)
>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list