prot_autoc_read_82599(9)
π prot_autoc_read_82599(9) β a Kernel API Manual moment π
okay so bestie, we're deep in the Kernel API Manual today and the star of the show is prot_autoc_read_82599 β yes the whole 82599 situation, we're getting into it. grab a strawberry π and let's go.
β¨ NAME β¨
prot_autoc_read_82599 β lowkey hides the MAC differences that are needed for an AUTOC read π«Ά
πΈ SYNOPSIS πΈ
int prot_autoc_read_82599 (struct ixgbe_hw *hw , bool *locked , u32
*reg_val );
π ARGUMENTS π
hwβ pointer to the hardware structure, like the main character of this whole function ngl πlockedβ returns whether we locked for this read, bestie. it's giving "was I locked or not" energy πreg_valβ the value we read from AUTOC β¨
π¦ DESCRIPTION π¦
so for this part specifically β the 82599 β we have to wrap read-modify-writes with a possible FW/SW lock π no cap, it's just how it is.
it is assumed that this lock will be freed with the next prot_autoc_write_82599 β so like, don't leave it hanging, that's the vibe π€
note bestie: locked can only be true in cases where this function doesn't return an error π like, the lock only counts if the read actually succeeded. remember that, it's important fr fr π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c prot_autoc_write_82599(9)ixgbe_init_phy_ops_82599(9)ixgbe_get_link_capabilities_82599(9)ixgbe_get_media_type_82599(9)ixgbe_stop_mac_link_on_d3_82599(9)ixgbe_start_mac_link_82599(9)ixgbe_disable_tx_laser_multispeed_fiber(9)ixgbe_enable_tx_laser_multispeed_fiber(9)ixgbe_flap_tx_laser_multispeed_fiber(9)ixgbe_set_hard_rate_select_speed(9)ixgbe_setup_mac_link_smartspeed(9)ixgbe_setup_mac_link_82599(9)ixgbe_setup_copper_link_82599(9)ixgbe_reset_hw_82599(9)ixgbe_fdir_check_cmd_complete(9)ixgbe_reinit_fdir_tables_82599(9)ixgbe_fdir_enable_82599(9)ixgbe_init_fdir_signature_82599(9)ixgbe_init_fdir_perfect_82599(9)ixgbe_atr_compute_sig_hash_82599(9)ixgbe_fdir_add_signature_filter_82599(9)ixgbe_atr_compute_perfect_hash_82599(9)ixgbe_get_fdirtcpm_82599(9)ixgbe_read_analog_reg8_82599(9)ixgbe_write_analog_reg8_82599(9)ixgbe_start_hw_82599(9)ixgbe_identify_phy_82599(9)ixgbe_enable_rx_dma_82599(9)ixgbe_verify_fw_version_82599(9)ixgbe_verify_lesm_fw_enabled_82599(9)ixgbe_read_eeprom_buffer_82599(9)ixgbe_read_eeprom_82599(9)ixgbe_reset_pipeline_82599(9)ixgbe_read_i2c_byte_82599(9)ixgbe_write_i2c_byte_82599(9)
and that's the whole page bestie, no notes π
π sign-off time π this lil gem comes from the source/version line ./drivers/net/ethernet/intel/i... and it's dated October 2026 β yeah, the future, iconic behavior honestly πβ¨
π¦ 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