DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 00/33] introduce generic eventdev test application framework
@ 2017-05-28 19:58 Jerin Jacob
  2017-05-28 19:58 ` [dpdk-dev] [PATCH 01/33] app/testeventdev: introduce dpdk-test-eventdev application Jerin Jacob
                   ` (34 more replies)
  0 siblings, 35 replies; 133+ messages in thread
From: Jerin Jacob @ 2017-05-28 19:58 UTC (permalink / raw)
  To: dev
  Cc: bruce.richardson, harry.van.haaren, hemant.agrawal, gage.eads,
	nipun.gupta, narender.vangati, nikhil.rao, gprathyusha,
	Jerin Jacob

The dpdk-test-eventdev tool is a Data Plane Development Kit (DPDK)
application that allows exercising various eventdev use cases. This
application has a generic framework to add new eventdev based test cases
to verify functionality and measure the performance parameters of DPDK
eventdev devices.

This patch set adds the infrastructure for the generic eventdev test cases
framework with four test cases.

1)perf_queue: test to measure the throughput and forward latency of eventdev
pipeline on different PMDs
2)perf_atq: functionally same as perf_queue. But using "all type queues"
eventdev infrastructure
3)order_queue: test to verify the ingress event ordering and atomic
schedule type
4)order_atq: functionally same as order_queue. But using "all types queues"
eventdev infrastructure.

The tests are verified using both HW(OCTEONTX) and SW eventdev PMDs.

We need minor changes in the API specification to run this test cases on HW PMD.
I will send those patches separately.

Since "all type queues" is not currently supported in SW implementation.
"All types queue" based tests returns "unsupported" on SW PMD.

Added detailed documentation for test operation and usage with diagrams in the
last five patches in the series.

/Jerin

This patch-set has following two checkpatch false positive errors:
-------------------------------------------------------------------------------
### app/testeventdev: update options through the command line
WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'usage', this function's name, in a string
#139: FILE: app/test-eventdev/evt_options.c:179:
+	printf("usage : %s [EAL options] -- [application options]\n", program);

