path: root/app/test-eventdev/test_order_queue.c
AgeCommit message (Collapse)Author
2019-04-02app/eventdev: add option for global dequeue timeoutPavan Nikhilesh
Add option to provide a global dequeue timeout that is used to create the eventdev. The dequeue timeout provided will be common across all the worker ports. If the eventdev hardware supports power management through dequeue timeout then this option can be used for verifying power demands at various packet rates. Signed-off-by: Pavan Nikhilesh <>
2018-11-26fix URLsThomas Monjalon
The DPDK website has a new URL scheme since June 2018. Cc: Signed-off-by: Thomas Monjalon <> Acked-by: John McNamara <>
2018-07-25app/eventdev: fix order test service initPavan Nikhilesh
Previous modification to evt_service_setup() broke order_queue/atq tests. Fixes: b0333c55dfa5 ("app/eventdev: add service core configuration") Cc: Reported-by: Gage Eads <> Signed-off-by: Pavan Nikhilesh <> Acked-by: Gage Eads <> Acked-by: Jerin Jacob <>
2018-01-09app: use SPDX tag for Cavium copyright filesJerin Jacob
Signed-off-by: Jerin Jacob <> Acked-by: Hemant Agrawal <>
2017-10-27app/testeventdev: use service coresPavan Nikhilesh
Use service cores for offloading event scheduling in case of centralized scheduling instead of calling the schedule api directly. This removes the dependency on dedicated scheduler core specified by giving command line option --slcore. Signed-off-by: Pavan Nikhilesh <> Acked-by: Jerin Jacob <>
2017-10-27eventdev: fix inconsistency in queue configPavan Nikhilesh
With the current scheme of event queue configuration the cfg schedule type macros (RTE_EVENT_QUEUE_CFG_*_ONLY) are inconsistent with the event schedule type (RTE_SCHED_TYPE_*) this requires unnecessary conversion between the fastpath and slowpath API's while scheduling events or configuring event queues. This patch aims to fix such inconsistency by using event schedule types (RTE_SCHED_TYPE_*) for event queue configuration. This patch also fixes example/eventdev_pipeline_sw_pmd as it doesn't convert RTE_EVENT_QUEUE_CFG_*_ONLY to RTE_SCHED_TYPE_* which leads to improper events being enqueued to the eventdev. Fixes: adb5d5486c39 ("examples/eventdev_pipeline_sw_pmd: add sample app") Signed-off-by: Pavan Nikhilesh <> Acked-by: Harry van Haaren <>
2017-07-08update Cavium Inc copyright headersJerin Jacob
Replace the incorrect reference to "Cavium Networks", "Cavium Ltd" company name with correct the "Cavium, Inc" company name in copyright headers. Signed-off-by: Jerin Jacob <>
2017-07-07app/testeventdev: add order queue worker functionsJerin Jacob
Signed-off-by: Jerin Jacob <> Acked-by: Harry van Haaren <>
2017-07-07app/testeventdev: add order queue testJerin Jacob
The order queue test configures the eventdev with two queues and an event producer to inject the events to q0(ordered) queue. Both q0(ordered) and q1(atomic) are linked to all the workers. The event producer maintains a sequence number per flow and injects the events to the ordered queue. The worker receives the events from ordered queue and forwards to atomic queue. Since the events from an ordered queue can be processed in parallel on the different workers, the ingress order of events might have changed on the downsteam atomic queue enqueue. On enqueue to the atomic queue, the eventdev PMD driver reorders the event to the original ingress order i.e producer ingress order). When the event is dequeued from the atomic queue by the worker, this test verifies the expected sequence number of associated event per flow by comparing the free running expected sequence number per flow. Example command to run order queue test: sudo build/app/dpdk-test-eventdev --vdev=event_sw0 --\ --test=order_queue --plcores 1 --wlcores 2,3 Signed-off-by: Jerin Jacob <> Acked-by: Harry van Haaren <>