iavf_addr_sync(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– iavf_addr_sync(9) πŸ’–

okay so welcome to the Kernel API Manual, bestie β€” section 9, the one where all the driver-internals lore lives. this page is the whole personality of iavf_addr_sync, and honestly? it's giving "small function, big responsibilities." let's get into it πŸŽ€


✨ NAME ✨

iavf_addr_sync β€” the callback that dev_(mc|uc)_sync hits when it needs to add an address. yep, that's the whole job description and she owns it πŸ’…


🌸 SYNOPSIS 🌸

int iavf_addr_sync (struct net_device *netdev , const u8 *addr );

like, that's the whole signature. two arguments, one int coming back at you. no cap, it's that simple πŸ¦‹


🫢 ARGUMENTS 🫢

  • netdev β€” the netdevice. the main character of this whole operation, fr fr.
  • addr β€” the address to add. this is the thing she's actually here to do something with πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the lore: this gets called by __dev_(mc|uc)_sync when an address needs to be added. that's the trigger. that's when our girl gets the ping πŸ“²

and then β€” the part that's lowkey iconic β€” we call __dev_(uc|mc)_sync from .set_rx_mode, and we guarantee to hold the hash lock. read that again. guaranteed. in writing. the hash lock is held, no cap, that's the whole deal πŸ”’βœ¨

note the beautiful symmetry going on: mc then uc on the way in, uc then mc on the way out. it's mirrored. it's a vibe. iykyk πŸ’«

πŸ¦‹ SEE ALSO πŸ¦‹

first up, the source of all truth, the kernel file herself:

  • ./drivers/net/ethernet/intel/iavf/iavf_main.c

and now the extended universe β€” yes, all of it, every single one, because we do not skip entries in this house πŸ‘‘:

like, that's the entire friend group. go read all of them. or at least the ones adjacent to iavf_addr_unsync(9) β€” she's literally the mirror twin, obsessed with her πŸ’€πŸ’œ


and that's the page, bestie!! 🫢 this little gem ships out of ./drivers/net/ethernet/intel/iavf, stamped October 2026, and it's gonna live in your head rent free every time __dev_(mc|uc)_sync comes knocking. slay, stay locked, stay hydrated, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from