patch 'net/octeon_ep: remove useless assignment' has been queued to stable release 23.11.4

Xueming Li xuemingl at nvidia.com
Tue Feb 18 13:34:19 CET 2025


Hi,

FYI, your patch has been queued to stable release 23.11.4

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
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://git.dpdk.org/dpdk-stable/log/?h=23.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=8be7239b2ead21484e215b740c28a238958bf95a

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 8be7239b2ead21484e215b740c28a238958bf95a Mon Sep 17 00:00:00 2001
From: Ariel Otilibili <otilibil at eurecom.fr>
Date: Wed, 18 Dec 2024 21:00:09 +0100
Subject: [PATCH] net/octeon_ep: remove useless assignment
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit 4143d5f09074c15706479ad4e271f3ab16d90579 ]

Coverity issue: 385414
Fixes: c836a7ba33ee ("net/octeon_ep: support mailbox between VF and PF")

Signed-off-by: Ariel Otilibili <otilibil at eurecom.fr>
---
 drivers/net/octeon_ep/otx_ep_mbox.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/net/octeon_ep/otx_ep_mbox.c b/drivers/net/octeon_ep/otx_ep_mbox.c
index c92adeaf9a..210a5ffcea 100644
--- a/drivers/net/octeon_ep/otx_ep_mbox.c
+++ b/drivers/net/octeon_ep/otx_ep_mbox.c
@@ -247,9 +247,6 @@ int otx_ep_mbox_get_link_info(struct rte_eth_dev *eth_dev,
 	}
 	link->link_status = RTE_ETH_LINK_UP;
 	link->link_duplex = RTE_ETH_LINK_FULL_DUPLEX;
-	link->link_autoneg = (link_info.autoneg ==
-			      OTX_EP_LINK_AUTONEG) ? RTE_ETH_LINK_AUTONEG : RTE_ETH_LINK_FIXED;
-
 	link->link_autoneg = link_info.autoneg;
 	link->link_speed = link_info.speed;
 	return 0;
--
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-02-18 19:39:01.598796180 +0800
+++ 0024-net-octeon_ep-remove-useless-assignment.patch	2025-02-18 19:39:00.478244073 +0800
@@ -1 +1 @@
-From 4143d5f09074c15706479ad4e271f3ab16d90579 Mon Sep 17 00:00:00 2001
+From 8be7239b2ead21484e215b740c28a238958bf95a Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 4143d5f09074c15706479ad4e271f3ab16d90579 ]
@@ -8 +10,0 @@
-Cc: stable at dpdk.org
@@ -16 +18 @@
-index 64a51c1fd0..1d7e08d2cc 100644
+index c92adeaf9a..210a5ffcea 100644
@@ -19 +21 @@
-@@ -256,9 +256,6 @@ int otx_ep_mbox_get_link_info(struct rte_eth_dev *eth_dev,
+@@ -247,9 +247,6 @@ int otx_ep_mbox_get_link_info(struct rte_eth_dev *eth_dev,


More information about the stable mailing list