DPDK patches and discussions
 help / color / mirror / Atom feed
* [RFC 0/2] add unsafe API to get inflight packets
@ 2022-02-16  7:04 xuan.ding
  2022-02-16  7:04 ` [RFC 1/2] vhost: add unsafe API to check " xuan.ding
  2022-02-16  7:04 ` [RFC 2/2] examples/vhost: use " xuan.ding
  0 siblings, 2 replies; 6+ messages in thread
From: xuan.ding @ 2022-02-16  7:04 UTC (permalink / raw)
  To: maxime.coquelin, chenbo.xia; +Cc: dev, jiayu.hu, sunil.pai.g, Xuan Ding

From: Xuan Ding <xuan.ding@intel.com>

This patchset introduces an unsafe API to get the number of inflight
packets in DMA engine in some situations. Like vring state changes or
device is destroyed. Compared with rte_vhost_async_get_inflight(),
this is a lock free version.

Xuan Ding (2):
  vhost: add unsafe API to check inflight packets
  examples/vhost: use API to check inflight packets

 doc/guides/prog_guide/vhost_lib.rst    |  5 +++++
 doc/guides/rel_notes/release_22_03.rst |  4 ++++
 examples/vhost/main.c                  | 28 ++++++++++++++------------
 examples/vhost/main.h                  |  1 -
 lib/vhost/rte_vhost_async.h            | 14 +++++++++++++
 lib/vhost/version.map                  |  1 +
 lib/vhost/vhost.c                      | 26 ++++++++++++++++++++++++
 7 files changed, 65 insertions(+), 14 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-03-29  2:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-16  7:04 [RFC 0/2] add unsafe API to get inflight packets xuan.ding
2022-02-16  7:04 ` [RFC 1/2] vhost: add unsafe API to check " xuan.ding
2022-03-28 15:05   ` Maxime Coquelin
2022-03-29  2:21     ` Ding, Xuan
2022-02-16  7:04 ` [RFC 2/2] examples/vhost: use " xuan.ding
2022-03-28 15:19   ` Maxime Coquelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).