sfp_get_mod...prom_by_page(9)
π
sfp_get_mod...prom_by_page(9) π
okay bestie, welcome to this Kernel API Manual moment β¨ this is the page for sfp_get_module_eeprom_by_page, and yes we are gonna get into it π¦
πΈ NAME πΈ
sfp_get_module_eeprom_by_page β Read a page from the SFP module EEPROM π
β¨ SYNOPSIS β¨
int sfp_get_module_eeprom_by_page (struct sfp_bus *bus , const struct
ethtool_module_eeprom *page , struct netlink_ext_ack *extack );
π ARGUMENTS π
busβ a pointer to thestruct sfp_busstructure for the sfp module πpageβ astruct ethtool_module_eepromπ«Άextackβ extack for reporting problems π
π¦ DESCRIPTION π¦
okay so this function reads an EEPROM page as specified by the supplied page. for which page is actually being read, see the documentation for struct ethtool_module_eeprom β thatβs the blueprint, no cap πβ¨
it returns 0 on success or a negative errno number. more error information might be provided via extack β so if something goes sideways, check there for the tea ππ
π SEE ALSO π
- Kernel file
./drivers/net/phy/sfp-bus.c struct sfp_bus(9)sfp_select_interface(9)sfp_bus_put(9)sfp_get_module_info(9)sfp_get_module_eeprom(9)sfp_upstream_start(9)sfp_upstream_stop(9)sfp_upstream_set_signal_rate(9)sfp_bus_find_fwnode(9)sfp_bus_add_upstream(9)sfp_bus_del_upstream(9)sfp_get_name(9)
made with π from ./drivers/net/phy, October 2026 β sfp_get_mod...prom_by_page(9) π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms