Xuan Ding 1419e8d9d8 vhost: add unsafe API to check in-flight packets
In async data path, when vring state changes or device is destroyed,
it is necessary to know the number of in-flight packets in DMA engine.
This patch provides a thread unsafe API to return the number of
in-flight packets for a vhost queue without using any lock.

Signed-off-by: Xuan Ding <xuan.ding@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2022-05-09 21:15:38 +02:00
..
2021-11-16 11:24:22 +01:00
2021-10-08 21:31:07 +02:00
2020-09-08 00:09:50 +02:00
2021-11-26 11:28:34 +01:00
2021-07-31 20:03:47 +02:00
2020-09-08 00:09:50 +02:00
2021-11-04 19:46:27 +01:00
2021-07-31 20:03:47 +02:00
2020-09-08 00:09:50 +02:00
2021-10-22 18:15:38 +02:00
2021-07-31 20:03:47 +02:00
2020-10-29 14:13:31 +01:00
2020-11-03 16:23:03 +01:00
2020-10-08 09:34:58 +02:00
2021-11-26 11:28:34 +01:00