pch_gbe_get_ethtool_stats(9)
π pch_gbe_get_ethtool_stats(9) β a Kernel API Manual moment π
okay so bestie, welcome to the Kernel API Manual entry for pch_gbe_get_ethtool_stats(9) β yes the whole function name is the title, we're doing full government name energy today π
β¨ NAME β¨
pch_gbe_get_ethtool_stats β returns statistics about the device ππ
like, it literally goes and fetches the stats for your device. that's the whole vibe check.
π¦ SYNOPSIS π¦
void pch_gbe_get_ethtool_stats (struct net_device *netdev , struct
ethtool_stats *stats , u64 *data );
it returns void btw β no return value, she just does the thing and leaves. main character behavior honestly π«Ά
πΈ ARGUMENTS πΈ
netdevβ the network interface device structure π»β¨ this is thestruct net_device *bestie, the actual device we're snooping onstatsβ the ethtool statue structure πΏ (yes the original says "statue", we're keeping it, it's iconic, no cap) β this is thestruct ethtool_stats *dataβ pointer of read status area π this is youru64 *, the place where the read status lives
π SEE ALSO π
the kernel file that houses all this goodness, iykyk:
./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c π
and the whole friend group of functions that hang out with it, literally the entire squad:
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_set_ringparam(9)pch_gbe_get_pauseparam(9)pch_gbe_set_pauseparam(9)pch_gbe_get_strings(9)
π friendly reminder:pch_gbe_get_ethtool_statsgives you backvoid, so don't go looking for a return value, she's not giving you one π
and that's the page! signing off from ./drivers/net/ethernet/oki-sem... dated October 2026, on the pch_gbe_get_ethtool_stats(9) footer tip β slay, go read your device stats responsibly bestie ππ¦β¨
π¦ 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