DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] kni: Fix kni_autotest for new Rx/Tx offloads API
@ 2018-06-28 23:02 Dan Gora
  2018-08-01 16:43 ` Thomas Monjalon
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Gora @ 2018-06-28 23:02 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: dev, Dan Gora

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@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-08-08  9:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-28 23:02 [dpdk-dev] [PATCH] kni: Fix kni_autotest for new Rx/Tx offloads API Dan Gora
2018-08-01 16:43 ` Thomas Monjalon
2018-08-01 19:50   ` Dan Gora
2018-08-02  5:49     ` Thomas Monjalon
2018-08-08  9:52       ` Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).