Skip to content

example and test cases optimizations

Phil Yang dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 5 repliesIn review
  2. v33 patches 3 repliesSuperseded
  3. v23 patches 7 repliesSuperseded

Changes in v4 from the cover letter

packet_ordering: Fixed -Wmissing-braces issue for clang build. (Thomas Monjalon)

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3packet_ordering: add statistics for each worker threaddoc/guides/sample_app_ug/packet_ordering.rst examples/packet_ordering/main.c+48 -60 replies
2/3test/distributor: replace sync builtins with atomic builtinsapp/test/test_distributor.c app/test/test_distributor_perf.c+5 -42 replies
3/3test/ring_perf: replace sync builtins with atomic builtinsapp/test/test_ring_perf.c+10 -20 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchGavin HuRuifeng WangJoyce KongDharmik ThakkarHonnappa Nagarahalli
1/3R-b
2/3R-b R-b R-b R-b R-b
3/3R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v4 thread

Cover letter [dpdk-dev] [PATCH v4 0/3] example and test cases optimizations

v4:
packet_ordering: Fixed -Wmissing-braces issue for clang build. (Thomas Monjalon)

v3:
test_distributor: Remove the conditional compilation and just keep the __atomic_xxx calls. (Honnappa Nagarahalli)

v2:
1. Add per lcore statistics for each worker thread, removed __sync builtins.
2. Reimplement test_distributor with atomic one-way barrier, if C11_MEM_MODEL is enabled.
3. Reimplement test_ring_perf with atomic one-way barrier, if C11_MEM_MODEL is enabled.

v1:
Reimplement packet_ordering with __atomic one-way barrier.

Phil Yang (3):
packet_ordering: add statistics for each worker thread test/distributor: replace sync builtins with atomic builtins test/ring_perf: replace sync builtins with atomic builtins

 app/test/test_distributor.c                  |  7 ++--
 app/test/test_distributor_perf.c             |  2 +-
 app/test/test_ring_perf.c                    | 12 +++++--
 doc/guides/sample_app_ug/packet_ordering.rst |  4 ++-
 examples/packet_ordering/main.c              | 50 +++++++++++++++++++++++++---
 5 files changed, 63 insertions(+), 12 deletions(-)
Signature · 1 line
2.7.4