bnx2fc_create(9)
π bnx2fc_create(9) β the Kernel API Manual, bestie edition β¨
okay so we're in the Kernel API Manual today and the function we're stanning is bnx2fc_create. yes it's a manpage, yes it's giving "read me or perish," but honestly? it's short and it ate. let's go π
πΈ NAME πΈ
bnx2fc_create β literally just: create a bnx2fc interface. that's the whole vibe. no notes. π
β¨ SYNOPSIS β¨
int bnx2fc_create (struct net_device *netdev , enum fip_mode fip_mode );
look at her. two args, returns an int. main character energy fr fr π
π¦ ARGUMENTS π¦
netdevβ thenet_deviceobject, aka the Ethernet interface you're building on top of. this is your canvas, your foundation, your whole moment πfip_modeβ thefip_modefor this creation. yes, it's the FIP mode for this specific creation, very bespoke, very curated π
π DESCRIPTION π
Called from fcoe transport. that's it. that's the description. she's mysterious, she's concise, she's not elaborating πβ¨
β RETURN β
0 for success. that's the only return value documented, so if you get something else... idk bestie, the manpage isn't telling us π
π SEE ALSO π
Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c, plus the whole extended universe of functions β this is the bnx2fc cinematic universe and you will be reading all of it:
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_get_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_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)
like, twenty-five friends and every single one of them is invited to the function party π«Άπ₯
ngl the whole page is short enough to read in one sip of your iced coffee, so no excuses bestie βπ
and that's the page! huge thank you to ./drivers/scsi/bnx2fc for hosting, dated October 2026 β mwah, slay, periodt, go create some interfaces responsibly π
ππ¦
π¦ 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