add unsafe API to get inflight packets
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest2 patches 0 repliesNew
- v52 patches 3 repliesSuperseded
- v42 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 1 patch | 2 replies | Superseded | |
| v2 | 1 patch | 0 replies | Superseded | |
| v1 | 1 patch | 2 replies | Superseded |
Changes in v6 from the cover letter
* Fixed an issue of infinite loop.
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | vhost: add unsafe API to check inflight packetsdoc/ doc/ lib/ +2 more | +53 | 0 replies | |
| 2/2 | examples/vhost: use API to check inflight packetsexamples/ examples/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.
Cover letter [dpdk-dev] [PATCH v6 0/2] add unsafe API to get inflight packets
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.
v6:
* Fixed an issue of infinite loop.
v5:
* Rebased to the lastest branch.
v4:
* Added use case for API in vhost example.
v3:
* Fixed one typo.
* Revised the doc to be more accuracy.
v2:
* Fixed some format issues.
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_21_11.rst | 5 +++++ examples/vhost/main.c | 31 ++++++++++++++------------ examples/vhost/main.h | 1 - lib/vhost/rte_vhost_async.h | 14 ++++++++++++ lib/vhost/version.map | 3 +++ lib/vhost/vhost.c | 26 +++++++++++++++++++++ 7 files changed, 70 insertions(+), 15 deletions(-)
Signature · 1 line
2.17.1