bnx2fc_get_src_mac(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ bnx2fc_get_src_mac β€” the Kernel API Manual edition, bestie πŸŽ€

Okay so picture this: you're deep in the kernel, it's a Kernel API Manual moment, and you just need the ethernet source address for an lport. That's it. That's the whole vibe. This tiny icon is literally just handing you a MAC address pointer and minding its own business. Obsessed. ✨


🌸 NAME 🌸

bnx2fc_get_src_mac β€” returns the ethernet source address for an lport, no cap πŸ’…


✨ SYNOPSIS ✨

u8 * bnx2fc_get_src_mac (struct fc_lport *lport );

Like, that's the entire call. One function, one argument, one u8 * coming back at you. Slay. πŸ¦‹


🫢 ARGUMENTS 🫢

  • lport β€” a libfc port. That's the whole thing, she's the main character here πŸ‘‘

🌈 SEE ALSO 🌈

Alright bestie, buckle up, because this list is long and every single one of them is invited to the group chat πŸ’–

First, the home base:

Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c

Then the whole squad:

(Yes, _bnx2fc_create(9) and bnx2fc_create(9) are both there. Different functions, underscore bestie is not the same as no-underscore bestie. Do not mix them up πŸ™ˆ)


ngl, this one is short and sweet β€” but don't let the tiny synopsis fool you, the SEE ALSO section is doing the most and honestly? respect πŸ”₯

That's the whole page, bestie β€” go get that source MAC πŸ’…βœ¨


πŸ’Œ cute lil sign-off: this page lives over in ./drivers/scsi/bnx2fc, dated October 2026, and ya girl bnx2fc_get_src_mac(9) says byeeee πŸŽ€πŸŒ·

πŸ“¦ where this page comes from