Skip to content

add unit tests for bitrate, latency and pdump libraries

Reshma Pattan dpdk-dev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest5 patches 6 repliesIn review
  2. v95 patches 2 repliesSuperseded

Patches in v10 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5test: add helper functions for tests using ring-PMD Rx/Txtest/test/Makefile test/test/sample_packet_forward.c test/test/sample_packet_forward.h+156 -00 replies
2/5test: add unit tests for bitrate librarytest/test/Makefile test/test/test_bitratestats.c+230 -00 replies
3/5test: add unit tests for latencystats librarytest/test/Makefile test/test/test_latencystats.c+230 -00 replies
4/5test: add unit test for pdump librarytest/test/Makefile test/test/process.h test/test/test.c +2 more+283 -00 replies
5/5autotest: add new unit tests to autotest listtest/test/autotest_data.py+18 -00 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchReshma PattanRemy HortonAnatoly Burakov
SeriesR-b A-b R-b A-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b A-b R-b R-b R-b A-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b
1/5R-b R-b
2/5R-b R-b
3/5R-b
4/5R-b
5/5

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

Read the v10 thread

Cover letter [PATCH v10 0/5] add unit tests for bitrate, latency and pdump libraries

From: Reshma Pattan <[email protected]>

1/5: add helper functions for tests using ring-PMD Rx/Tx 2/5: unit test cases added for bitrate library 3/5: unit test cases added for latencystats library 4/5: unit test cases added for pdump library 5/5: added new unit tests to autotest list

Patches 2/5,3/5 depends on 1/5
Patch 4/5 depends on 1/5 and the below patch http://patches.dpdk.org/patch/43354/

---
v10: fixed clang compiler issues and freed latency stats memzone in latency stats unit tests.
v9: rebased ontop of latest autotest changes and added new tests to the autotest list
v8: renamed commit headline and freed the metrics memzone for bitrate ut
v7: removed unused macros and corrected the comment
v6: updated ring variable appropriately
v5: rebased, freed pools and rings, created common patch set
---

Naga Suresh Somarowthu (4):
test: add helper functions for tests using ring-PMD Rx/Tx
test: add unit tests for bitrate library
test: add unit tests for latencystats library
test: add unit test for pdump library

Reshma Pattan (1):
autotest: add new unit tests to autotest list

 test/test/Makefile                |   9 ++
 test/test/autotest_data.py        |  18 +++
 test/test/process.h               |  12 ++
 test/test/sample_packet_forward.c | 115 +++++++++++++++++++
 test/test/sample_packet_forward.h |  40 +++++++
 test/test/test.c                  |   2 +
 test/test/test_bitratestats.c     | 229 +++++++++++++++++++++++++++++++++++++
 test/test/test_latencystats.c     | 229 +++++++++++++++++++++++++++++++++++++
 test/test/test_pdump.c            | 232 ++++++++++++++++++++++++++++++++++++++
 test/test/test_pdump.h            |  31 +++++
 10 files changed, 917 insertions(+)
 create mode 100644 test/test/sample_packet_forward.c
 create mode 100644 test/test/sample_packet_forward.h
 create mode 100644 test/test/test_bitratestats.c
 create mode 100644 test/test/test_latencystats.c
 create mode 100644 test/test/test_pdump.c
 create mode 100644 test/test/test_pdump.h
Signature · 1 line
2.14.4