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: [email protected]
> >
> > Signed-off-by: Mingjin Ye <[email protected]>
> > ---
> > drivers/net/intel/ixgbe/ixgbe_ethdev.c | 12 ++++++++++++
> > 1 file changed, 12 insertions(+)
> >
> Acked-by: Bruce Richardson <[email protected]>
>
Patch applied to dpdk-next-net-intel.
Thanks,
/Bruce