[dpdk-dev] [PATCH v2 00/11] eventdev: move eventdev pmd specific tests into the pmd dir

Pavan Nikhilesh pbhagavatula at caviumnetworks.com
Thu Dec 14 16:01:27 CET 2017


This patchset aims to remove pmd specific unit test clutter from the common
tests directory by moving them into the respective pmd folder.

 - Patch [1/11] moves basic asserts into eal area so that they can be reused
 by other devices.
 - Patch [2/11] introduces new API that an application can use to run the self
 test.
 - Patch set [3-6/11] cleans up event_octeontx specific test, updates the
 selftest ops and provides a devarg 'selftest' to run selftest from any given
 application after probe is complete.
 - Patch set [7-9/11] cleans up event_sw specific test and updates the selftest
 ops.
 - Patch [10/11] registers selftest command to the common unit test area.

Pavan Nikhilesh (11):
  eal: add common test assert macros
  eventdev: add API to perform self test
  event/octeontx: move eventdev octeontx test to driver
  event/octeontx: modify octeontx eventdev test
  event/octeontx: update octeontx eventdev selftest ops
  event/octeontx: add selftest to device arguments
  event/sw: move eventdev sw test to driver
  event/sw: modify eventdev sw test
  event/sw: update software eventdev selftest ops
  test: register eventdev selftest
  doc: update eventdev documentation

 doc/guides/eventdevs/octeontx.rst                  |  13 +
 drivers/event/octeontx/Makefile                    |   3 +-
 .../event/octeontx/octeontx_evdev_selftest.c       | 427 +++++++++++----------
 drivers/event/octeontx/ssovf_evdev.c               |  45 +++
 drivers/event/octeontx/ssovf_evdev.h               |   6 +
 drivers/event/sw/Makefile                          |   2 +
 drivers/event/sw/sw_evdev.c                        |   2 +
 drivers/event/sw/sw_evdev.h                        |   1 +
 .../event/sw/sw_evdev_selftest.c                   |  70 ++--
 lib/librte_eal/common/Makefile                     |   2 +-
 lib/librte_eal/common/include/rte_test.h           |  97 +++++
 lib/librte_eventdev/rte_eventdev.c                 |  10 +
 lib/librte_eventdev/rte_eventdev.h                 |  12 +
 lib/librte_eventdev/rte_eventdev_pmd.h             |  11 +
 lib/librte_eventdev/rte_eventdev_version.map       |   6 +
 test/test/Makefile                                 |   2 -
 test/test/test_eventdev.c                          |   7 +
 17 files changed, 485 insertions(+), 231 deletions(-)
 rename test/test/test_eventdev_octeontx.c => drivers/event/octeontx/octeontx_evdev_selftest.c (78%)
 rename test/test/test_eventdev_sw.c => drivers/event/sw/sw_evdev_selftest.c (99%)
 create mode 100644 lib/librte_eal/common/include/rte_test.h

--
2.14.1



More information about the dev mailing list