[dpdk-dev] [PATCH v2 0/4] Refactor of debug information on cryptodev tests
Pablo de Lara
pablo.de.lara.guarch at intel.com
Wed Jun 15 16:11:16 CEST 2016
The cryptodev unit tests were using the macro RTE_APP_TEST_DEBUG, which is not used
in any other tests, to dump memory for debugging purposes.
Instead, a new macro TEST_HEXDUMP will be used to dump memory (calling rte_hexdump),
when RTE_LOG_LEVEL is set to RTE_LOG_DEBUG.
This patchset depends on the patchset "rework crypto AES unit test":
http://dpdk.org/ml/archives/dev/2016-June/041572.html
Changes in v2:
- Use new TEST_HEXDUMP macro in new test_cryptodev_aes.c file.
Pablo de Lara (4):
test: remove useless hexdump include
test: fix compilation when RTE_APP_TEST_DEBUG was set
test: remove unnecessary hexdump_mbuf_data and HEXDUMP
app: add new TEST_HEXDUMP macro
app/test/test.h | 7 ++
app/test/test_cryptodev.c | 165 ++++++++++++++---------------------------
app/test/test_cryptodev_aes.c | 6 +-
app/test/test_cryptodev_perf.c | 1 -
4 files changed, 65 insertions(+), 114 deletions(-)
--
2.5.0
More information about the dev
mailing list