ixgbe_is_sfp_probe(9)
π ixgbe_is_sfp_probe π
okay so bestie, welcome to another β¨iconicβ¨ page from the Kernel API Manual β today's main character is ixgbe_is_sfp_probe(9), and ngl it is a whole vibe of a little helper. Let's get into it π«Ά
πΈ NAME πΈ
ixgbe_is_sfp_probe β returns true if SFP is being detected β¨ (that's literally the whole job, and she does it well π
)
π¦ SYNOPSIS π¦
bool ixgbe_is_sfp_probe (struct ixgbe_hw *hw , u8 offset , u8 addr );
likeβ¦ it's giving "small function, big responsibilities" π it's a bool returner, so you already know you're getting a yes-or-no, no in-between π
π ARGUMENTS π
hwβ pointer to hardware structure π₯ literally the hardware itself, go off king πoffsetβ eeprom offset to be read π this is where in the eeprom we're poking around, iykykaddrβ I2C address to be read π the I2C address that's getting read, periodt
lowkey important: hw is a pointer, so, y'knowβ¦ make sure it's a real one before you go dereferencing it π no cap.
π SEE ALSO π
so bestie, here's the part where the manpage dumps literally everyone who's ever hung out with this function, and I am obsessed with the sheer length of it. gather round, these are all (9) sections in the Kernel file ./drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c π§:
ixgbe_out_i2c_byte_ack(9)ixgbe_in_i2c_byte_ack(9)ixgbe_ones_comp_byte_add(9)ixgbe_read_i2c_combined_generic_int(9)ixgbe_write_i2c_combined_generic_int(9)ixgbe_probe_phy(9)ixgbe_identify_phy_generic(9)ixgbe_check_reset_blocked(9)ixgbe_get_phy_id(9)ixgbe_get_phy_type_from_id(9)ixgbe_reset_phy_generic(9)ixgbe_read_phy_reg_mdi(9)ixgbe_read_phy_reg_generic(9)ixgbe_write_phy_reg_mdi(9)ixgbe_write_phy_reg_generic(9)ixgbe_msca_cmd(9)ixgbe_mii_bus_read_generic_c22(9)ixgbe_mii_bus_read_generic_c45(9)ixgbe_mii_bus_write_generic_c22(9)ixgbe_mii_bus_write_generic_c45(9)ixgbe_mii_bus_read_c22(9)ixgbe_mii_bus_read_c45(9)ixgbe_mii_bus_write_c22(9)ixgbe_mii_bus_write_c45(9)ixgbe_x550em_a_mii_bus_read_c22(9)ixgbe_x550em_a_mii_bus_read_c45(9)ixgbe_x550em_a_mii_bus_write_c22(9)ixgbe_x550em_a_mii_bus_write_c45(9)ixgbe_get_first_secondary_devfn(9)ixgbe_x550em_a_has_mii(9)ixgbe_mii_bus_init(9)ixgbe_setup_phy_link_generic(9)ixgbe_setup_phy_link_speed_generic(9)ixgbe_get_copper_speeds_supported(9)ixgbe_get_copper_link_capabilities_generic(9)ixgbe_check_phy_link_tnx(9)ixgbe_setup_phy_link_tnx(9)ixgbe_reset_phy_nl(9)ixgbe_identify_module_generic(9)ixgbe_identify_sfp_module_generic(9)ixgbe_identify_qsfp_module_generic(9)ixgbe_get_sfp_init_sequence_offsets(9)ixgbe_read_i2c_eeprom_generic(9)ixgbe_read_i2c_sff8472_generic(9)ixgbe_write_i2c_eeprom_generic(9)ixgbe_read_i2c_byte_generic_int(9)ixgbe_read_i2c_byte_generic(9)ixgbe_read_i2c_byte_generic_unlocked(9)ixgbe_write_i2c_byte_generic_int(9)ixgbe_write_i2c_byte_generic(9)ixgbe_write_i2c_byte_generic_unlocked(9)ixgbe_i2c_start(9)ixgbe_i2c_stop(9)ixgbe_clock_in_i2c_byte(9)ixgbe_clock_out_i2c_byte(9)ixgbe_get_i2c_ack(9)ixgbe_clock_in_i2c_bit(9)ixgbe_clock_out_i2c_bit(9)ixgbe_raise_i2c_clk(9)ixgbe_lower_i2c_clk(9)ixgbe_set_i2c_data(9)ixgbe_get_i2c_data(9)ixgbe_i2c_bus_clear(9)ixgbe_tn_check_overtemp(9)
likeβ¦ sixty-four cross-references?? she's popular, she's connected, she's the moment π β¨
and that's the whole page bestie!! π this cutie was pulled from ./drivers/net/ethernet/intel/i... (yes the footer truncates it like that, we don't make the rules π) and it's dated October 2026 β go forth and detect those SFPs, love u, bye π¦π
π¦ 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