This series add several tests for pktios and fixes the issue they raised.
The main features checked are:
* RONLY pktio cannot be sent to
* WONLY pktio cannot be read from
* stopped pktio cannot be stopped
* started pktio cannot be started
* started pktio cannot be configured

Nicolas Morey-Chaisemartin (10):
  linux-generic: pktio: check interface mode is compatible before
    receiving or sending
  validation: pktio: add customizable out mode for pktios
  validation: pktio: add tests for rrecv() on WONLY, and send on RONLY
    pktios
  validation: pktio: stop interfaces before removing the default inq
  validation: pktio: remove unneeded stop as interface is stopped after
    open()
  validation: classification: start pktio after setting inq and stop it
    before removing it
  validation: classification: stronger checks to avoid SEGV on pktio
    failure
  linux-generic: pktio: check for pktio_start when started and
    pktio_stop when stopped
  linux-generic: pktio: configuration functions check that interface is
    stopped
  validation: pktio: add test for start when started and stop when
    stopped()

 platform/linux-generic/odp_packet_io.c             |  25 ++++-
 .../classification/odp_classification_common.c     |   2 +
 .../classification/odp_classification_test_pmr.c   |  25 +++--
 test/validation/pktio/pktio.c                      | 116 ++++++++++++++++++---
 4 files changed, 140 insertions(+), 28 deletions(-)

_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to