hns_nic_adjust_link(9)
π hns_nic_adjust_link(9) β like, the kernel API manual bestie β¨
Okay so welcome to the glow-up of hns_nic_adjust_link, straight out of the Kernel API Manual (section 9, kernel-space girlies only π). This one's short and sweet, so let's get into it.
πΈ NAME πΈ
hns_nic_adjust_link β adjust net work mode by the phy stat or new param
Like literally, it tweaks the network working mode based on what the PHY status is saying, or based on a new param you hand it. Vibe check on the link, basically π₯
β¨ SYNOPSIS β¨
void hns_nic_adjust_link (struct net_device *ndev );
That's the whole signature, no cap. Returns void β it gives you nothing back, it just does the thing π
π¦ ARGUMENTS π¦
ndevβ the net device. Like, the network device you're adjusting. That's it, that's the whole argument list π«Ά
π SEE ALSO π
Sending you to the source, bestie:
- Kernel file
./drivers/net/ethernet/hisilicon/hns/hns_enet.c
And the whole friend group of related calls:
smooth_alg(9)hns_nic_adpt_coalesce(9)hns_nic_init_phy(9)hns_nic_clear_all_rx_fetch(9)hns_set_multicast_list(9)hns_tx_timeout_reset(9)
ngl this page is short but she ate. Go read the others if you want the full lore π
Sign-off time, mwah π This iconic little page came from ./drivers/net/ethernet/hisilic... and it's dated October 2026 β so yeah, she's from the future, main character energy fr fr ππβ
π¦ 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