pch_gbe_get_ringparam(9)
π 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 π:
pch_gbe_get_link_ksettings(9)pch_gbe_set_link_ksettings(9)pch_gbe_get_regs_len(9)pch_gbe_get_drvinfo(9)pch_gbe_get_regs(9)pch_gbe_get_wol(9)pch_gbe_set_wol(9)pch_gbe_nway_reset(9)pch_gbe_set_ringparam(9)pch_gbe_get_pauseparam(9)pch_gbe_set_pauseparam(9)pch_gbe_get_strings(9)pch_gbe_get_ethtool_stats(9)
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
- 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