v5: - validation test: remove enqueue to stopped pktio;
     - default state stop: do more clean pktio start;
 v4: remove check return code in validation test for enqueue for stopped pktio.
 v3: update test case according to Stuarts review comments.
 v2: return -1 and set odp_errno on send/receive on stopped pktio. Adjust test
     accordingly.

--
odp_pktio_start() and odp_pktio_stop() API function uses to control pktio
inside worker or to start/stop pktio from control thread.

Patch set includes:
- linux-generic implementation
- validation test suite
- fixes to all apps uses odp_pktio_open(). For now I left current logic
if it will be needed in future we can move odp_pktio_start() to worker
thread.

Best regards,
Maxim.


Maxim Uvarov (7):
  linux-generic: add pktio_start and pktio_stop
  linux-generic: schedule pktin_poll: account pktio stop state
  linux-generic: loop: implement pktio_start and pktio_stop
  linux-generic: socket mmap: implement pktio_start and pktio_stop
  linux-generic: socket: implement pktio_start and pktio_stop
  validation: test odp_pktio_start and odp_pktio_stop
  linux-generic: default state for pktio is STOP

 example/classifier/odp_classifier.c                |   5 +
 example/generator/odp_generator.c                  |   4 +
 example/ipsec/odp_ipsec.c                          |   6 ++
 example/packet/odp_pktio.c                         |   4 +
 .../linux-generic/include/odp_packet_io_internal.h |   6 ++
 platform/linux-generic/odp_packet_io.c             |  37 +++++++
 platform/linux-generic/pktio/loop.c                |  27 +++++
 platform/linux-generic/pktio/socket.c              |  25 +++++
 platform/linux-generic/pktio/socket_mmap.c         |  27 +++++
 test/performance/odp_l2fwd.c                       |   6 ++
 test/performance/odp_pktio_perf.c                  |   6 ++
 .../classification/odp_classification_tests.c      |   7 ++
 test/validation/pktio/pktio.c                      | 118 +++++++++++++++++++++
 13 files changed, 278 insertions(+)

-- 
1.9.1

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to