hns_get_ringparam(9)
π hns_get_ringparam(9) π
okay bestie, welcome to section 9 of the Kernel API Manual β the kernel API zone, where all the driver lore lives. today's main character is hns_get_ringparam, and honestly? it's giving "quiet little getter that just wants to hand you your ring params." no cap. π
β¨ NAME β¨
hns_get_ringparam β get ring parameter πΈ
like, that's literally the whole job. it gets the ring parameter. lowkey iconic for that.
π¦ SYNOPSIS π¦
void hns_get_ringparam (struct net_device *net_dev , struct
ethtool_ringparam *param , struct kernel_ethtool_ringparam *kernel_param
, struct netlink_ext_ack *extack );
notice that it returns void, bestie β it's not here to give you a status code, it's here to fill in your structs. main character energy. π₯
π ARGUMENTS π
four arguments. four. we love a structured queen. π
net_devβ the net device. the whole reason we're here fr fr. πparamβ the ethtool parameter. this is the one getting the goods. β¨kernel_paramβ the ethtool external parameter. yes, external. a separate thing. don't mix them up, i'm begging πextackβ the netlink extended ACK report struct. it's the receipt, basically. π§
π SEE ALSO π
bestie. buckle up. the hns family is huge and everyone wants a shoutout. π
Kernel file ./drivers/net/ethernet/hisilicon/hns/hns_ethtool.c β that's the source of truth, go read it, iykyk. π
and now the whole group chat:
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_nic_get_drvinfo(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)
go off, hns fam. π«Άπ
aaaand that's the page!! π this lil beauty came from ./drivers/net/ethernet/hisilic... (yes, it's truncated like that, don't come for me π) and it's dated October 2026 β mark your calendars bestie, this manual page is a whole era. βπ
β¨
π¦ 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