From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Gora Subject: [PATCH] kni: Fix kni_autotest for new Rx/Tx offloads API Date: Thu, 28 Jun 2018 16:02:43 -0700 Message-ID: <20180628230243.24022-1-dg@adax.com> Cc: dev@dpdk.org, Dan Gora To: Ferruh Yigit Return-path: Received: from mail-ot0-f194.google.com (mail-ot0-f194.google.com [74.125.82.194]) by dpdk.org (Postfix) with ESMTP id 12C2D1B39A for ; Fri, 29 Jun 2018 01:02:50 +0200 (CEST) Received: by mail-ot0-f194.google.com with SMTP id n24-v6so7972777otl.9 for ; Thu, 28 Jun 2018 16:02:49 -0700 (PDT) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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