update_mac(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… update_mac(9) β€” the Kernel API Manual girlie has entered the chat

okay so this is update_mac(9), from the Kernel API Manual (yes that's the manual name, we're being official today πŸŽ€). It's a tiny little function that exists for one job and one job only, and honestly? she ate. πŸ’–


✨ NAME ✨

update_mac β€” the API you call to inform the change in the mac address. that's it. that's her whole personality. no cap.


🌸 SYNOPSIS 🌸

int update_mac (struct qed_dev *cdev , const u8 *mac );

look at that signature bestie, she's giving clean, she's giving minimal, she's giving "I have exactly two arguments and I know what to do with them". πŸ¦‹


🩷 ARGUMENTS 🩷

  • cdev β€” the Qed dev pointer. the main character of this whole operation, fr fr.
  • mac β€” the MAC. yep. that's the whole description. short and iconic, we respect it. ✨

πŸ’€ RETURN πŸ’€

Int.

that's what it says. literally just "Int." no elaboration, no notes, she said what she said and she left. 😭 ngl this is the most mysterious part of the whole page and I love that for her.


🫢 SEE ALSO 🫢

okay this is the part where she shows you her whole friend group, and it's a lot of friends. first, the source file to go peep:

Kernel file ./include/linux/qed/qed_if.h

and then the whole roster, in order, no cap: selftest_interrupt(9), selftest_memory(9), selftest_register(9), selftest_clock(9), selftest_nvram(9), can_link_change(9), set_link(9), get_link(9), drain(9), update_msglvl(9), nvm_flash(9), nvm_get_image(9), set_coalesce(9), set_led(9), attn_clr_enable(9), db_recovery_add(9), db_recovery_del(9), recovery_process(9), recovery_prolog(9), update_drv_state(9), update_mtu(9), update_wol(9), read_module_eeprom(9), get_affin_hwfn_idx(9), read_nvm_cfg(9), read_nvm_cfg_len(9), set_grc_config(9), qed_sb_ack(9).

that's the whole group chat. go say hi. πŸ’œ


lowkey a reminder that this page is short on purpose β€” don't go inventing behaviour that isn't written here, bestie. the facts stay facts even when the vibes are immaculate. πŸ’…

and that's the whole page 🧚 she's from ./include/linux/qed, dated October 2026, and she's out. periodt. 🌈⭐

πŸ“¦ where this page comes from