[PATCH] net/ixgbe: fix EEPROM read failure on copper media
Bruce Richardson
bruce.richardson at intel.com
Wed Jul 1 13:07:15 CEST 2026
On Wed, Jul 01, 2026 at 11:46:19AM +0100, Bruce Richardson wrote:
> On Wed, Jul 01, 2026 at 09:07:03AM +0000, Mingjin Ye wrote:
> > 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")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Mingjin Ye <mingjinx.ye at intel.com>
> > ---
> > drivers/net/intel/ixgbe/ixgbe_ethdev.c | 12 ++++++++++++
> > 1 file changed, 12 insertions(+)
> >
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
>
Patch applied to dpdk-next-net-intel.
Thanks,
/Bruce
More information about the stable
mailing list