bnx2x_set_mac_one(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to bnx2x_set_mac_one(9) β€” that’s the page name, and the manual is the Kernel API Manual 🌸. this one is all about configuring a single MAC address, and she’s giving kernel-driver main character energy πŸ’….

✨ NAME ✨

bnx2x_set_mac_one β€” configure a single MAC address πŸ’–

πŸŽ€ SYNOPSIS πŸŽ€

the whole signature, no cap:

       int bnx2x_set_mac_one (struct bnx2x *bp , const u8 *mac , struct
       bnx2x_vlan_mac_obj *obj , bool set , int mac_type , unsigned long
       *ramrod_flags );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • bp β€” driver handle ✨
  • mac β€” MAC to configure πŸŽ€
  • obj β€” MAC object handle 🫢
  • set β€” if 'true' add a new MAC, otherwise - delete πŸ’…
  • mac_type β€” the type of the MAC to configure (e.g. ETH, UC list) 🌈
  • ramrod_flags β€” RAMROD_XXX flags (e.g. RAMROD_CONT, RAMROD_COMP_WAIT) πŸ”₯

πŸ’« DESCRIPTION πŸ’«

so what does she do? configures one MAC according to provided parameters, or she continues the execution of previously scheduled commands if RAMROD_CONT is set in ramrod_flags πŸ‘‘.

returns zero if operation has successfully completed, a positive value if the operation has been successfully scheduled and a negative - if a requested operations has failed πŸ’€.

🌈 SEE ALSO 🌈


okay that’s the whole page, bestie 😭🫢 β€” footer vibes: source/version ./drivers/net/ethernet/broadco..., date October 2026, page bnx2x_set_mac_one(9) πŸ’…βœ¨

πŸ“¦ where this page comes from