igc_setup_link(9)
π igc_setup_link(9) π
okay so bestie, welcome to the Kernel API Manual β this is the igc_setup_link page and honestly it's giving "networking glow-up" β¨
π NAME π
igc_setup_link β setup flow control and link settings π¦
β¨ SYNOPSIS β¨
s32 igc_setup_link (struct igc_hw *hw );
like, that's the whole vibe. one function, one struct pointer, and yes it returns an s32 π
πΈ ARGUMENTS πΈ
hwβ pointer to the HW structure π«Ά that's it, that's the argument, it's the hardware struct and she's the main character of this whole page
π DESCRIPTION π
so here's the tea β β igc_setup_link figures out which flow control settings to use, and then it configures flow control. no cap, that's the job.
after that it calls the appropriate media-specific link configuration function β¨ (media-specific, so like, it picks the right one for the job, iykyk).
assuming the adapter has a valid link partner, a valid link should be established π₯ β key word assuming, bestie, she's not out here guaranteeing anything.
β also important: this function assumes the hardware has previously been reset and that the transmitter and receiver are not enabled. so like, do your homework first, don't just roll up π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/igc/igc_mac.cπ igc_disable_pcie_master(9)igc_init_rx_addrs(9)igc_set_fc_watermarks(9)igc_force_mac_fc(9)igc_clear_hw_cntrs_base(9)igc_rar_set(9)igc_check_for_copper_link(9)igc_config_collision_dist(9)igc_config_fc_after_link_up(9)igc_get_auto_rd_done(9)igc_get_speed_and_duplex_copper(9)igc_put_hw_semaphore(9)igc_enable_mng_pass_thru(9)igc_hash_mc_addr(9)igc_update_mc_addr_list(9)
π okay that's the whole page, you ate that π
this came out of ./drivers/net/ethernet/intel/igc and it's dated October 2026 β so like, future core, iconic behavior πβ¨ bye bestie π
π¦ 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