WARNING:LONG_LINE: line over 80 characters
#185: FILE: app/test-eventdev/test_perf_common.c:207:
+				printf(CLGRN"\r%.3f mpps avg %.3f mpps [avg fwd latency %.3f us] "CLNRM,
-------------------------------------------------------------------------------

Guduri Prathyusha (3):
  app/testeventdev: add string parsing helpers
  app/testeventdev: update options through the command line
  doc: describe the new eventdev test application

Jerin Jacob (30):
  app/testeventdev: introduce dpdk-test-eventdev application
  app/testeventdev: define eventdev test ops
  app/testeventdev: add eventdev test registration framework
  app/testeventdev: add common helper functions
  app/testeventdev: define the test options
  app/testeventdev: add helper functions to check options
  app/testeventdev: add helper functions to dump options
  app/testeventdev: invoke the test ops
  app/testeventdev: add the signal handler
  app/testeventdev: order: add test setup and destroy
  app/testeventdev: order: add basic functions
  app/testeventdev: order: add eventdev port setup
  app/testeventdev: order: launch lcores
  app/testeventdev: add order queue test
  app/testeventdev: order queue: add worker functions
  app/testeventdev: add order "all types queue" test
  app/testeventdev: perf: add test setup and destroy
  app/testeventdev: perf: add basic functions
  app/testeventdev: perf: add opt dump and check functions
  app/testeventdev: perf: add eventdev port setup
  app/testeventdev: perf: launch lcores
  app/testeventdev: add perf queue test
  app/testeventdev: perf queue: add worker functions
  app/testeventdev: add perf "all types queue" test
  app/testeventdev: perf: add "all type queue" worker function
  doc/testeventdev: add "order queue" test details
  doc/testeventdev: add "order all types queue" test details
  doc/testeventdev: add "perf queue" test details
  doc/testeventdev: add "perf all types queue" test details
  maintainers: claim responsibility for the eventdev test app

 MAINTAINERS                                        |    6 +
 app/Makefile                                       |    4 +
 app/test-eventdev/Makefile                         |   54 +
 app/test-eventdev/evt_common.h                     |  105 +
 app/test-eventdev/evt_main.c                       |  227 ++
 app/test-eventdev/evt_options.c                    |  339 +++
 app/test-eventdev/evt_options.h                    |  274 ++
 app/test-eventdev/evt_test.c                       |   70 +
 app/test-eventdev/evt_test.h                       |  125 +
 app/test-eventdev/parser.c                         |  432 +++
 app/test-eventdev/parser.h                         |   79 +
 app/test-eventdev/test_order_atq.c                 |  232 ++
 app/test-eventdev/test_order_common.c              |  356 +++
 app/test-eventdev/test_order_common.h              |  153 +
 app/test-eventdev/test_order_queue.c               |  242 ++
 app/test-eventdev/test_perf_atq.c                  |  278 ++
 app/test-eventdev/test_perf_common.c               |  495 +++
 app/test-eventdev/test_perf_common.h               |  169 ++
 app/test-eventdev/test_perf_queue.c                |  289 ++
 config/common_base                                 |    5 +
 doc/guides/tools/img/eventdev_order_atq_test.svg   | 1576 ++++++++++
 doc/guides/tools/img/eventdev_order_queue_test.svg | 1673 ++++++++++
 doc/guides/tools/img/eventdev_perf_atq_test.svg    | 3188 ++++++++++++++++++++
 doc/guides/tools/img/eventdev_perf_queue_test.svg  | 2599 ++++++++++++++++
 doc/guides/tools/index.rst                         |    2 +-
 doc/guides/tools/testeventdev.rst                  |  461 +++
 26 files changed, 13432 insertions(+), 1 deletion(-)
 create mode 100644 app/test-eventdev/Makefile
 create mode 100644 app/test-eventdev/evt_common.h
 create mode 100644 app/test-eventdev/evt_main.c
 create mode 100644 app/test-eventdev/evt_options.c
 create mode 100644 app/test-eventdev/evt_options.h
 create mode 100644 app/test-eventdev/evt_test.c
 create mode 100644 app/test-eventdev/evt_test.h
 create mode 100644 app/test-eventdev/parser.c
 create mode 100644 app/test-eventdev/parser.h
 create mode 100644 app/test-eventdev/test_order_atq.c
 create mode 100644 app/test-eventdev/test_order_common.c
 create mode 100644 app/test-eventdev/test_order_common.h
 create mode 100644 app/test-eventdev/test_order_queue.c
 create mode 100644 app/test-eventdev/test_perf_atq.c
 create mode 100644 app/test-eventdev/test_perf_common.c
 create mode 100644 app/test-eventdev/test_perf_common.h
 create mode 100644 app/test-eventdev/test_perf_queue.c
 create mode 100644 doc/guides/tools/img/eventdev_order_atq_test.svg
 create mode 100644 doc/guides/tools/img/eventdev_order_queue_test.svg
 create mode 100644 doc/guides/tools/img/eventdev_perf_atq_test.svg
 create mode 100644 doc/guides/tools/img/eventdev_perf_queue_test.svg
 create mode 100644 doc/guides/tools/testeventdev.rst

-- 
2.13.0

^ permalink raw reply	[flat|nested] 133+ messages in thread

end of thread, other threads:[~2017-07-07  5:49 UTC | newest]

Thread overview: 133+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-28 19:58 [dpdk-dev] [PATCH 00/33] introduce generic eventdev test application framework Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 01/33] app/testeventdev: introduce dpdk-test-eventdev application Jerin Jacob
2017-06-23 12:23   ` Van Haaren, Harry
2017-05-28 19:58 ` [dpdk-dev] [PATCH 02/33] app/testeventdev: define eventdev test ops Jerin Jacob
2017-06-01 20:44   ` Eads, Gage
2017-06-23 12:27   ` Van Haaren, Harry
2017-05-28 19:58 ` [dpdk-dev] [PATCH 03/33] app/testeventdev: add eventdev test registration framework Jerin Jacob
2017-06-23 12:28   ` Van Haaren, Harry
2017-05-28 19:58 ` [dpdk-dev] [PATCH 04/33] app/testeventdev: add string parsing helpers Jerin Jacob
2017-06-23 12:30   ` Van Haaren, Harry
2017-05-28 19:58 ` [dpdk-dev] [PATCH 05/33] app/testeventdev: add common helper functions Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 06/33] app/testeventdev: define the test options Jerin Jacob
2017-06-23 13:07   ` Van Haaren, Harry
2017-07-03  7:10     ` Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 07/33] app/testeventdev: add helper functions to check options Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 08/33] app/testeventdev: add helper functions to dump options Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 09/33] app/testeventdev: update options through the command line Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 10/33] app/testeventdev: invoke the test ops Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 11/33] app/testeventdev: add the signal handler Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 12/33] app/testeventdev: order: add test setup and destroy Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 13/33] app/testeventdev: order: add basic functions Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 14/33] app/testeventdev: order: add eventdev port setup Jerin Jacob
2017-06-23 12:36   ` Van Haaren, Harry
2017-06-23 12:45     ` Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 15/33] app/testeventdev: order: launch lcores Jerin Jacob
2017-06-01 20:54   ` Eads, Gage
2017-05-28 19:58 ` [dpdk-dev] [PATCH 16/33] app/testeventdev: add order queue test Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 17/33] app/testeventdev: order queue: add worker functions Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 18/33] app/testeventdev: add order "all types queue" test Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 19/33] app/testeventdev: perf: add test setup and destroy Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 20/33] app/testeventdev: perf: add basic functions Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 21/33] app/testeventdev: perf: add opt dump and check functions Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 22/33] app/testeventdev: perf: add eventdev port setup Jerin Jacob
2017-06-23 12:42   ` Van Haaren, Harry
2017-05-28 19:58 ` [dpdk-dev] [PATCH 23/33] app/testeventdev: perf: launch lcores Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 24/33] app/testeventdev: add perf queue test Jerin Jacob
2017-06-23 12:47   ` Van Haaren, Harry
2017-07-03  8:38     ` Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 25/33] app/testeventdev: perf queue: add worker functions Jerin Jacob
2017-06-01 21:04   ` Eads, Gage
2017-06-02 12:21     ` Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 26/33] app/testeventdev: add perf "all types queue" test Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 27/33] app/testeventdev: perf: add "all type queue" worker function Jerin Jacob
2017-05-28 19:58 ` [dpdk-dev] [PATCH 28/33] doc: describe the new eventdev test application Jerin Jacob
2017-06-23 12:53   ` Van Haaren, Harry
2017-07-03  9:48     ` Jerin Jacob
2017-06-30 14:09   ` Mcnamara, John
2017-05-28 19:58 ` [dpdk-dev] [PATCH 29/33] doc/testeventdev: add "order queue" test details Jerin Jacob
2017-06-30 14:19   ` Mcnamara, John
2017-05-28 19:58 ` [dpdk-dev] [PATCH 30/33] doc/testeventdev: add "order all types " Jerin Jacob
2017-06-30 14:23   ` Mcnamara, John
2017-06-30 14:28   ` Mcnamara, John
2017-05-28 19:58 ` [dpdk-dev] [PATCH 31/33] doc/testeventdev: add "perf " Jerin Jacob
2017-06-01 21:11   ` Eads, Gage
2017-06-02 12:10     ` Jerin Jacob
2017-06-30 14:31   ` Mcnamara, John
2017-05-28 19:58 ` [dpdk-dev] [PATCH 32/33] doc/testeventdev: add "perf all types " Jerin Jacob
2017-06-23 12:56   ` Van Haaren, Harry
2017-05-28 19:58 ` [dpdk-dev] [PATCH 33/33] maintainers: claim responsibility for the eventdev test app Jerin Jacob
2017-06-23 12:58   ` Van Haaren, Harry
2017-06-23 12:21 ` [dpdk-dev] [PATCH 00/33] introduce generic eventdev test application framework Van Haaren, Harry
2017-07-03 19:13 ` [dpdk-dev] [PATCH v2 00/34] " Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 01/34] app/testeventdev: introduce dpdk-test-eventdev application Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 02/34] app/testeventdev: define eventdev test ops Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 03/34] app/testeventdev: add eventdev test registration framework Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 04/34] app/testeventdev: add string parsing helpers Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 05/34] app/testeventdev: add common helper functions Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 06/34] app/testeventdev: define the test options Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 07/34] app/testeventdev: add helper functions to check options Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 08/34] app/testeventdev: add helper functions to dump options Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 09/34] app/testeventdev: update options through the command line Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 10/34] app/testeventdev: invoke the test ops Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 11/34] app/testeventdev: add the signal handler Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 12/34] app/testeventdev: order: add test setup and destroy Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 13/34] app/testeventdev: order: add basic functions Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 14/34] app/testeventdev: order: add eventdev port setup Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 15/34] app/testeventdev: order: launch lcores Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 16/34] app/testeventdev: add order queue test Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 17/34] app/testeventdev: order queue: add worker functions Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 18/34] app/testeventdev: add order "all types queue" test Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 19/34] app/testeventdev: perf: add test setup and destroy Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 20/34] app/testeventdev: perf: add basic functions Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 21/34] app/testeventdev: perf: add opt dump and check functions Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 22/34] app/testeventdev: perf: add eventdev port setup Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 23/34] app/testeventdev: perf: launch lcores Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 24/34] app/testeventdev: add perf queue test Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 25/34] app/testeventdev: perf queue: add worker functions Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 26/34] app/testeventdev: add perf "all types queue" test Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 27/34] app/testeventdev: perf: add "all type queue" worker function Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 28/34] doc: describe the new eventdev test application Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 29/34] doc/testeventdev: add "order queue" test details Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 30/34] doc/testeventdev: add "order all types " Jerin Jacob
2017-07-03 19:13   ` [dpdk-dev] [PATCH v2 31/34] doc/testeventdev: add "perf " Jerin Jacob
2017-07-03 19:14   ` [dpdk-dev] [PATCH v2 32/34] doc/testeventdev: add "perf all types " Jerin Jacob
2017-07-03 19:14   ` [dpdk-dev] [PATCH v2 33/34] maintainers: claim responsibility for the eventdev test app Jerin Jacob
2017-07-03 19:14   ` [dpdk-dev] [PATCH v2 34/34] doc: update release notes for dpdk-test-eventdev application Jerin Jacob
2017-07-04  4:52   ` [dpdk-dev] [PATCH v3 00/34] introduce generic eventdev test application framework Jerin Jacob
2017-07-04  4:52     ` [dpdk-dev] [PATCH v3 01/34] app/testeventdev: introduce dpdk-test-eventdev application Jerin Jacob
2017-07-04  4:52     ` [dpdk-dev] [PATCH v3 02/34] app/testeventdev: define eventdev test ops Jerin Jacob
2017-07-04  4:52     ` [dpdk-dev] [PATCH v3 03/34] app/testeventdev: add eventdev test registration framework Jerin Jacob
2017-07-04  4:52     ` [dpdk-dev] [PATCH v3 04/34] app/testeventdev: add string parsing helpers Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 05/34] app/testeventdev: add common helper functions Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 06/34] app/testeventdev: define the test options Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 07/34] app/testeventdev: add helper functions to check options Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 08/34] app/testeventdev: add helper functions to dump options Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 09/34] app/testeventdev: update options through the command line Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 10/34] app/testeventdev: invoke the test ops Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 11/34] app/testeventdev: add the signal handler Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 12/34] app/testeventdev: order: add test setup and destroy Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 13/34] app/testeventdev: order: add basic functions Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 14/34] app/testeventdev: order: add eventdev port setup Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 15/34] app/testeventdev: order: launch lcores Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 16/34] app/testeventdev: add order queue test Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 17/34] app/testeventdev: order queue: add worker functions Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 18/34] app/testeventdev: add order "all types queue" test Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 19/34] app/testeventdev: perf: add test setup and destroy Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 20/34] app/testeventdev: perf: add basic functions Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 21/34] app/testeventdev: perf: add opt dump and check functions Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 22/34] app/testeventdev: perf: add eventdev port setup Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 23/34] app/testeventdev: perf: launch lcores Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 24/34] app/testeventdev: add perf queue test Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 25/34] app/testeventdev: perf queue: add worker functions Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 26/34] app/testeventdev: add perf "all types queue" test Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 27/34] app/testeventdev: perf: add "all type queue" worker function Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 28/34] doc: describe the new eventdev test application Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 29/34] doc/testeventdev: add "order queue" test details Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 30/34] doc/testeventdev: add "order all types " Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 31/34] doc/testeventdev: add "perf " Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 32/34] doc/testeventdev: add "perf all types " Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 33/34] maintainers: claim responsibility for the eventdev test app Jerin Jacob
2017-07-04  4:53     ` [dpdk-dev] [PATCH v3 34/34] doc: update release notes for dpdk-test-eventdev application Jerin Jacob
2017-07-04 11:33       ` Mcnamara, John
2017-07-07  5:48     ` [dpdk-dev] [PATCH v3 00/34] introduce generic eventdev test application framework Jerin Jacob

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).