bnx2x_config_mcast(9)
π 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 mepβ -- undescribed -- same vibe, no description given πcmdβ the command to execute, one ofBNX2X_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms