[dpdk-stable] patch 'net/e1000: fix link status' has been queued to LTS release 17.11.10

luca.boccassi at gmail.com luca.boccassi at gmail.com
Thu Dec 19 15:34:43 CET 2019


Hi,

FYI, your patch has been queued to LTS release 17.11.10

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/21/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.

Thanks.

Luca Boccassi

---
>From 1706ce3713d3d956c416e94444d9292c4bd86c14 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 cef6fded96..daf9d2fc3d 100644
--- a/drivers/net/e1000/igb_ethdev.c
+++ b/drivers/net/e1000/igb_ethdev.c
@@ -956,6 +956,8 @@ eth_igb_dev_init(struct rte_eth_dev *eth_dev)
 	/* enable support intr */
 	igb_intr_enable(eth_dev);
 
+	eth_igb_dev_set_link_down(eth_dev);
+
 	/* initialize filter info */
 	memset(filter_info, 0,
 	       sizeof(struct e1000_filter_info));
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-12-19 14:32:31.730942554 +0000
+++ 0136-net-e1000-fix-link-status.patch	2019-12-19 14:32:26.357302822 +0000
@@ -1,14 +1,15 @@
-From a407d7c2ddfe05d0f13ca6170b1b8849023347e9 Mon Sep 17 00:00:00 2001
+From 1706ce3713d3d956c416e94444d9292c4bd86c14 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")
-Cc: stable at dpdk.org
 
 Signed-off-by: Lunyuan Cui <lunyuanx.cui at intel.com>
 Acked-by: Wenzhuo Lu <wenzhuo.lu at intel.com>
@@ -17,10 +18,10 @@
  1 file changed, 2 insertions(+)
 
 diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c
-index 2d2dc9cbef..a3e30dbe5a 100644
+index cef6fded96..daf9d2fc3d 100644
 --- a/drivers/net/e1000/igb_ethdev.c
 +++ b/drivers/net/e1000/igb_ethdev.c
-@@ -891,6 +891,8 @@ eth_igb_dev_init(struct rte_eth_dev *eth_dev)
+@@ -956,6 +956,8 @@ eth_igb_dev_init(struct rte_eth_dev *eth_dev)
  	/* enable support intr */
  	igb_intr_enable(eth_dev);
  


More information about the stable mailing list