igb_get_pcs_...duplex_82575(9)
π NAME π
igb_get_pcs_speed_and_duplex_82575 β bestie, this one grabs the current speed and duplex for you β¨
Okay so real quick, before we dive in: this whole page lives in the Kernel API Manual, which is giving very much "the docs that ship with the kernel" energy π and we're about to get into the PCS of it all.
πΈ SYNOPSIS πΈ
s32 igb_get_pcs_speed_and_duplex_82575 (struct e1000_hw *hw , u16 *speed
, u16 *duplex );
That's the whole vibe right there π
π¦ ARGUMENTS π¦
hwβ pointer to the HW structure π that's your hardware context, the main character of this whole operation.speedβ stores the current speed π like, it writes the speed back through this pointer, no cap.duplexβ stores the current duplex π same deal, the duplex value gets dropped in here.
β¨ DESCRIPTION β¨
Okay so here's the tea β β using the physical coding sub-layer (PCS), this function retrieves the current speed and duplex, then stores those values in the pointers you provided π«Ά
That's it. That's the function. Lowkey iconic in its simplicity honestly π
It doesn't set anything, it doesn't configure anything, it just goes and asks the PCS what's up and reports back through speed and duplex. A little messenger. A lil scout. Very demure πΈ
π SEE ALSO π
Buckle up bestie, this list is LONG and we are NOT skipping any of it π every single one, fr fr:
- Kernel file
./drivers/net/ethernet/intel/igb/e1000_82575.cπ igb_write_vfta_i350(9),igb_sgmii_uses_mdio_82575(9),igb_check_for_link_media_swap(9),igb_init_phy_params_82575(9),igb_init_nvm_params_82575(9),igb_init_mac_params_82575(9),igb_set_sfp_media_type_82575(9),igb_acquire_phy_82575(9),igb_release_phy_82575(9),igb_read_phy_reg_sgmii_82575(9),igb_write_phy_reg_sgmii_82575(9),igb_get_phy_id_82575(9),igb_phy_hw_reset_sgmii_82575(9),igb_set_d0_lplu_state_82575(9),igb_set_d0_lplu_state_82580(9),igb_set_d3_lplu_state_82580(9),igb_acquire_nvm_82575(9),igb_release_nvm_82575(9),igb_acquire_swfw_sync_82575(9),igb_release_swfw_sync_82575(9),igb_get_cfg_done_82575(9),igb_get_link_up_info_82575(9),igb_check_for_link_82575(9),igb_power_up_serdes_link_82575(9),igb_shutdown_serdes_link_82575(9),igb_reset_hw_82575(9),igb_init_hw_82575(9),igb_setup_copper_link_82575(9),igb_setup_serdes_link_82575(9),igb_sgmii_active_82575(9),igb_reset_init_script_82575(9),igb_read_mac_addr_82575(9),igb_power_down_phy_copper_82575(9),igb_clear_hw_cntrs_82575(9),igb_rx_fifo_flush_82575(9),igb_set_pcie_completion_timeout(9),igb_vmdq_set_anti_spoofing_pf(9),igb_vmdq_set_loopback_pf(9),igb_vmdq_set_replication_pf(9),igb_read_phy_reg_82580(9),igb_write_phy_reg_82580(9),igb_reset_mdicnfg_82580(9),igb_reset_hw_82580(9),igb_rxpbs_adjust_82580(9),igb_validate_nvm_checksum_with_offset(9),igb_update_nvm_checksum_with_offset(9),igb_validate_nvm_checksum_82580(9),igb_update_nvm_checksum_82580(9),igb_validate_nvm_checksum_i350(9),igb_update_nvm_checksum_i350(9),__igb_access_emi_reg(9),igb_read_emi_reg(9),igb_set_eee_i350(9),igb_set_eee_i354(9),igb_get_eee_status_i354(9),igb_get_thermal_sensor_data_generic(9),igb_init_thermal_sensor_thresh_generic(9)π
Like I said. LONG. But we ate and left no crumbs π
Heads up bestie π β this page is from the kernel's own API docs (Kernel API Manual), and the whole thing lives under ./drivers/net/ethernet/intel/igb. The docs are dated October 2026, so likeβ¦ future vibes π¦
That's the whole thing! Go forth and go get that speed and duplex, queen πβ¨
π¦ 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