bnx2x_config_mcast(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– bnx2x_config_mcast(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the bnx2x_config_mcast page and it's literally all about configuring multicast MACs lists. yes, MACs. multicast MACs. stay with me 🫢


🌸 NAME 🌸

bnx2x_config_mcast β€” configure multicast MACs list πŸŽ€


✨ SYNOPSIS ✨

int bnx2x_config_mcast (struct bnx2x *bp , struct
bnx2x_mcast_ramrod_params *p , enum bnx2x_mcast_cmd cmd );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • bp β€” -- undescribed -- πŸ™ˆ yeah, the manpage literally says that, not me, don't come for me
  • p β€” -- undescribed -- same vibe, no description given πŸ’€
  • cmd β€” the command to execute, one of BNX2X_MCAST_CMD_X πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

so here's the deal, bestie. this function can do a few different things depending on the command:

  • configure a new list, which you hand over in p->mcast_list (BNX2X_MCAST_CMD_ADD) 🌈
  • clean up (BNX2X_MCAST_CMD_DEL) 🧹
  • restore (BNX2X_MCAST_CMD_RESTORE) a current configuration 🌸
  • continue executing the pending commands (BNX2X_MCAST_CMD_CONT) ⭐

and here's the part you gotta know πŸ‘€ β€” if the previous command is still pending, or if the number of MACs to configure is more than the maximum number of MACs in one command, then the current command gets enqueued to the tail of the pending commands list. it just queues up and waits its turn. main character energy, but patient πŸ’…


πŸ’œ RETURN πŸ’œ

  • 0 β€” operation was successful and there are no pending completions πŸŽ‰
  • negative β€” there were errors 😭
  • positive β€” there are pending completions ⏳
so like, read the return value carefully, bestie β€” positive is not "yay", positive means stuff is still pending, no cap.

πŸŽ€ SEE ALSO πŸŽ€

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

bnx2x_config_rx_mode(9), bnx2x_config_rss(9), bnx2x_get_rss_ind_table(9) β€” go read those too, they're iconic πŸ‘‘


and that's the whole page, bestie 🫢 this came out of ./drivers/net/ethernet/broadco... and it's dated October 2026, and the title/version line at the bottom was literally bnx2x_config_mcast(9) again, so yeah β€” same name, same manual, we're full circle. periodt πŸ’…βœ¨

πŸ“¦ where this page comes from