[dpdk-stable] patch 'net/bnxt: fix queue get info' has been queued to LTS release 18.11.11

Kevin Traynor ktraynor at redhat.com
Thu Nov 5 13:39:34 CET 2020


Hi,

FYI, your patch has been queued to LTS release 18.11.11

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/10/20. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/ad7432468d2a86fcbe500b7249ff23ff4c14c73b

Thanks.

Kevin.

---
>From ad7432468d2a86fcbe500b7249ff23ff4c14c73b Mon Sep 17 00:00:00 2001
From: Lance Richardson <lance.richardson at broadcom.com>
Date: Tue, 22 Sep 2020 13:30:35 -0400
Subject: [PATCH] net/bnxt: fix queue get info

[ upstream commit bd6345e4f48a737ec498d013953e785ab185e5f1 ]

Return current offloads in rxq_info_get()/txq_info_get().

Fixes: 2fc201884be8 ("net/bnxt: support rxq/txq get information")

Signed-off-by: Lance Richardson <lance.richardson at broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur at broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
---
 drivers/net/bnxt/bnxt_ethdev.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
index e0b4b4bd67..c17fd3c558 100644
--- a/drivers/net/bnxt/bnxt_ethdev.c
+++ b/drivers/net/bnxt/bnxt_ethdev.c
@@ -1580,4 +1580,5 @@ bnxt_rxq_info_get_op(struct rte_eth_dev *dev, uint16_t queue_id,
 	qinfo->conf.rx_drop_en = 0;
 	qinfo->conf.rx_deferred_start = rxq->rx_deferred_start;
+	qinfo->conf.offloads = dev->data->dev_conf.rxmode.offloads;
 }
 
@@ -1599,4 +1600,5 @@ bnxt_txq_info_get_op(struct rte_eth_dev *dev, uint16_t queue_id,
 	qinfo->conf.tx_rs_thresh = 0;
 	qinfo->conf.tx_deferred_start = txq->tx_deferred_start;
+	qinfo->conf.offloads = dev->data->dev_conf.txmode.offloads;
 }
 
-- 
2.26.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-11-05 12:38:54.768397634 +0000
+++ 0027-net-bnxt-fix-queue-get-info.patch	2020-11-05 12:38:54.207895994 +0000
@@ -1 +1 @@
-From bd6345e4f48a737ec498d013953e785ab185e5f1 Mon Sep 17 00:00:00 2001
+From ad7432468d2a86fcbe500b7249ff23ff4c14c73b Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit bd6345e4f48a737ec498d013953e785ab185e5f1 ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index d0d11a6d0e..bb6b25dff2 100644
+index e0b4b4bd67..c17fd3c558 100644
@@ -22,2 +23,2 @@
-@@ -2646,4 +2646,5 @@ bnxt_rxq_info_get_op(struct rte_eth_dev *dev, uint16_t queue_id,
- 	qinfo->conf.rx_drop_en = rxq->drop_en;
+@@ -1580,4 +1580,5 @@ bnxt_rxq_info_get_op(struct rte_eth_dev *dev, uint16_t queue_id,
+ 	qinfo->conf.rx_drop_en = 0;
@@ -28 +29 @@
-@@ -2669,4 +2670,5 @@ bnxt_txq_info_get_op(struct rte_eth_dev *dev, uint16_t queue_id,
+@@ -1599,4 +1600,5 @@ bnxt_txq_info_get_op(struct rte_eth_dev *dev, uint16_t queue_id,



More information about the stable mailing list