bnx2x_del_all_macs(9)
π bnx2x_del_all_macs(9) π
okay so bestie, welcome to the bnx2x_del_all_macs page β it lives in the Kernel API Manual section 9, and honestly? it's giving "cleanup queen". she deletes stuff. that's her whole thing. π§Ήβ¨
πΈ NAME πΈ
bnx2x_del_all_macs β delete all the MACs configured for the specific MAC object. yeah. all of them. no survivors. π
β¨ SYNOPSIS β¨
int bnx2x_del_all_macs (struct bnx2x *bp , struct bnx2x_vlan_mac_obj
*mac_obj , int mac_type , bool wait_for_comp );
like, look at her. four arguments, one very clear mission. π
π¦ ARGUMENTS π¦
bpβ the driver handle. your main character pointer. π«Άmac_objβ the MAC object handle. this is the thing she's operating on, iykyk. πmac_typeβ the type of the MACs to clear, and it's one of theBNX2X_XXX_MACvalues. pick your fighter. βwait_for_compβ if it's'true', she blocks until completion. so like, she waits. patiently. dramatically. π
π₯ DESCRIPTION π₯
Deletes all MACs of the specific type β think ETH, UC list, all that good stuff. the way she just clears the whole list is honestly iconic. π
Now, the returns, because this part matters bestie, don't skip it:
- zero β the operation has successfully completed. slay. β
- a positive value β the operation has been successfully scheduled (so, queued up, not done yet β still valid, still ate). π
- a negative value β a requested operation has failed. π not her best moment.
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/broadcom/bnx2x/bnx2x.hβ go read it, it's literally right there. π bnx2x_set_mac_one(9)β the sibling page. the add to her delete. the counterpart. β¨
lowkey a reminder that this is kernel API stuff, so the return-value distinctions above are the whole point β completed, scheduled, or failed. don't conflate them, bestie. π«Ά
okay that's the whole page!! mwah π this came from the source ./drivers/net/ethernet/broadco... and the date on it is October 2026, and yep, the page is bnx2x_del_all_macs(9) β go forth and delete your MACs responsibly π¦πΈπ
π¦ 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