__iavf_get_coalesce(9)
π __iavf_get_coalesce(9) β like, the kernel API manual, bestie π
okay so picture this: you're deep in the iavf driver, everything's fine, and then someone's like "hey what are the coalesce settings for this queue" β and THAT, bestie, is where __iavf_get_coalesce swoops in. it's a function in the kernel API manual, not a command you type in your shell, so don't go mashing it into a terminal, okay? π«Ά
β¨ SYNOPSIS β¨
int __iavf_get_coalesce (struct net_device *netdev , struct
ethtool_coalesce *ec , int queue );
that's the whole signature, no cap. three args, one int coming back at you. πΈ
π ARGUMENTS π
netdevβ the netdev to check. like, this is the device we're snooping on. πecβ the ethtool coalesce data structure. this is where the goods get dropped off. it's giving "output parameter main character energy". β¨queueβ which queue to pick. you want queue 7's vibe? say 7. simple as that. π
π¦ DESCRIPTION π¦
so what does it actually do? it gets the per-queue settings for coalescence. and here's the tea: specifically, the Rx and Tx usecs are per queue. that's the whole point of the thing β per-queue granularity, not some one-size-fits-all global number. π
and because kernel devs are thoughtful like that: if queue is <0 then we default to queue 0 as the representative value. so negative queue = "just gimme the vibe of queue 0 and we'll call it a day." easy. no error, no drama, just a fallback. π§
ngl this one's a getter β it reads stuff out. it doesn't set anything, so you're not gonna accidentally break your coalescing by calling it. still, respect the API, bestie. π
β SEE ALSO β
everything's chillin' in the kernel file ./drivers/net/ethernet/intel/iavf/iavf_ethtool.c, and these are all the siblings in the family group chat:
struct iavf_stats(9)iavf_add_one_ethtool_stat(9)__iavf_add_ethtool_stats(9)iavf_add_ethtool_stats(9)iavf_add_queue_stats(9)__iavf_add_stat_strings(9)iavf_add_stat_strings(9)iavf_get_link_ksettings(9)iavf_get_sset_count(9)iavf_get_ethtool_stats(9)iavf_get_stat_strings(9)iavf_get_strings(9)iavf_get_msglevel(9)iavf_set_msglevel(9)iavf_get_drvinfo(9)iavf_get_ringparam(9)iavf_set_ringparam(9)iavf_get_coalesce(9)iavf_get_per_queue_coalesce(9)iavf_set_itr_per_queue(9)__iavf_set_coalesce(9)iavf_set_coalesce(9)iavf_set_per_queue_coalesce(9)iavf_fltr_to_ethtool_flow(9)iavf_ethtool_flow_to_fltr(9)iavf_is_mask_valid(9)iavf_parse_rx_flow_user_data(9)iavf_fill_rx_flow_ext_data(9)iavf_get_ethtool_fdir_entry(9)iavf_get_fdir_fltr_ids(9)iavf_add_fdir_fltr_info(9)iavf_add_fdir_ethtool(9)iavf_del_fdir_ethtool(9)iavf_set_rxnfc(9)iavf_get_rx_ring_count(9)iavf_get_rxnfc(9)iavf_get_channels(9)iavf_set_channels(9)iavf_get_rxfh_key_size(9)iavf_get_rxfh_indir_size(9)iavf_get_rxfh(9)iavf_set_rxfh(9)iavf_set_ethtool_ops(9)
like, the whole iavf_ethtool.c squad is here. read them all. or don't. i'm a manpage, not a cop. π
and that's a wrap, bestie!! πβ¨ this lil' page lives in ./drivers/net/ethernet/intel/iavf, dated October 2026 β mwah, love that for us. go forth and coalesce responsibly ππ¦π
π¦ 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