summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasesh Mody <rasesh.mody@cavium.com>2018-05-15 12:43:59 -0700
committerThomas Monjalon <thomas@monjalon.net>2018-05-15 22:33:42 +0200
commit03803462f0b2301e5fb2cd3cb3c4cc2673f748ff (patch)
tree00e96de3d8c7847d4243ccf9a786d110fd38c98a
parentf11a4a7d8a8bff6ce167ea7a6a87f34ca47340e0 (diff)
downloaddpdk-03803462f0b2301e5fb2cd3cb3c4cc2673f748ff.zip
dpdk-03803462f0b2301e5fb2cd3cb3c4cc2673f748ff.tar.gz
dpdk-03803462f0b2301e5fb2cd3cb3c4cc2673f748ff.tar.xz
net/qede: fix default Tx offload config
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>
-rw-r--r--drivers/net/qede/qede_ethdev.c2
1 files changed, 1 insertions, 1 deletions
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 @@ 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) {