efx_mae_allocate_pedit_mac(9)
π¦ efx_mae_allocate_pedit_mac β the Kernel API Manual era π
okay so bestie, welcome to the efx_mae_allocate_pedit_mac(9) page, straight out of the Kernel API Manual β¨ no cap, this one's a little cutie with a big job.
π NAME π
efx_mae_allocate_pedit_mac β allocate a pedit MAC address in HW, periodt.
πΈ SYNOPSIS πΈ
int efx_mae_allocate_pedit_mac (struct efx_nic *efx , struct
efx_tc_mac_pedit_action *ped );
like literally that's the whole signature, copy it exactly bestie π«Ά
π ARGUMENTS π
efxβ the NIC we're installing a pedit MAC address on. yes ma'am, this is the main character hardware πpedβ the pedit MAC action that's getting installed. she's the one being placed π
β¨ DESCRIPTION β¨
so what this does is: it attempts to install ped in HW π₯ and tbh if that works out, it populates its id with an index of this entry in the firmware MAC address table. on success. only on success. iykyk π
like the way that it's giving "put the thing in the hardware and then tell you where it landed" β that's the whole vibe fr fr π
β RETURN β
- a negative value on error π
0in success π slay
π§ SEE ALSO π§
- Kernel file
./drivers/net/ethernet/sfc/mae.cπ efx_mae_free_pedit_mac(9)β the bestie that undoes this one π¦
and that's the page, bestie!! this little icon came from the ./drivers/net/ethernet/sfc directory, living in the Kernel API Manual, dated October 2026 πΈ mwah, go install some MAC addresses 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