e1000e_get_s...uplex_copper(9)
π NAME π
okay so bestie, gather round β this page is all about e1000e_get_speed_and_duplex_copper, and what it does is literally just retrieve current speed/duplex. that's the whole vibe. networking detective work, but make it chic. β¨
(this is the Kernel API Manual page for it, btw β the name at the top got cut off all dramatically like e1000e_get_s...uplex_copper(9), but we know her full name now π)
β¨ SYNOPSIS β¨
s32 e1000e_get_speed_and_duplex_copper (struct e1000_hw *hw , u16 *speed
, u16 *duplex );
she takes three things and returns an s32, no cap. π«Ά
π ARGUMENTS π
hwβ pointer to the HW structure π like, the hardware itself, hand-deliveredspeedβ stores the current speed β‘ this is where the answer goesduplexβ stores the current duplex π₯ and this is where the other answer goes
π¦ DESCRIPTION π¦
so what's actually happening: it reads the status register for the current speed/duplex, and then stores the current speed and duplex for copper connections. πβ¨ that's it, that's the function β read the register, stash the values, slay.
copper connections only, bestie β note that, it matters. πΈ
π SEE ALSO π
the kernel file lives at ./drivers/net/ethernet/intel/e1000e/mac.c β that's home base π and here's the whole friend group, every single one of them, no gatekeeping:
e1000e_get_bus_info_pcie(9)e1000_set_lan_id_multi_port_pcie(9)e1000_set_lan_id_single_port(9)e1000_clear_vfta_generic(9)e1000_write_vfta_generic(9)e1000e_init_rx_addrs(9)e1000_check_alt_mac_addr_generic(9)e1000e_rar_set_generic(9)e1000_hash_mc_addr(9)e1000e_update_mc_addr_list_generic(9)e1000e_clear_hw_cntrs_base(9)e1000e_check_for_copper_link(9)e1000e_check_for_fiber_link(9)e1000e_check_for_serdes_link(9)e1000_set_default_fc_generic(9)e1000e_setup_link_generic(9)e1000_commit_fc_settings_generic(9)e1000_poll_fiber_serdes_link_generic(9)e1000e_setup_fiber_serdes_link(9)e1000e_config_collision_dist_generic(9)e1000e_set_fc_watermarks(9)e1000e_force_mac_fc(9)e1000e_config_fc_after_link_up(9)e1000e_get_speed_and_duplex_fiber_serdes(9)e1000e_get_hw_semaphore(9)e1000e_put_hw_semaphore(9)e1000e_get_auto_rd_done(9)e1000e_valid_led_default(9)e1000e_id_led_init_generic(9)e1000e_setup_led_generic(9)e1000e_cleanup_led_generic(9)e1000e_blink_led_generic(9)e1000e_led_on_generic(9)e1000e_led_off_generic(9)e1000e_set_pcie_no_snoop(9)e1000e_disable_pcie_master(9)e1000e_reset_adaptive(9)e1000e_update_adaptive(9)
like, that's the whole group chat right there β iykyk ππ
π signing off from ./drivers/net/ethernet/intel/e..., October 2026 β the source/version and date, both of them, respectfully, delivered with a little curtsey. bye bestie, go read that status register π§ββοΈβπ
π¦ 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