[dpdk-dev] [PATCH 0/8] app/eventdev: add event eth Rx adapter support

Pavan Nikhilesh pbhagavatula at caviumnetworks.com
Wed Oct 18 14:39:00 CEST 2017


The eventdev application uses producer lcores to inject packets as events
into the event device. This approach is suitable for doing synthetic
performance benchmarks. In most real-world scenarios the packets are
received by an Ethernet device.

The Event Ethernet Rx Adapter library enables packet transfer between
ethernet dev and event dev transparently. This patch series adds an option
'--prod_type_ethdev' to configure the attached Ethernet devices as Rx adapters
and use them as producers instead of using synthetic producer cores. Also, this
is an RX only case.

The application has been verified on both sw and hw event devices using the
command:

./build/app/dpdk-test-eventdev -c 0xfffff1 -s 0xf0000 --vdev="event_*"
-- --wlcores 12 --test perf_queue --verbose 20 --stlist=a
--prod_type_ethdev

Pavan Nikhilesh (8):
  app/eventdev: add ethernet device producer option
  app/eventdev: modify app setup to support ethdev
  app/eventdev: add pktmbuf pool for ethdev
  app/eventdev: add ethernet device setup helpers
  app/eventdev: add ethernet device tear down
  app/eventdev: add event Rx adapter setup
  app/eventdev: add service core configuration
  doc: update app eventdev options

 app/test-eventdev/evt_common.h       |  41 +++---
 app/test-eventdev/evt_options.c      |  11 ++
 app/test-eventdev/evt_options.h      |  29 ++++
 app/test-eventdev/test_perf_atq.c    |  32 +++--
 app/test-eventdev/test_perf_common.c | 269 ++++++++++++++++++++++++++++++-----
 app/test-eventdev/test_perf_common.h |   4 +
 app/test-eventdev/test_perf_queue.c  |  35 +++--
 doc/guides/tools/testeventdev.rst    |  15 ++
 8 files changed, 361 insertions(+), 75 deletions(-)

--
2.7.4



More information about the dev mailing list