bnx2x_link_test(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes, that's the manual name, and you're literally reading section 9 of it. Get comfy πŸŽ€


🌸 NAME 🌸

bnx2x_link_test β€” it queries the link status, that's the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

u8 bnx2x_link_test (struct bnx2x *bp , u8 is_serdes );

like yes that's the actual signature, copy it exactly, no cap πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • bp β€” the driver handle. your lil main character pointer 🫢
  • is_serdes β€” a bool. iconic, self-explanatory, we move 😭

πŸ¦‹ DESCRIPTION πŸ¦‹

it returns 0 if the link is UP. that's it. that's the function. periodt πŸ’€βœ¨


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file, bestie, right here:

./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h

and now the whole friend group β€” every single one of these man pages, no skipping, i would never πŸ™ˆ:


and that's the page, bestie!! 🌈⭐ before you close the tab: this little beauty is dated October 2026 πŸ’– and it comes to you from the kernel source tree β€” specifically that <pink>./drivers/net/ethernet/broadco...</pink> path in the footer (yes it's truncated, that's how the footer rolls, i don't make the rules πŸ™ˆ). ok bye, go check your link status πŸ’…πŸ«Ά

πŸ“¦ where this page comes from