X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest-eventdev%2Ftest_pipeline_common.c;h=1e525643d33011566494c011da78d1c3f9da7dc1;hb=4d6e0352e137a11972f40c18687be8135489a02e;hp=d07fa8826c7055810a4b4845507ebf7b77bfbfb5;hpb=032a965a8f1db80c9e2aded84c041b17cf0d9546;p=dpdk.git diff --git a/app/test-eventdev/test_pipeline_common.c b/app/test-eventdev/test_pipeline_common.c index d07fa8826c..1e525643d3 100644 --- a/app/test-eventdev/test_pipeline_common.c +++ b/app/test-eventdev/test_pipeline_common.c @@ -329,7 +329,7 @@ int pipeline_event_tx_adapter_setup(struct evt_options *opt, struct rte_event_port_conf port_conf) { - int ret; + int ret = 0; uint16_t consm; RTE_ETH_FOREACH_DEV(consm) { @@ -396,6 +396,7 @@ pipeline_eventdev_destroy(struct evt_test *test, struct evt_options *opt) { RTE_SET_USED(test); + rte_event_dev_stop(opt->dev_id); rte_event_dev_close(opt->dev_id); }