hns_nic_adjust_link(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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:


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