[dpdk-stable] patch 'net/bnxt: return error if setting link up fails' has been queued to LTS release 18.11.6

Kevin Traynor ktraynor at redhat.com
Tue Dec 3 19:27:10 CET 2019


Hi,

FYI, your patch has been queued to LTS release 18.11.6

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/10/19. 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/36941cb94f64702683b03d96173b50406807445a

Thanks.

Kevin.

---
>From 36941cb94f64702683b03d96173b50406807445a Mon Sep 17 00:00:00 2001
From: Kalesh AP <kalesh-anakkur.purayil at broadcom.com>
Date: Wed, 9 Oct 2019 18:41:44 -0700
Subject: [PATCH] net/bnxt: return error if setting link up fails

[ upstream commit acf2f2a451c0328e175f8d53ad19f3c160773697 ]

Currently bnxt driver does not return error in case setting link up fails.

Fixes: 5c206086feaa ("net/bnxt: add link state operations")

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil at broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur at broadcom.com>
---
 drivers/net/bnxt/bnxt_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
index 76228ae8d..4c02df4ac 100644
--- a/drivers/net/bnxt/bnxt_ethdev.c
+++ b/drivers/net/bnxt/bnxt_ethdev.c
@@ -672,5 +672,5 @@ static int bnxt_dev_set_link_up_op(struct rte_eth_dev *eth_dev)
 
 	bnxt_print_link_info(eth_dev);
-	return 0;
+	return rc;
 }
 
-- 
2.21.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-12-03 17:29:55.277991646 +0000
+++ 0061-net-bnxt-return-error-if-setting-link-up-fails.patch	2019-12-03 17:29:51.795749016 +0000
@@ -1 +1 @@
-From acf2f2a451c0328e175f8d53ad19f3c160773697 Mon Sep 17 00:00:00 2001
+From 36941cb94f64702683b03d96173b50406807445a Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit acf2f2a451c0328e175f8d53ad19f3c160773697 ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
-index 294a9505f..4b3958647 100644
+index 76228ae8d..4c02df4ac 100644
@@ -21 +22 @@
-@@ -931,5 +931,5 @@ static int bnxt_dev_set_link_up_op(struct rte_eth_dev *eth_dev)
+@@ -672,5 +672,5 @@ static int bnxt_dev_set_link_up_op(struct rte_eth_dev *eth_dev)



More information about the stable mailing list