bnx2fc_ctlr_alloc(9)
π bnx2fc_ctlr_alloc(9) β Kernel API Manual π
okay so bestie, welcome to the Kernel API Manual β¨ this page is literally about bnx2fc_ctlr_alloc(9), and it's giving βallocate the thing so you can configure it before you turn it onβ energy π
πΈ NAME πΈ
bnx2fc_ctlr_alloc β allocate a bnx2fc interface from fcoe_sysfs π¦
π« SYNOPSIS π«
int bnx2fc_ctlr_alloc (struct net_device *netdev );
π«Ά ARGUMENTS π«Ά
netdevβ thenet_devicethat's gonna be used by the allocated FCoE Controller. yes, that's the main character device right there π
β¨ DESCRIPTION β¨
So this routine gets called from fcoe_sysfs π§ and what it does is start the fcoe_ctlr in a link_down state. That's lowkey the whole point: it gives the user a moment to configure the FCoE Controller from sysfs before enabling the FCoE Controller. setup era, no cap π
Creating it with this routine starts the FCoE Controller in Fabric mode π₯ From there, the user can change to VN2VN or another mode before enabling. iykyk π
fr fr: the configure-from-sysfs-before-enabling thing is the vibe this routine is serving. don't skip the setup era π«Ά
π SEE ALSO π
- Kernel file:
./drivers/scsi/bnx2fc/bnx2fc_fcoe.c 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_create(9)bnx2fc_find_hba_for_cnic(9)bnx2fc_ulp_exit(9)bnx2fc_fcoe_reset(9)bnx2fc_cpu_online(9)bnx2fc_mod_init(9)
okay that's the whole page β source/version ./drivers/scsi/bnx2fc, dated October 2026, for bnx2fc_ctlr_alloc(9). periodt π«Ά
π¦ 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