bnx2fc_indicate_netevent(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 all
  • vlan_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:


✨ 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