_bnx2fc_create(9)
π _bnx2fc_create(9) β like, the whole vibe
okay so bestie, welcome to the Kernel API Manual section 9, and today's main character is _bnx2fc_create. she's a function. she creates things. let's get into it π
β¨ NAME β¨
_bnx2fc_create β Create bnx2fc FCoE interface
that's it, that's the whole job description, and she ate π
πΈ SYNOPSIS πΈ
int _bnx2fc_create (struct net_device *netdev , enum fip_mode fip_mode ,
enum bnx2fc_create_link_state link_state );
three arguments, one int back, no cap. copy it exactly like that if you're writing it down, don't get creative with the spacing, i'm literally begging π
π¦ ARGUMENTS π¦
netdevβ thenet_deviceobject, aka the Ethernet interface you're creating on top of. this is the "where" of the whole situation, yk?fip_modeβ the FIP mode for this creation. it's anenum fip_mode, she has opinions about how you're doing FIP, respect her.link_stateβ the ctlr link state on creation, typedenum bnx2fc_create_link_state. you're telling her what the link looks like at the moment she's born. first impressions fr π
π₯ DESCRIPTION π₯
so when does she get called? two places, bestie, and both of them are entrances to the same party:
- from the
libfcoe'create'module parameter, viafcoe_create - or from
fcoe_syfs'sctlr_createfile
and here's the part where you go "oof" π β libfcoe's 'create' module parameter is deprecated, so some consolidation of code can be done when that interface is removed. that's the plan. that's the tea. the parameter is lowkey on its way out the door πͺ
ngl that deprecated bit is the important part β don't build your whole life on 'create' when she's literally packing her bags, iykyk
π RETURN π
0 for success
that's it. zero. the good number. slay β
π SEE ALSO π
bestie this list is LONG and i'm obsessed, she has so many friends, it's giving squad goals π«Ά
Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c
then, in order, because we respect the order:
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 i said. a whole friend group. every single one of them. no skips π
okay and finally the sign-off because the footer deserves her moment too π§ β this page lives in ./drivers/scsi/bnx2fc, it's dated October 2026, and it's filed under _bnx2fc_create(9). periodt. go create some FCoE interfaces, bestie, you're gonna do amazing πΈπ
π¦ 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