From aed545af1b5ed6b7baa2eb41bad63486d6c95226 Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Thu, 3 May 2018 10:01:14 +0800 Subject: [PATCH] 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") Signed-off-by: Qi Zhang --- drivers/net/i40e/i40e_rxtx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c index 62985c3a9b..335712d5af 100644 --- a/drivers/net/i40e/i40e_rxtx.c +++ b/drivers/net/i40e/i40e_rxtx.c @@ -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)) -- 2.20.1