[dpdk-dev] [PATCH] kni: Fix kni_autotest for new Rx/Tx offloads API
Dan Gora
dg at adax.com
Fri Jun 29 01:02:43 CEST 2018
Fixed a bug where kni_autotest would not start due to the lack of the
ETH_TXQ_FLAGS_IGNORE flag being set in the rte_eth_txconf structure
passed to rte_eth_tx_queue_setup.
This was introduced in commit 4b954bb16747 ("ethdev: remove new to
old offloads API helpers")
Signed-off-by: Dan Gora <dg at adax.com>
---
test/test/test_kni.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/test/test_kni.c b/test/test/test_kni.c
index ec051c07e..0b08e9d66 100644
--- a/test/test/test_kni.c
+++ b/test/test/test_kni.c
@@ -67,6 +67,7 @@ static const struct rte_eth_txconf tx_conf = {
},
.tx_free_thresh = 0,
.tx_rs_thresh = 0,
+ .txq_flags = ETH_TXQ_FLAGS_IGNORE,
};
static const struct rte_eth_conf port_conf = {
--
2.18.0.rc1.1.g6f333ff2f
More information about the dev
mailing list