This set prepares single queue pktio API removal with definitions of various 
parameter default values and clarification of pktio configuration sequence.

Added pktio info struct, so that e.g. pktio device name and 
mode parameters can be retrieved later on (e.g. by another thread that
configured the pktio).

Ported pktio perf app from single queue API to multi-queue API with single 
input and output queue per interface. Porting of other tests and examples 
continue in the same way (in next parts). Single queue API calls can be removed 
when all apps have been ported.


Petri Savolainen (9):
  linux-generic: queue: simplify NULL param handling
  api: sched: define default sched param values
  api: pktio: added pktio info structure
  linux-generic: pktio: use unique names for pktin event queues
  api: pktio: define default queue configuration
  api: pktio: define default pktio modes
  api: pktio: specify when queue config is called
  test: pktio_perf: port to use new pktio api
  test: l2fwd: utilize pktio param defaults

 include/odp/api/spec/packet_io.h                   | 104 ++++++++++++++++-----
 include/odp/api/spec/queue.h                       |   4 +-
 include/odp/api/spec/schedule_types.h              |  19 +++-
 .../linux-generic/include/odp_packet_io_internal.h |   3 +-
 platform/linux-generic/odp_packet_io.c             |  84 +++++++++++------
 platform/linux-generic/odp_queue.c                 |  29 +++---
 platform/linux-generic/pktio/pktio_common.c        |   2 +-
 test/performance/odp_l2fwd.c                       |  10 +-
 test/performance/odp_pktio_perf.c                  |  85 +++++++++--------
 9 files changed, 223 insertions(+), 117 deletions(-)

-- 
2.7.1

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

Reply via email to