From: Qi Zhang Date: Thu, 3 May 2018 02:01:14 +0000 (+0800) Subject: net/i40e: fix Tx queue info get X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=aed545af1b5ed6b7baa2eb41bad63486d6c95226;p=dpdk.git 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 --- 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))