sfp_get_mod...prom_by_page(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the struct sfp_bus structure for the sfp module πŸ‘‘
  • page β€” a struct 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 🌈


made with πŸ’– from ./drivers/net/phy, October 2026 β€” sfp_get_mod...prom_by_page(9) 🫢✨

πŸ“¦ where this page comes from