Soft Patch Panel
 help / color / mirror / Atom feed
From: ogawa.yasufumi@lab.ntt.co.jp
To: spp@dpdk.org, ferruh.yigit@intel.com
Cc: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
Subject: [spp] [PATCH 1/2] shared: remove nouse txq_flags
Date: Thu, 23 Aug 2018 19:54:41 +0900	[thread overview]
Message-ID: <20180823105442.74672-2-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <20180823105442.74672-1-ogawa.yasufumi@lab.ntt.co.jp>

From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>

Txq_flags was deprecated since new Tx offload API is introduced on DPDK
v17.11. It is removed in v18.08 and cause a compile error if it is still
remained.

This patch is for removing nouse txq_flags from init_port().

Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
 src/shared/common.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/shared/common.c b/src/shared/common.c
index fa33fcc..ea625f5 100644
--- a/src/shared/common.c
+++ b/src/shared/common.c
@@ -98,7 +98,6 @@ init_port(uint16_t port_num, struct rte_mempool *pktmbuf_pool)
 		local_port_conf.txmode.offloads |=
 			DEV_TX_OFFLOAD_MBUF_FAST_FREE;
 	txq_conf = dev_info.default_txconf;
-	txq_conf.txq_flags = ETH_TXQ_FLAGS_IGNORE;
 	txq_conf.offloads = local_port_conf.txmode.offloads;
 
 	/*
-- 
2.7.4

  reply	other threads:[~2018-08-23 10:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-23 10:54 [spp] [PATCH 0/2] Fix compile error with DPDK v18.08 ogawa.yasufumi
2018-08-23 10:54 ` ogawa.yasufumi [this message]
2018-08-23 10:54 ` [spp] [PATCH 2/2] makefile: ignore deprecated declarations ogawa.yasufumi
2018-11-06 11:18 ` [spp] [spp 03234] [PATCH 0/2] Fix compile error with DPDK v18.08 Hideyuki Yamashita
2018-11-06 11:37   ` [spp] Cannnot add pcap PMD and null PMD via spp.py Hideyuki Yamashita
2018-11-07  3:09     ` Yasufumi Ogawa
2018-11-06 12:26   ` [spp] [spp 03234] [PATCH 0/2] Fix compile error with DPDK v18.08 Yasufumi Ogawa
2018-11-07  0:35     ` Hideyuki Yamashita
2018-11-07  3:03       ` Yasufumi Ogawa
2018-11-07  3:30         ` [spp] [spp 03509] " Hideyuki Yamashita

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=20180823105442.74672-2-ogawa.yasufumi@lab.ntt.co.jp \
    --to=ogawa.yasufumi@lab.ntt.co.jp \
    --cc=ferruh.yigit@intel.com \
    --cc=spp@dpdk.org \
    /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).