pch_gbe_set_ringparam(9)
π« 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. Returns0: 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:
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_get_ringparam(9)pch_gbe_get_pauseparam(9)pch_gbe_set_pauseparam(9)pch_gbe_get_strings(9)pch_gbe_get_ethtool_stats(9)
it's giving pch_gbe ethtool extended universe and i'm obsessed. π
real talk though π β thatextackline 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:0good, 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
- 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