hns_nic_get_drvinfo(9)
okay so bestie, welcome to hns_nic_get_drvinfo(9) β yes that's the page, and yes it's from the Kernel API Manual πβ¨. This one's short and sweet, so let's get into it, no cap.
πΈ NAME πΈ
hns_nic_get_drvinfo β get net driver info π
That's literally the whole name section. Short. Iconic. Periodt.
π¦ SYNOPSIS π¦
void hns_nic_get_drvinfo (struct net_device *net_dev , struct
ethtool_drvinfo *drvinfo );
So it returns void β nothing comes back, she just does her thing π«Ά β and she takes two arguments. Copy it exactly, bestie, don't be out here retyping the * in the wrong spot π
π ARGUMENTS π
net_devβ the net device, like, the whole reason we're here πdrvinfoβ the driver info, which is the thing getting filled in π
Both pointers. Both required. That's the lineup, and honestly? Chef's kiss. π
β SEE ALSO β
The source lives in this kernel file, go yell at it if something's weird:
./drivers/net/ethernet/hisilicon/hns/hns_ethtool.c
And here's the whole friend group of related functions β every single one of them, in order, exactly as listed, because I would never do you dirty like that π§:
hns_nic_get_link(9)hns_nic_get_link_ksettings(9)hns_nic_set_link_ksettings(9)__lb_run_test(9)hns_nic_self_test(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)
Like, that's a whole squad. Genuinely obsessed. π
ngl there's no OPTIONS section here and no exit statuses either β this page is exactly what you see, bestie, and the vibe check came back clean β¨
mwah π that's a wrap! This lil page is brought to you by the source path ./drivers/net/ethernet/hisilic... (yes it's truncated like that in the original, I don't make the rules π) and it's dated October 2026 ποΈ β see you in the group chat, love u, bye! π¦ππ
π¦ 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