net/qede: fix default Tx offload config
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 15 May 2018 19:43:59 +0000 (12:43 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 15 May 2018 20:33:42 +0000 (22:33 +0200)
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

index 1202300..50a63be 100644 (file)
@@ -1594,7 +1594,7 @@ qede_dev_info_get(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) {