In pipeline_queue test case, for single_stage_burst_tx sched_type
condition checks are not required.

Fixes: 314bcf58ca8 ("app/eventdev: add pipeline queue worker functions")
Cc: sta...@dpdk.org

Signed-off-by: Apeksha Gupta <apeksha.gu...@nxp.com>
---
 app/test-eventdev/test_pipeline_queue.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/app/test-eventdev/test_pipeline_queue.c 
b/app/test-eventdev/test_pipeline_queue.c
index 7bebac34fc..bee4ac0344 100644
--- a/app/test-eventdev/test_pipeline_queue.c
+++ b/app/test-eventdev/test_pipeline_queue.c
@@ -81,20 +81,11 @@ pipeline_queue_worker_single_stage_burst_tx(void *arg)
 
                for (i = 0; i < nb_rx; i++) {
                        rte_prefetch0(ev[i + 1].mbuf);
-                       if (ev[i].sched_type == RTE_SCHED_TYPE_ATOMIC) {
                                pipeline_event_tx(dev, port, &ev[i]);
                                ev[i].op = RTE_EVENT_OP_RELEASE;
                                w->processed_pkts++;
-                       } else {
-                               ev[i].queue_id++;
-                               pipeline_fwd_event(&ev[i],
-                                               RTE_SCHED_TYPE_ATOMIC);
                        }
                }
-
-               pipeline_event_enqueue_burst(dev, port, ev, nb_rx);
-       }
-
        return 0;
 }
 
-- 
2.17.1

Reply via email to