This patch set adds APIs for multi-queue packet IO. It does not remove or modify existing API calls, so that multi-queue can be verified first with couple of apps and implementations. Single queue APIs (e.g. odp_pktio_inq_setdef()) and potentially plain _recv() and _send() should be removed once everything is ported to use the new API (potentially with num_queues == 1).
Configuration of multiple packet input and output queues fit better into pktio API than classification and TM APIs. Multi-queue is more generally needed (and provided) than classification or TM. Classification (and potentially TM) API spec should be aligned to use the new default input/output queue setup. v2: * changed hash proto to bit field to allow selection of multiple protocols * added IPv4 and IPv6 protocols * defined odp_pktin_queue_t and pktout_queue_t handle types instead of using indexes * use term single_thr instead of lock_free * added hash_ena to control if hashing (or classification) is used for spreading flows to multiple queues Petri Savolainen (5): api: pktio: added pktio capability struct api: pktio: added multiple pktio input queues api: pktio: added direct queue receive api: pktio: added multiple pktio output queues api: pktio: added direct send to pktio output queue include/odp/api/packet_io.h | 297 ++++++++++++++++++++- .../include/odp/plat/packet_io_types.h | 4 + 2 files changed, 288 insertions(+), 13 deletions(-) -- 2.6.2 _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp