DPDK patches and discussions
 help / color / mirror / Atom feed
From: Dan Gora <dg@adax.com>
To: Ferruh Yigit <ferruh.yigit@intel.com>
Cc: dev@dpdk.org, Dan Gora <dg@adax.com>
Subject: [dpdk-dev] [PATCH] kni: Fix kni_autotest for new Rx/Tx offloads API
Date: Thu, 28 Jun 2018 16:02:43 -0700	[thread overview]
Message-ID: <20180628230243.24022-1-dg@adax.com> (raw)

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

             reply	other threads:[~2018-06-28 23:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-28 23:02 Dan Gora [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180628230243.24022-1-dg@adax.com \
    --to=dg@adax.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).