hns_get_coalesce(9)
π hns_get_coalesce β get coalesce info β¨
okay so bestie, this is a page straight out of the Kernel API Manual, section 9, and it's literally about asking your NIC "hey babe, what's your coalesce situation?" π It's hns_get_coalesce(9) and she's adorable, let's get into it.
πΈ NAME πΈ
hns_get_coalesce β get coalesce info. that's it, that's the whole vibe. π
β¨ SYNOPSIS β¨
int hns_get_coalesce (struct net_device *net_dev , struct
ethtool_coalesce *ec , struct kernel_ethtool_coalesce *kernel_coal ,
struct netlink_ext_ack *extack );
no cap, that's the exact signature, copy it character for character or the compiler will simply end you π
π«Ά ARGUMENTS π«Ά
four args, all main characters, let's do a little vibe check on each one:
net_devβ the net device. the network device in question. the girlies. πecβ coalesce info. yes queen, that's the coalesce info right there. πkernel_coalβ the ethtool CQE mode setting structure. fancy. πextackβ extack for reporting error messages. she's the one who tells you when something went wrong, and honestly? we stan an honest communicator. π
π₯ DESCRIPTION π₯
Return 0 on success, negative on failure.
that's literally the whole description bestie β success gets you a clean 0, failure gets you a negative number and a little heartbreak π fr fr, that's all she wrote.
π¦ SEE ALSO π¦
the whole friend group, in the order the kernel shipped them:
- Kernel file
./drivers/net/ethernet/hisilicon/hns/hns_ethtool.c 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_ringparam(9),hns_get_pauseparam(9),hns_set_pauseparam(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 read them all, iykyk. siblings, not duplicates β every single one is doing her own thing. π
β so that's the page! source and version live at ./drivers/net/ethernet/hisilic... (yes, that's genuinely how it's truncated in the footer, don't come for me π), dated October 2026, and the footer title is hns_get_coalesce(9). slay, iconic, 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