bnx2x_set_mac_one(9)
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_XXXflags (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 π
- Kernel file
./drivers/net/ethernet/broadcom/bnx2x/bnx2x.hπ¦ bnx2x_del_all_macs(9)π
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
- 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