From patchwork Thu Jun 28 23:02:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Gora X-Patchwork-Id: 41900 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A83E71B3A9; Fri, 29 Jun 2018 01:02:51 +0200 (CEST) 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=2y7BY9MdOTyn4gmI8fTCkkN7zNC4SgxadKDLfWjIcZg=; b=P1xnotB9GbNLYpeSpTIOCzHfqfEHQ/Cd1gstAXn/BCgQXooBwaF3z89cUYcThwefYp +yan3Z+24B7RnwEztVX40Bh6KT0x/AQy1MR6A+rKwHd+HWGX/n4tX0oQ9SsSSGEd999w 23vLqc02RPnnOr90hCPc+a2VGhalMHx9t0JwmcaNjmZpjtShzmEprKUQtgqQUrEw+i3A tC/nK/0p3S5LBT4uwCOoLP1SsQ1dr6CUbJ63KOpeFAkGNjvQkXjwD+XNW0u3wHNTtkaK 7v3LOO9eI0ogd7XkxPohd7O7MhcpkIVGoSnWPasle/ULHV2NVY9wcdAPqeIj6ddI60CF hAsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=2y7BY9MdOTyn4gmI8fTCkkN7zNC4SgxadKDLfWjIcZg=; b=QIkbtgSh2/BMt5C6MCvuCyhm7hxHrxBknez5HRh8k+PLfgHU2Pg+2x8v/SyuKsNGzS aI5JMpUcjhGThQ+ilqvE0Ki6rFColVnuNBCakH/RmnROdPmUc0tMYzUTQQxqzfDXfddE rtxicgLT7RpOLhPU3s5gIIE5PP2bfflwMDcmylLstzn7uWzxjqZCca/rjmDvYNKBGyUi T2B+nL1EMtOJQfCpv/y2vjoqrw+dJPmxUT2Z8IBD4UosBRSyppwev1BGmYrz+ONwWRB+ CmEcSDhqt/fYiScP8YlJX3/MIzTDSbcK7RRfhBLl5mzw2/NltiUeZ8FvBI3C7D2O5IAz fQ0g== X-Gm-Message-State: APt69E0Ob7xnfVX1Kq0Bu60fMaRiMFnklYIcu2QUC6e+yfVXF2EFK+lO 1kH5Cs68sAQgdswxnpKbbw99IA== X-Google-Smtp-Source: AAOMgpcfTwUlamvtX0sVAJ3bdQhFgru3PxLpXjlrqjIcY9i2hpzQM5Gf4mygjElBjRoLdjIFVkH8Mg== X-Received: by 2002:a9d:42fd:: with SMTP id c58-v6mr6314220otj.299.1530226969272; Thu, 28 Jun 2018 16:02:49 -0700 (PDT) Received: from linux.adax.com (172-11-198-60.lightspeed.sntcca.sbcglobal.net. [172.11.198.60]) by smtp.gmail.com with ESMTPSA id g3-v6sm3538709oif.51.2018.06.28.16.02.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Jun 2018 16:02:48 -0700 (PDT) From: Dan Gora To: Ferruh Yigit Cc: dev@dpdk.org, Dan Gora Date: Thu, 28 Jun 2018 16:02:43 -0700 Message-Id: <20180628230243.24022-1-dg@adax.com> X-Mailer: git-send-email 2.18.0.rc1.1.g6f333ff2f Subject: [dpdk-dev] [PATCH] kni: Fix kni_autotest for new Rx/Tx offloads API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list 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 = {