i40e_get_coalesce(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– i40e_get_coalesce(9) πŸ’–

okay so this is a page from the Kernel API Manual β€” yes, the kernel has its own manual, she's iconic like that πŸ’…


✨ NAME ✨

i40e_get_coalesce β€” literally just goes and grabs a netdev's coalesce settings 🫢


🌸 SYNOPSIS 🌸

int i40e_get_coalesce (struct net_device *netdev , struct
       ethtool_coalesce *ec , struct kernel_ethtool_coalesce *kernel_coal ,
       struct netlink_ext_ack *extack );

like, she takes four things and returns an int, no cap ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • netdev β€” the netdev bestie you wanna check πŸ‘€
  • ec β€” the ethtool coalesce data structure, that's her whole personality
  • kernel_coal β€” the ethtool CQE mode setting structure πŸ¦‹
  • extack β€” the extack, there so error messages can actually be reported back to you πŸ’Œ

πŸ’œ DESCRIPTION πŸ’œ

So basically it gets the coalesce settings for a particular netdev. That's the whole vibe. 🌈

⚠️ but lowkey important: if the user has modified per-queue settings, this only guarantees to represent queue 0. fr fr, queue 0 only. 😭

if you want more details, go see __i40e_get_coalesce β€” she's the main character here πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file ./drivers/net/ethernet/intel/i40e/i40e_ethtool.c, and honestly the whole friend group:

like, that's a whole friend group and every single one of them ate πŸ’…


and that's the tea, bestie πŸ“ this lil page comes courtesy of ./drivers/net/ethernet/intel/i40e and it's dated October 2026 β€” she's from the future, we love that for her πŸ§šπŸ’œ mwah, bye! πŸ’–

πŸ“¦ where this page comes from