doc: fix typo in mlx5 guide
[dpdk.git] / app / test-eventdev / test_pipeline_common.c
index d07fa88..1e52564 100644 (file)
@@ -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);
 }