emac_hash_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to emac_hash_add(9) from the Kernel API Manual ✨ this is the little kernel API page for adding a mac addr to the EMAC hash table, and we're gonna read it together like it's the group chat πŸ’–

🌸 NAME 🌸

emac_hash_add β€” hash function to add mac addr from hash table, periodt πŸ’…

✨ SYNOPSIS ✨

the signature is giving exactly this, no cap:

int emac_hash_add (struct emac_priv *priv , u8 *mac_addr );

πŸŽ€ ARGUMENTS πŸŽ€

  • priv β€” the DaVinci EMAC private adapter structure. That's the main-character adapter struct, lowkey essential 🫢
  • mac_addr β€” mac address to delete from hash table. And yes bestie, that is literally the wording for this argument on this page β€” the add function's mac_addr description says β€œdelete from hash table” πŸ’€πŸ™ˆ not me side-eyeing the docs, I'm just the messenger.

πŸ¦‹ DESCRIPTION πŸ¦‹

Adds mac address to the internal hash table. That's it, that's the vibe: mac addr goes into the internal hash table, slay βœ¨πŸ’–

πŸ’œ SEE ALSO πŸ’œ

Kernel file to peek at: ./drivers/net/ethernet/ti/davinci_emac.c πŸ‘€

and the whole friend group of references, fr fr:


πŸ’– source/version: ./drivers/net/ethernet/ti Β· date: October 2026 Β· page: emac_hash_add(9) β€” okay bye bestie, go be iconic with those mac addrs πŸŽ€βœ¨

πŸ“¦ where this page comes from