Skip to contentSkip to conversation

net/i40e: fix Tx queue info get

PATCH Applied Qi Zhang 2 participants 2 messages May 3, 2018 – May 4, 2018 Network drivers

lore
Share & tools
lore

Qi Zhang

author
#0 lore raw

PATCH 1/1 net/i40e: fix Tx queue info get

Add missing Tx queue offload assignment in i40e_txq_info_get.

Fixes 7497d3e2f777 ("net/i40e: convert to new Tx offloads API")
---
 drivers/net/i40e/i40e_rxtx.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/i40e/i40e_rxtx.c +1 -0
index 62985c3a9..335712d5a 100644
@@ -2951,6 +2951,7 @@ i40e_txq_info_get(struct rte_eth_dev *dev, uint16_t queue_id,
 	qinfo->conf.tx_free_thresh = txq->tx_free_thresh;
 	qinfo->conf.tx_rs_thresh = txq->tx_rs_thresh;
 	qinfo->conf.tx_deferred_start = txq->tx_deferred_start;
+	qinfo->conf.offloads = txq->offloads;
 }
 
 void __attribute__((cold))
Signature · 1 line
2.13.6
Applied
#1 lore raw
Quoted 5 lines · Qi Zhang

Add missing Tx queue offload assignment in i40e_txq_info_get.

Fixes 7497d3e2f777 ("net/i40e: convert to new Tx offloads API")

Applied to dpdk-next-net/master, thanks.