Hi Chenbo,
> -Original Message-
> From: Xia, Chenbo
> Sent: Wednesday, September 15, 2021 2:49 PM
> To: Ding, Xuan ; dev@dpdk.org;
> maxime.coque...@redhat.com
> Cc: Hu, Jiayu ; cheng.ji...@intel.com; Richardson, Bruce
> ; Pai G, Sunil
> Subject: RE: [PATCH] vhost: add unsafe API to chec
Hi Xuan,
> -Original Message-
> From: Ding, Xuan
> Sent: Thursday, September 9, 2021 1:58 PM
> To: dev@dpdk.org; maxime.coque...@redhat.com; Xia, Chenbo
>
> Cc: Hu, Jiayu ; cheng.ji...@intel.com; Richardson, Bruce
> ; Pai G, Sunil ; Ding, Xuan
>
> Subject: [PATCH] vhost: add unsafe API
In async data path, when vring state changes, it is necessary to
know the number of inflight packets in DMA engine. This patch
provides a thread unsafe API to return the number of inflight
packets without using any lock.
Signed-off-by: Xuan Ding
---
doc/guides/prog_guide/vhost_lib.rst| 5 ++
3 matches
Mail list logo