bnx2x_complete_vlan_mac(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– bnx2x_complete_vlan_mac β€” bestie edition πŸ’–

okay so this is a page from the Kernel API Manual, section 9, and we're talking about bnx2x_complete_vlan_mac(9). strap in, it's giving "one small function, one big driver" energy πŸ¦‹


✨ NAME ✨

bnx2x_complete_vlan_mac β€” the function that completes one VLAN-MAC ramrod πŸŽ€ (yes that's the real terminology, no I did not make it up, and yes it's iconic)


🌸 SYNOPSIS 🌸

int bnx2x_complete_vlan_mac (struct bnx2x *bp , struct
       bnx2x_vlan_mac_obj *o , union event_ring_elem *cqe , unsigned long
       *ramrod_flags );

literally just four params and an int return, we love a minimal signature πŸ’…


🫢 ARGUMENTS 🫢

  • bp β€” the device handle πŸ’» like, this is your actual NIC, your main character
  • o β€” a bnx2x_vlan_mac_obj πŸŽ€ that's the VLAN-MAC object itself, the thing we're completing
  • cqe β€” the completion element ✨ as in, the completion queue entry that came back β€” the receipt, basically
  • ramrod_flags β€” and bestie listen, if set, schedule next execution chunk πŸ”₯ that's the whole deal with this one: set it and the next chunk of work gets queued up
ngl ramrod_flags being a unsigned long * (a pointer!) is a vibe, but it's exactly what the manpage says so we're not touching it πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

okay this is the long part and I am not skipping a single one, because every entry here is a lil piece of the bnx2x cinematic universe 🌈 first up, the file it all lives in:

  • Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c πŸ“

and then, in the order the page gives them, the whole friend group:

like… 57 references, the way this function has connections 😭 go off, syscall graph πŸ’€


that's the whole page, no cap, nothing left out πŸ§šπŸ’œ

cute lil sign-off: this one's from the Kernel API Manual, pulled out of ./drivers/net/ethernet/broadco... (yeah the path is truncated in the footer, that's just how it comes, don't @ me), and it's dated October 2026. periodt. πŸ’…βœ¨
πŸ“¦ where this page comes from