bnx2fc_get_src_mac(9)
π 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β alibfcport. 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:
bnx2fc_xmit(9)bnx2fc_rcv(9)bnx2fc_percpu_io_thread(9)bnx2fc_get_link_state(9)bnx2fc_indicate_netevent(9)bnx2fc_fip_recv(9)bnx2fc_update_src_mac(9)bnx2fc_fip_send(9)bnx2fc_hba_create(9)bnx2fc_if_create(9)bnx2fc_destroy(9)bnx2fc_bind_adapter_devices(9)bnx2fc_ulp_get_stats(9)bnx2fc_ulp_start(9)bnx2fc_ulp_stop(9)bnx2fc_ulp_init(9)bnx2fc_ctlr_enabled(9)_bnx2fc_create(9)bnx2fc_create(9)bnx2fc_ctlr_alloc(9)bnx2fc_find_hba_for_cnic(9)bnx2fc_ulp_exit(9)bnx2fc_fcoe_reset(9)bnx2fc_cpu_online(9)bnx2fc_mod_init(9)
(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
- 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