From: xuan.ding@intel.com
To: maxime.coquelin@redhat.com, chenbo.xia@intel.com
Cc: dev@dpdk.org, jiayu.hu@intel.com, sunil.pai.g@intel.com,
Xuan Ding <xuan.ding@intel.com>
Subject: [RFC 0/2] add unsafe API to get inflight packets
Date: Wed, 16 Feb 2022 07:04:15 +0000 [thread overview]
Message-ID: <20220216070417.9597-1-xuan.ding@intel.com> (raw)
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
next reply other threads:[~2022-02-16 7:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-16 7:04 xuan.ding [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220216070417.9597-1-xuan.ding@intel.com \
--to=xuan.ding@intel.com \
--cc=chenbo.xia@intel.com \
--cc=dev@dpdk.org \
--cc=jiayu.hu@intel.com \
--cc=maxime.coquelin@redhat.com \
--cc=sunil.pai.g@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).