aboutsummaryrefslogtreecommitdiff
path: root/test/performance/odp_l2fwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/performance/odp_l2fwd.c')
-rw-r--r--test/performance/odp_l2fwd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/performance/odp_l2fwd.c b/test/performance/odp_l2fwd.c
index db26a58d..ce4efa88 100644
--- a/test/performance/odp_l2fwd.c
+++ b/test/performance/odp_l2fwd.c
@@ -317,6 +317,12 @@ static odp_pktio_t create_pktio(const char *dev, odp_pool_t pool,
return ODP_PKTIO_INVALID;
}
+ ret = odp_pktio_start(pktio);
+ if (ret != 0) {
+ LOG_ERR("Error: unable to start %s\n", dev);
+ return ODP_PKTIO_INVALID;
+ }
+
return pktio;
}