bnx2i_get_link_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual β€” yes that's the manual name, and yes we're in it 🫢 this whole page is about one tiny little function from bnx2i_get_link_state(9) and honestly? she's short but she matters.


🌸 NAME 🌸

bnx2i_get_link_state β€” get network interface link state πŸ’« (yes literally, that's the whole vibe: it goes and finds out what the link is doing)


πŸŽ€ SYNOPSIS πŸŽ€

void bnx2i_get_link_state (struct bnx2i_hba *hba );

that's it. that's the whole call. no return value, no drama, no cap πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • hba β€” the adapter instance pointer, aka the little handle that says which adapter we're talking about 🫢

πŸ’– DESCRIPTION πŸ’–

so what she does is: updates the adapter structure flag based on the netdev state ✨

that's the entire job, and she does it flawlessly. it's giving "small function with main character energy" πŸ‘‘ the adapter's flag gets refreshed to match whatever the netdev state currently is, and then she's done. iconic behavior honestly πŸ’…


🌈 SEE ALSO 🌈

if you're the kind of person who reads the whole friend group, here's everybody β€” go say hi 🫢

and also the kernel file itself, bestie: ./drivers/scsi/bnx2i/bnx2i_hwi.c πŸ“βœ¨


iykyk note: every one of those (9) refs lives in that same corner of the tree β€” <cyan>./drivers/scsi/bnx2i</cyan> β€” so if you're going hunting, that's where the whole squad hangs out 🧚

that's the page, bestie!! this lil beauty ships out of ./drivers/scsi/bnx2i, dated October 2026, and she answers to the name bnx2i_get_link_state(9) πŸ’– mwah, go check that link state, slay πŸŽ€βœ¨

πŸ“¦ where this page comes from