[dpdk-stable] patch 'net/ixgbe: remove redundant assignment' has been queued to LTS release 18.11.6

Kevin Traynor ktraynor at redhat.com
Fri Nov 22 15:40:59 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 11/29/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/f1452d08c30ee2b9faaa018e20b6ff1f27696aba

Thanks.

Kevin.

---
>From f1452d08c30ee2b9faaa018e20b6ff1f27696aba Mon Sep 17 00:00:00 2001
From: Yong Wang <wang.yong19 at zte.com.cn>
Date: Fri, 30 Aug 2019 16:45:29 +0800
Subject: [PATCH] net/ixgbe: remove redundant assignment

[ upstream commit e573264c71de3de67e8fa81b0872c10bf4650f15 ]

Since "link.link_duplex" has been assigned to ETH_LINK_FULL_DUPLEX just
before switch statement, the assignment in switch-case statement is
redundant. Remove it.

Fixes: 82113036e4e5 ("ethdev: redesign link speed config")

Signed-off-by: Yong Wang <wang.yong19 at zte.com.cn>
Reviewed-by: Xiaolong Ye <xiaolong.ye at intel.com>
---
 drivers/net/ixgbe/ixgbe_ethdev.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 00a06ef67..794bb0125 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -4115,5 +4115,4 @@ ixgbe_dev_link_update_share(struct rte_eth_dev *dev,
 	default:
 	case IXGBE_LINK_SPEED_UNKNOWN:
-		link.link_duplex = ETH_LINK_FULL_DUPLEX;
 		link.link_speed = ETH_SPEED_NUM_100M;
 		break;
-- 
2.21.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-11-22 14:36:55.916562564 +0000
+++ 0013-net-ixgbe-remove-redundant-assignment.patch	2019-11-22 14:36:55.163150013 +0000
@@ -1 +1 @@
-From e573264c71de3de67e8fa81b0872c10bf4650f15 Mon Sep 17 00:00:00 2001
+From f1452d08c30ee2b9faaa018e20b6ff1f27696aba Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit e573264c71de3de67e8fa81b0872c10bf4650f15 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index 03fc1f717..f328d7c03 100644
+index 00a06ef67..794bb0125 100644
@@ -23,3 +24,3 @@
-@@ -4139,5 +4139,4 @@ ixgbe_dev_link_update_share(struct rte_eth_dev *dev,
- 		else
- 			link.link_speed = ETH_SPEED_NUM_100M;
+@@ -4115,5 +4115,4 @@ ixgbe_dev_link_update_share(struct rte_eth_dev *dev,
+ 	default:
+ 	case IXGBE_LINK_SPEED_UNKNOWN:
@@ -26,0 +28 @@
+ 		link.link_speed = ETH_SPEED_NUM_100M;
@@ -28 +29,0 @@
- 



More information about the stable mailing list