patch 'net/ixgbe: fix EEPROM read on copper media' has been queued to stable release 25.11.3

Kevin Traynor ktraynor at redhat.com
Thu Jul 30 11:16:04 CEST 2026


Hi,

FYI, your patch has been queued to stable release 25.11.3

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

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/a19e4b936465db2722099ecb778b9c74cefeab19

Thanks.

Kevin

---
>From a19e4b936465db2722099ecb778b9c74cefeab19 Mon Sep 17 00:00:00 2001
From: Mingjin Ye <mingjinx.ye at intel.com>
Date: Wed, 1 Jul 2026 09:07:03 +0000
Subject: [PATCH] net/ixgbe: fix EEPROM read on copper media

[ upstream commit 7fb668b9cc7b59538ee54c8c3af92c02c38619e9 ]

The ixgbe_get_module_info() and ixgbe_get_module_eeprom() functions
attempt to read SFF EEPROM data for all port types. However, copper
media ports do not have SFF EEPROMs, causing invalid I2C operations
and generating error logs.

This patch adds a media type check at the beginning of both functions.
If the media type is ixgbe_media_type_copper, return -ENOTSUP to
safely skip the EEPROM read.

Fixes: b74d0cd43e37 ("net/ixgbe: add module EEPROM callbacks for ixgbe")

Signed-off-by: Mingjin Ye <mingjinx.ye at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
 drivers/net/intel/ixgbe/ixgbe_ethdev.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/net/intel/ixgbe/ixgbe_ethdev.c b/drivers/net/intel/ixgbe/ixgbe_ethdev.c
index 792323dd95..fd7080e570 100644
--- a/drivers/net/intel/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/intel/ixgbe/ixgbe_ethdev.c
@@ -7425,4 +7425,10 @@ ixgbe_get_module_info(struct rte_eth_dev *dev,
 		return -E_RTE_SECONDARY;
 
+	if (hw->phy.media_type == ixgbe_media_type_copper) {
+		PMD_DRV_LOG(DEBUG, "Port %u is Base-T (copper), no SFF module info.",
+				dev->data->port_id);
+		return -ENOTSUP;
+	}
+
 	/* Check whether we support SFF-8472 or not */
 	status = hw->phy.ops.read_i2c_eeprom(hw,
@@ -7478,4 +7484,10 @@ ixgbe_get_module_eeprom(struct rte_eth_dev *dev,
 		return -E_RTE_SECONDARY;
 
+	if (hw->phy.media_type == ixgbe_media_type_copper) {
+		PMD_DRV_LOG(DEBUG, "Port %u is Base-T (copper), cannot read module EEPROM.",
+				dev->data->port_id);
+		return -ENOTSUP;
+	}
+
 	for (i = info->offset; i < info->offset + info->length; i++) {
 		if (i < RTE_ETH_MODULE_SFF_8079_LEN)
-- 
2.55.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-07-30 10:16:02.244731816 +0100
+++ 0025-net-ixgbe-fix-EEPROM-read-on-copper-media.patch	2026-07-30 10:16:01.464990791 +0100
@@ -1 +1 @@
-From 7fb668b9cc7b59538ee54c8c3af92c02c38619e9 Mon Sep 17 00:00:00 2001
+From a19e4b936465db2722099ecb778b9c74cefeab19 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 7fb668b9cc7b59538ee54c8c3af92c02c38619e9 ]
+
@@ -16 +17,0 @@
-Cc: stable at dpdk.org
@@ -25 +26 @@
-index b36867d18d..c5010f623c 100644
+index 792323dd95..fd7080e570 100644
@@ -28 +29 @@
-@@ -7426,4 +7426,10 @@ ixgbe_get_module_info(struct rte_eth_dev *dev,
+@@ -7425,4 +7425,10 @@ ixgbe_get_module_info(struct rte_eth_dev *dev,
@@ -39 +40 @@
-@@ -7479,4 +7485,10 @@ ixgbe_get_module_eeprom(struct rte_eth_dev *dev,
+@@ -7478,4 +7484,10 @@ ixgbe_get_module_eeprom(struct rte_eth_dev *dev,



More information about the stable mailing list