[dpdk-stable] patch 'net/e1000: fix link status' has been queued to LTS release 18.11.6
Kevin Traynor
ktraynor at redhat.com
Wed Dec 11 22:26:56 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/17/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/e12bbb4acc5e35b2f11ec7fae711c91a06627a12
Thanks.
Kevin.
---
>From e12bbb4acc5e35b2f11ec7fae711c91a06627a12 Mon Sep 17 00:00:00 2001
From: Lunyuan Cui <lunyuanx.cui at intel.com>
Date: Wed, 13 Nov 2019 12:46:59 +0000
Subject: [PATCH] net/e1000: fix link status
[ upstream commit a407d7c2ddfe05d0f13ca6170b1b8849023347e9 ]
The link status got from link status register was not correct,
because register has been reset when ports reset.
After port reset, set the link status down.
Fixes: c431ec66c54c ("net/igb: support setting link up or down")
Signed-off-by: Lunyuan Cui <lunyuanx.cui at intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu at intel.com>
---
drivers/net/e1000/igb_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c
index 23b48d161..2c1f2314e 100644
--- a/drivers/net/e1000/igb_ethdev.c
+++ b/drivers/net/e1000/igb_ethdev.c
@@ -885,4 +885,6 @@ eth_igb_dev_init(struct rte_eth_dev *eth_dev)
igb_intr_enable(eth_dev);
+ eth_igb_dev_set_link_down(eth_dev);
+
/* initialize filter info */
memset(filter_info, 0,
--
2.21.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2019-12-11 21:24:17.691862204 +0000
+++ 0064-net-e1000-fix-link-status.patch 2019-12-11 21:24:12.746649585 +0000
@@ -1 +1 @@
-From a407d7c2ddfe05d0f13ca6170b1b8849023347e9 Mon Sep 17 00:00:00 2001
+From e12bbb4acc5e35b2f11ec7fae711c91a06627a12 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit a407d7c2ddfe05d0f13ca6170b1b8849023347e9 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index 2d2dc9cbe..a3e30dbe5 100644
+index 23b48d161..2c1f2314e 100644
@@ -23 +24 @@
-@@ -892,4 +892,6 @@ eth_igb_dev_init(struct rte_eth_dev *eth_dev)
+@@ -885,4 +885,6 @@ eth_igb_dev_init(struct rte_eth_dev *eth_dev)
More information about the stable
mailing list