bnx2fc_indicate_netevent(9)
π bnx2fc_indicate_netevent(9) β the Kernel API Manual entry you didn't know you needed
okay so bestie, welcome to the Kernel API Manual β¨ and tbh this page is about one very specific lil function: bnx2fc_indicate_netevent. it's in section 9 (kernel API, iykyk) and honestly? it's giving "quietly holding the whole netdev situation together." π«Ά
πΈ NAME πΈ
bnx2fc_indicate_netevent β the generic netdev event handler, no cap π
the way this function's whole job is just being the one who picks up the phone when the network device has news. iconic behavior honestly π
π SYNOPSIS π
void bnx2fc_indicate_netevent (void *context , unsigned long event , u16
vlan_id );
yes she takes three args and returns void β she does the work and doesn't need a receipt, periodt π
π¦ ARGUMENTS π¦
contextβ adapter structure pointer π like, the whole adapter's vibe in one pointer, you know?eventβ event type π this is the actual "what happened" of it allvlan_idβ vlan id, specifically the vlan id associated with this event π so like, which vlan are we talking about here
π₯ DESCRIPTION π₯
okay so here's the tea β β this handler deals with:
NETDEV_UPβNETDEV_DOWNβNETDEV_GOING_DOWNβNETDEV_CHANGEβNETDEV_CHANGE_MTUβ
β¦and it handles NETDEV_UNREGISTER only for vlans π like, only for the vlan girlies, nobody else. that's the whole rule, no exceptions, fr fr.
ngl that vlan-only caveat on NETDEV_UNREGISTER is the detail everyone skips and then is shocked pikachu π so like, don't do that.
π§ SEE ALSO π§
the kernel file to go read is ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c and here's the full squad of related functions β go say hi to all of them, they're all (9) sections bestie:
bnx2fc_xmit(9)bnx2fc_rcv(9)bnx2fc_percpu_io_thread(9)bnx2fc_get_link_state(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)
β¨ and that's the whole page, bestie β¨ this one came from ./drivers/scsi/bnx2fc and it's dated October 2026 β so like, mark your calendar π you're officially caught up on bnx2fc_indicate_netevent(9). slay. ππ
π¦ 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