[dpdk-dev] net/qede: fix default Tx offload config

Message ID 1526413439-5223-1-git-send-email-rasesh.mody@cavium.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Mody, Rasesh May 15, 2018, 7:43 p.m. UTC
  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(-)
  

Comments

Thomas Monjalon May 15, 2018, 8:35 p.m. UTC | #1
15/05/2018 21:43, Rasesh Mody:
> 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>

Applied, thanks
  

Patch

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