bnx2fc_get_link_state(9)
π bnx2fc_get_link_state(9) π
okay so bestie, welcome to the Kernel API Manual β this little cutie lives in bnx2fc_get_link_state(9) and honestly it's giving "small function, big responsibilities" energy. let's get into it β¨
πΈ NAME πΈ
bnx2fc_get_link_state β get network link state, that's it, that's the whole vibe π«Ά
π¦ SYNOPSIS π¦
void bnx2fc_get_link_state (struct bnx2fc_hba *hba );
literally one argument, returns nothing (void), no cap π
π ARGUMENTS π
hbaβ the adapter instance pointer π§ like, the actual adapter we're checking up on, bestie
β DESCRIPTION β
so what does it do? it updates a flag in the adapter structure based on the netdev state π that's the whole plot. the adapter's flag gets refreshed to match whatever the network device is doing right now, and yes that is iconic of it π
ngl this is a tiny function, but it's the kind of tiny function everyone else depends on, so don't sleep on it π
π SEE ALSO π
the whole girlies live in the Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c β go say hi π
bnx2fc_xmit(9)bnx2fc_rcv(9)bnx2fc_percpu_io_thread(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_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)
that's the whole page bestie!! mwah π this one comes straight out of ./drivers/scsi/bnx2fc, dated October 2026 β stay slay, read your man pages, and i'll see you in the next one β¨π
π¦ 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