DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/qede: fix default Tx offload config
@ 2018-05-15 19:43 Rasesh Mody
  2018-05-15 20:35 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Rasesh Mody @ 2018-05-15 19:43 UTC (permalink / raw)
  To: dev; +Cc: Rasesh Mody, ferruh.yigit, arybchenko, Dept-EngDPDKDev

Correct the default Tx offload config

Fixes: 946dfd18a4ec ("net/qede: convert to new Rx/Tx offloads API")

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
---
 drivers/net/qede/qede_ethdev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c
index 1202300..50a63be 100644
--- a/drivers/net/qede/qede_ethdev.c
+++ b/drivers/net/qede/qede_ethdev.c
@@ -1594,7 +1594,7 @@ static int qede_dev_configure(struct rte_eth_dev *eth_dev)
 	dev_info->tx_queue_offload_capa = dev_info->tx_offload_capa;
 
 	dev_info->default_txconf = (struct rte_eth_txconf) {
-		.txq_flags = DEV_TX_OFFLOAD_MULTI_SEGS,
+		.offloads = DEV_TX_OFFLOAD_MULTI_SEGS,
 	};
 
 	dev_info->default_rxconf = (struct rte_eth_rxconf) {
-- 
1.7.10.3

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

end of thread, other threads:[~2018-05-15 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-15 19:43 [dpdk-dev] [PATCH] net/qede: fix default Tx offload config Rasesh Mody
2018-05-15 20:35 ` Thomas Monjalon

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).