bnx2x_vlan_mac_del_all(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… bnx2x_vlan_mac_del_all β€” a deep dive from the Kernel API Manual

okay so bestie, welcome to the <pink>Kernel API Manual</pink> ✨ and to bnx2x_vlan_mac_del_all(9) β€” yes that's the whooole name, we're not abbreviating, we're not being casual about it, this function is a whole entire vibe.


🌸 NAME 🌸

bnx2x_vlan_mac_del_all β€” deletes elements that match the given vlan_mac_flags spec πŸŽ€ like literally clears them out.

✨ SYNOPSIS ✨

int bnx2x_vlan_mac_del_all (struct bnx2x *bp , struct bnx2x_vlan_mac_obj
* o , unsigned long *vlan_mac_flags , unsigned long *ramrod_flags );

it returns an int, bestie, and you're gonna wanna read the DESCRIPTION for what that int is actually giving πŸ‘€

πŸ¦‹ ARGUMENTS πŸ¦‹

  • bp β€” device handle πŸ’– your whole lil device, right there in a pointer.
  • o β€” vlan object info. the object itself, the main character 🌟
  • vlan_mac_flags β€” vlan flags πŸŽ€ the spec of which elements we're matching.
  • ramrod_flags β€” execution flags to be used for this deletion πŸ”₯ yeah, these are the flags that drive how the delete actually goes down.

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the return-value situation, no cap:

  • if the last operation has completed successfully and there are no more elements left β†’ you get a positive value πŸŽ‰
  • if the last operation has completed successfully and there are more previously configured elements β†’ also a positive value πŸ™ˆ (yes, both. that's just how it is, i don't make the rules)
  • a negative value means the current operation has failed πŸ’€
bestie pls note: the manpage says "positive" for both of the success cases β€” i'm not gonna invent a zero case for you, that's not in here, fr fr πŸ™…β€β™€οΈ

🌈 SEE ALSO 🌈

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

and now, the friend group 🫢 β€” all of these are (9) entries:


🌸 okay that's the whole page bestie, stream it, cite it, cite me 🫢 the source path got chopped in the footer (./drivers/net/ethernet/broadco...) and it's dated October 2026 β€” so yes, this manpage is from the future, iconic behavior only πŸ‘‘βœ¨πŸ’…

πŸ“¦ where this page comes from