[dpdk-dev] [PATCH v12 0/6] add unit tests for bitrate, latency and pdump libraries
Naga Suresh Somarowthu
naga.sureshx.somarowthu at intel.com
Fri Aug 3 14:34:52 CEST 2018
1/6: add helper functions for tests using ring-PMD Rx/Tx
2/6: unit test cases added for bitrate library
3/6: unit test cases added for latencystats library
4/6: unit test cases added for pdump library
5/6: added new unit tests to autotest list
6/6: updated maintainers for bitrate latency pdump tests
Patches 2/6, 3/6 and 4/6 depends on 1/6
Signed-off-by: Naga Suresh Somarowthu <naga.sureshx.somarowthu at intel.com>
Reviewed-by: Reshma Pattan <reshma.pattan at intel.com>
Reviewed-by: Remy Horton <remy.horton at intel.com>
Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>
Acked-by: Reshma Pattan <reshma.pattan at intel.com>
---
v12: corrected commit message for pdump unit test
v11: fixed compilation issue in centos and 32bit arch
removed memzone free as per fix in the latency library
and updated the maintainers file
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 (6):
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
autotest: add new unit tests to autotest list
maintainers: add bitrate latency pdump tests
MAINTAINERS | 10 +-
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 | 226 +++++++++++++++++++++++++++++++++++++
test/test/test_pdump.c | 232 ++++++++++++++++++++++++++++++++++++++
test/test/test_pdump.h | 31 +++++
11 files changed, 923 insertions(+), 1 deletion(-)
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
--
2.13.6
More information about the dev
mailing list