iavf_set_ringparam(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– iavf_set_ringparam(9) β€” the Kernel API Manual glow-up ✨

okay bestie, welcome to the Kernel API Manual entry for iavf_set_ringparam β€” it's giving "small function, big responsibilities" and we're gonna get into it πŸŽ€


✨ NAME ✨

iavf_set_ringparam β€” literally just: Set ring parameters πŸ’… no cap, that's the whole job.


🌸 SYNOPSIS 🌸

int iavf_set_ringparam (struct net_device *netdev , struct
       ethtool_ringparam *ring , struct kernel_ethtool_ringparam *kernel_ring ,
       struct netlink_ext_ack *extack );

look at her. four arguments, returns an int, absolutely main character energy πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • netdev β€” the network interface device structure, aka the whole vibe of the NIC you're messing with 🫢
  • ring β€” the ethtool ringparam structure, where the actual ring settings live ✨
  • kernel_ring β€” the ethtool external ringparam structure, the kernel-side counterpart 🧚
  • extack β€” the netlink extended ACK report struct, there to carry back the tea if something goes wrong β˜•πŸ˜­

πŸ’œ DESCRIPTION πŸ’œ

So here's the deal, bestie: this one sets ring parameters. TX and RX rings are controlled separately, which is honestly so iconic of them β€” but plot twist 🫒 the number of rings is not specified, so literally all the rings get the same settings. every single one. same fit, same energy. periodt πŸ’€βœ¨


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, fr fr β€” and yes, we're tagging everyone:

The kernel file: ./drivers/net/ethernet/intel/iavf/iavf_ethtool.c

The struct: struct iavf_stats(9)

Stats crew:

Link + sset + stats getters:

Msglevel besties:

Drvinfo + ringparam twins:

Coalesce squad:

Flow / filter girlies:

rxnfc + ring count + channels:

RSS / rxfh hive:

And the ops-setter herself: iavf_set_ethtool_ops(9)


πŸ’€ reminder that the number of rings isn't a parameter here, so don't come for her asking for per-ring control β€” everybody's getting the same settings, iykyk.

and that's the page, bestie!! πŸ“ this lil rewrite came straight out of ./drivers/net/ethernet/intel/iavf β€” Kernel API Manual, October 2026 edition β€” go drink some water and go read your ring params πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from