bnx2x_set_power_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… bnx2x_set_power_state β€” like, the Kernel API Manual page, bestie ✨

okay so first of all, hi, welcome to the bnx2x_set_power_state(9) page from the Kernel API Manual 🫢 this is the one that tells your NIC "hey babe, go to sleep" (or "wake up", we love a flexible icon). Pull up a chair, we're getting into it.


✨ NAME ✨

bnx2x_set_power_state β€” literally just sets the power state to whatever value you asked for. that's it. that's the whole job. πŸ’…


🌸 SYNOPSIS 🌸

int bnx2x_set_power_state (struct bnx2x *bp , pci_power_t state );

like, it returns an int, takes your driver handle and the state you want. no cap, that's the whole signature πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • bp β€” the driver handle bestie, your lil all-access pass to the driver πŸ’–
  • state β€” the state you're requesting, and it's gotta be D0 or D3hot (the required ones, fr fr) πŸ¦‹

πŸ’€ DESCRIPTION πŸ’€

so rn, D0 and D3hot are the only ones supported. currently. that's the vibe check and those are the only two that pass 😭 don't come in here asking for anything else, the code is not ready for that conversation.


🌈 SEE ALSO 🌈

okay this list is LONG and honestly kind of iconic, so buckle up β€” and also peep the kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h while you're at it πŸ“βœ¨

like… that's fifty-seven of them. fifty-seven. she has a whole extended universe 😭πŸ”₯ go read them, i'll wait πŸ’œ


okay that's the page!! source path is ./drivers/net/ethernet/broadco... (yes it's truncated in the footer, that's just how she is πŸ₯²), the date on it is October 2026, and this was the bnx2x_set_power_state(9) page, Kernel API Manual edition. mwah πŸ’‹βœ¨ go put that NIC to sleep responsibly bestie πŸ’€πŸŒΈ

πŸ“¦ where this page comes from