pch_gbe_set_ringparam(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« pch_gbe_set_ringparam(9) β€” the Kernel API Manual glow-up πŸ’«

okay so bestie, welcome to pch_gbe_set_ringparam(9), a page straight out of the Kernel API Manual and honestly? it's giving "small function, big responsibilities." she sets ring sizes. that's the whole job. periodt. πŸ’…


✨ NAME ✨

pch_gbe_set_ringparam β€” Set ring sizes 🌸

like, literally that's it, that's her whole arc, and she ate.


πŸ¦‹ SYNOPSIS πŸ¦‹

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

four arguments, one int coming back at you, no cap. πŸ”₯


πŸ’– ARGUMENTS πŸ’–

  • netdev β€” the Network interface device structure, aka the main character of this whole function. 🫢
  • ring β€” the Ring param structure. yes queen, the ring params.
  • kernel_ring β€” the Ring external param structure. (lowkey the cool mysterious one.)
  • extack β€” the netlink handle. Returns 0: Successful. Negative value: Failed. 😭 that's the vibe check right there β€” zero means slay, negative means not slay.
heads up bestie: the return info lives right up in that last argument line in the original, so i'm keeping it exactly where you'd expect to find it β€” 0 = Successful, negative value = Failed, fr fr.

🌈 SEE ALSO 🌈

kernel file, right here, iconic path and all:

./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c

and the whole friend group, the full squad, nobody left out:

it's giving pch_gbe ethtool extended universe and i'm obsessed. πŸ‘‘


real talk though πŸ’€ β€” that extack line does double duty up there (it's the netlink handle and it's carrying the return contract). don't let the cute formatting make you miss it: 0 good, negative bad. iykyk.

πŸŽ€ that's the whole page, bestie πŸŽ€ β€” source/version ./drivers/net/ethernet/oki-sem..., dated October 2026, and the header herself is pch_gbe_set_ringparam(9) from the Kernel API Manual. go forth and set those ring sizes, mwah πŸ’œπŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from