diff options
author | Petri Savolainen <petri.savolainen@nokia.com> | 2016-02-25 13:31:26 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2016-03-04 13:24:49 +0300 |
commit | e4ac2e3a4d71898439723a4f44b7a7db4ecdfa07 (patch) | |
tree | 47cc9b70ed0b88f4f9d5605e90dd97844aeeb4de /platform/linux-generic/include/odp_packet_io_internal.h | |
parent | da1fe41d41b185d9bf5889a41be15c491b4df116 (diff) |
linux-generic: pktio: pktout event queues
Implemented pktout event queues.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/include/odp_packet_io_internal.h')
-rw-r--r-- | platform/linux-generic/include/odp_packet_io_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/linux-generic/include/odp_packet_io_internal.h b/platform/linux-generic/include/odp_packet_io_internal.h index 5219ce5a4..c10f5d125 100644 --- a/platform/linux-generic/include/odp_packet_io_internal.h +++ b/platform/linux-generic/include/odp_packet_io_internal.h @@ -116,6 +116,7 @@ struct pktio_entry { } in_queue[PKTIO_MAX_QUEUES]; struct { + odp_queue_t queue; odp_pktout_queue_t pktout; } out_queue[PKTIO_MAX_QUEUES]; }; @@ -217,6 +218,7 @@ int single_output_queues_config(pktio_entry_t *entry, int single_in_queues(pktio_entry_t *entry, odp_queue_t queues[], int num); int single_pktin_queues(pktio_entry_t *entry, odp_pktin_queue_t queues[], int num); +int single_out_queues(pktio_entry_t *entry, odp_queue_t queues[], int num); int single_pktout_queues(pktio_entry_t *entry, odp_pktout_queue_t queues[], int num); int single_recv_queue(pktio_entry_t *entry, int index, odp_packet_t packets[], |