[PATCH net v2 0/2] fix EEPROM read of absent SFP module

From: Ivan Bornyakov
Date: Thu Apr 06 2023 - 09:09:31 EST


The patchset is to improve EEPROM read requests when SFP module is
absent.

ChangeLog:
v1:
https://lore.kernel.org/netdev/20230405153900.747-1-i.bornyakov@xxxxxxxxxxx/
v2:
* reword commit message of "net: sfp: initialize sfp->i2c_block_size
at sfp allocation"
* add second patch to eliminate excessive I2C transfers in
sfp_module_eeprom() and sfp_module_eeprom_by_page()

Ivan Bornyakov (2):
net: sfp: initialize sfp->i2c_block_size at sfp allocation
net: sfp: avoid EEPROM read of absent SFP module

drivers/net/phy/sfp.c | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)

--
2.39.2