bnx2x_mcast..._registry_e2(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay so this is page bnx2x_mcast..._registry_e2(9) from the Kernel API Manual, and the star of the show is bnx2x_mcast_refresh_registry_e2 β€” literally the function that recalculates the actual number of set bins. That's it, that's the whole vibe. ✨


πŸŽ€ SYNOPSIS πŸŽ€

int bnx2x_mcast_refresh_registry_e2 (struct bnx2x *bp , struct bnx2x_mcast_obj *o );

πŸ’œ ARGUMENTS πŸ’œ

  • bp β€” the device handle, bestie. your entry point to the whole device 🫢
  • o β€” yeah so the manpage just... doesn't say anything here. no description. blank. nothing. not me being honest about the source material 😭 it's a struct bnx2x_mcast_obj * because the synopsis says so, and that's all we're given πŸ’€

✨ DESCRIPTION ✨

So what this actually does is recalculate the actual number of set bins in the registry, and it does it using Brian Kernighan's algorithm β€” which is iconic of it, honestly. The way that algorithm works out is that its execution complexity is as a number of set bins. πŸ‘‘

And what does it give you back? It returns 0 for the compliance with bnx2x_mcast_refresh_registry_e1. That's the returning contract, fr fr. πŸŽ€

πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file this lives in:

  • ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c

And now, the whole group chat β€” every single one of these, no skips, no cap πŸ’…:

Lowkey obsessed with __atomic_dec_ifmoe(9) β€” that spelling is straight from the page and I'm not touching it, iykyk πŸ“

Okay bestie that's the page!! Signing off with the footer deets: this one comes from ./drivers/net/ethernet/broadco... and it's dated October 2026, filed under bnx2x_mcast..._registry_e2(9). go forth and count your bins πŸ§šβ€β™€οΈπŸ’–πŸŒˆ

πŸ“¦ where this page comes from