pch_gbe_get_ringparam(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pch_gbe_get_ringparam β€” a Kernel API Manual moment ✨

okay so bestie, welcome to pch_gbe_get_ringparam(9) πŸ’… this is a page from the Kernel API Manual and honestly? it's short, it's sweet, it's giving "tiny function, big responsibilities." let me walk you through it 🫢


🌸 NAME 🌸

pch_gbe_get_ringparam β€” report ring sizes πŸ“Šβœ¨ that's it, that's the whole job. it reports ring sizes. iconic behavior, no notes.


πŸŽ€ SYNOPSIS πŸŽ€

void pch_gbe_get_ringparam (struct net_device *netdev , struct
       ethtool_ringparam *ring , struct kernel_ethtool_ringparam *kernel_ring ,
       struct netlink_ext_ack *extack );

so it returns void (meaning: it gives you nothing back, it just does the thing 😌) and it takes four arguments. four! we love a function that knows what it wants. πŸ’œ


✨ ARGUMENTS ✨

  • netdev β€” the network interface device structure πŸ–§ like, the whole entire network device, the main character of this story.
  • ring β€” the ring param structure πŸ’ yes bestie, a ring param structure, we're talking ring sizes here.
  • kernel_ring β€” the ring external param structure πŸ” the kernel-side version of the ring deets.
  • extack β€” netlink handle πŸ“‘ the little handle for netlink stuff, iykyk.

πŸ¦‹ SEE ALSO πŸ¦‹

the source file lives right here, no cap:

  • Kernel file ./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c πŸ“

and the whole friend group / family of related calls, all of them, in order πŸ’–:

note that pch_gbe_set_ringparam(9) is the setter to this getter, so they're literally a matched set πŸŽ€πŸ’… go read that one too, bestie, it's the whole vibe check.

and that's the page!! short and slay 🌈 before you go, a cute little sign-off from the footer, because the fine print deserves love too: this one's sourced from ./drivers/net/ethernet/oki-sem..., it's dated October 2026, and it's the pch_gbe_get_ringparam(9) page out of the Kernel API Manual πŸ‘‘ mwah, go report some ring sizes, ily, bye πŸ“πŸ§š

πŸ“¦ where this page comes from