bnx2fc_destroy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… bnx2fc_destroy β€” bestie edition

okay so this is bnx2fc_destroy(9) from the Kernel API Manual β€” it's a kernel API page, section 9, and it's the one that tears down a bnx2fc FCoE interface. short page, but honestly? iconic. let's get into it 🫢


✨ NAME ✨

bnx2fc_destroy β€” destroy a bnx2fc FCoE interface

like, it's the cleanup crew. the bye bestie of FCoE interfaces 🌸


✨ SYNOPSIS ✨

int bnx2fc_destroy (struct net_device *netdev );

that's the whole signature, no cap. returns an int, takes one struct net_device * named netdev. πŸŽ€


✨ ARGUMENTS ✨

  • netdev β€” the net device that the FCoE interface is on. yeah. that one. the FCoE interface literally lives on it, so that's the thing you hand over πŸ¦‹

✨ DESCRIPTION ✨

called from sysfs. that's it. that's the description. i know 😭 the manpage is not giving essay, it's giving "the vibes are self-explanatory". so: something in sysfs calls this, and bnx2fc_destroy is what happens next. don't ask me for more lore, the original page is literally this short πŸ’€


✨ RETURN ✨

  • 0 β€” success ✨ slay. that's the documented value, and it's the good one.

✨ SEE ALSO ✨

the kernel file this lives in is ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c, and here's the whole friend group πŸ‘‘ β€” all of them, no skips:

that's twenty-five siblings and every single one is invited to the group chat πŸ’–


lowkey reminder: bnx2fc_destroy returns 0 for success, and the only documented caller is sysfs. that's the whole tea. don't invent extra lore, i'm not gonna πŸ™ˆ

and that's a wrap, bestie πŸŽ€ this page ships from ./drivers/scsi/bnx2fc, dated October 2026 β€” mwah, go destroy some FCoE interfaces responsibly πŸ’…βœ¨πŸ”₯

πŸ“¦ where this page comes from