hns_nic_set_link_ksettings(9)
π hns_nic_set_link_ksettings(9) π
okay so welcome to hns_nic_set_link_ksettings(9), straight out of the Kernel API Manual β manual name folded in near the top, cute and accounted for. This is the little kernel function that implements ethtool set link ksettings, and we're gonna go through it with the quickness. β¨
πΈ NAME πΈ
hns_nic_set_link_ksettings β implement ethtool set link ksettings. that's the assignment, no cap. π
β¨ SYNOPSIS β¨
here's the signature, copied exactly, character-for-character, because we do not play about code in this group chat:
int hns_nic_set_link_ksettings (struct net_device *net_dev , const
struct ethtool_link_ksettings *cmd );
π ARGUMENTS π
net_devβ anet_device. that's the whole note for this one, bestie.cmdβ anethtool_link_ksettings; the page's return note is literallyretuen 0 - success , negative --failβ so0is the success slay and negative is the--failcase π.
tiny bestie heads-up: that retuen spelling? it's in the original, so i'm keeping it exactly. periodt. π«Ά
π¦ SEE ALSO π¦
the kernel file is ./drivers/net/ethernet/hisilicon/hns/hns_ethtool.c, and these are the whole SEE ALSO crew β every single one, no skipping:
hns_nic_get_link(9)hns_nic_get_link_ksettings(9)__lb_run_test(9)hns_nic_self_test(9)hns_nic_get_drvinfo(9)hns_get_ringparam(9)hns_get_pauseparam(9)hns_set_pauseparam(9)hns_get_coalesce(9)hns_set_coalesce(9)hns_get_channels(9)hns_get_ethtool_stats(9)hns_get_strings(9)hns_get_sset_count(9)hns_phy_led_set(9)hns_set_phys_id(9)hns_get_regs(9)hns_get_regs_len(9)hns_nic_nway_reset(9)
okay that's the whole page, bestie π«Ά β source/version: ./drivers/net/ethernet/hisilic..., date: October 2026, and the manual is hns_nic_set_link_ksettings(9). periodt. π
π¦ 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