pch_gbe_set_link_ksettings(9)
π pch_gbe_set_link_ksettings(9) β the Kernel API Manual glow-up β¨
okay so bestie, welcome to the pch_gbe_set_link_ksettings page from the Kernel API Manual π
this is the function that handles device-specific settings and honestly she's giving "quietly important" energy. no cap.
β¨ NAME β¨
pch_gbe_set_link_ksettings β Set device-specific settings π
like, that's her whole job. she sets the device-specific settings. iconic.
π¦ SYNOPSIS π¦
int pch_gbe_set_link_ksettings (struct net_device *netdev , const struct
ethtool_link_ksettings *ecmd );
she takes two things and gives you back an int. the way that signature just sits there. periodt.
π ARGUMENTS π
netdevβ the Network interface device structure π this is the device she's working with, your main character of the moment.ecmdβ the Ethtool command πΈ that's the instruction she's carrying out.
two args, zero drama. we love a low-maintenance queen.
π₯ RETURN π₯
0β Successful β¨ slay, it worked, we're so back.- Negative value β Failed π it's giving "not the vibe" β anything negative means it did not work out.
fr fr bestie, check that return value. 0 = good, negative = bad. that's the whole vibe check right there.
π SEE ALSO π
she lives in the kernel file here, in case you wanna go read her source like the obsessed stan you are π:
- Kernel file
./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c
and her whole friend group π«Ά β the entire ethtool squad, all of them, in this exact order:
pch_gbe_get_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)pch_gbe_get_ethtool_stats(9)
the way that list just goes on and on, honestly goals π
π« cute little sign-off: this page came from./drivers/net/ethernet/oki-sem...and it's dated October 2026, and yes the header sayspch_gbe_set_link_ksettings(9)β three times actually, she's that confident. byeee bestie, go set some device-specific settings π§ββοΈ
π¦ 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