eventdev: atomic tests to test-eventdev app
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v10 Latest3 patches 1 replyIn review
- v93 patches 3 repliesSuperseded
- v82 of 3 patches 0 repliesSuperseded
Earlier versions · 7
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v7 RFC | 4 patches | 2 replies | Superseded | |
| v6 RFC | 2 patches | 3 replies | Superseded | |
| v5 RFC | 2 patches | 2 replies | Superseded | |
| v4 RFC | 1 patch | 1 reply | Superseded | |
| v3 RFC | 1 patch | 0 replies | Superseded | |
| v2 RFC | 1 patch | 2 replies | Superseded | |
| v1 RFC | 1 patch | 3 replies | Superseded |
Changes in v10 from the cover letter
* No changes.
Patches in v10 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | eventdev: atomic common for test-eventdev appapp/ app/ app/ +2 more | +238 | 0 replies | |
| 2/3 | eventdev: add atomic queue test to test-evnetdev appapp/ app/ doc/ +1 more | +1915 | 0 replies | |
| 3/3 | eventdev: add atomic atq to test-eventdev appapp/ app/ doc/ +1 more | +1985 | 1 reply |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Pavan Nikhilesh |
|---|---|
| 1/3 | T-b |
| 2/3 | T-b |
| 3/3 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v10 0/3] eventdev: atomic tests to test-eventdev app
Add atomic tests to the test-eventdev app which correspond to the order tests but use exclusively atomic queues.
The test detects if port maintenance is required, and so they are compatible with event devices such as the distributed software eventdev.
To verify atomicity, a spinlock is used for each combination of stage and flow. It is acquired whenever an event is dequeued for processing and released when processing is finished.
The tests will fail if a port attempts to acquire a lock which is already held.
Luka Jankovic (3):
eventdev: atomic common for test-eventdev app
eventdev: add atomic queue test to test-evnetdev app
eventdev: add atomic atq to test-eventdev app
app/test-eventdev/evt_common.h | 9 + app/test-eventdev/meson.build | 3 + app/test-eventdev/test_atomic_atq.c | 220 +++ app/test-eventdev/test_atomic_common.c | 136 ++ app/test-eventdev/test_atomic_common.h | 87 + app/test-eventdev/test_atomic_queue.c | 234 +++ doc/guides/rel_notes/release_25_03.rst | 5 + .../tools/img/eventdev_atomic_atq_test.svg | 1588 +++++++++++++++ .../tools/img/eventdev_atomic_queue_test.svg | 1701 +++++++++++++++++ doc/guides/tools/testeventdev.rst | 155 ++ 10 files changed, 4138 insertions(+) create mode 100644 app/test-eventdev/test_atomic_atq.c create mode 100644 app/test-eventdev/test_atomic_common.c create mode 100644 app/test-eventdev/test_atomic_common.h create mode 100644 app/test-eventdev/test_atomic_queue.c create mode 100644 doc/guides/tools/img/eventdev_atomic_atq_test.svg create mode 100644 doc/guides/tools/img/eventdev_atomic_queue_test.svg
---
v10:
* No changes.
v9:
* Fixed incorrect patch.
v8:
* Add copyright notice.
* Update changelog.
* Prepare for merge.
v7:
* Refactor common atomic test functionality into separate common file.
* Implement atomic atq.
v6:
* Revert the use of event.u64 to mbufs as the Marvell CNXK platform assumes event.u64 to be 8-byte aligned, which causes the test to fail.
* Clarified deadlock error message.
v5:
* Updated documentation for dpdk-test-eventdev
v4:
* Fix code style issues.
* Remove unused imports.
v3:
* Use struct to avoid bit operations when accessing event u64.
* Changed __rte_always_inline to inline for processing stages.
* Introduce idle timeout constant.
* Formatting and cleanup.
v2:
* Changed to only check queue, flow combination, not port, queue, flow.
* Lock is only held when a packet is processed.
* Utilize event u64 instead of mbuf.
* General cleanup.
---
2.34.1