emac_hash_add(9)
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'smac_addrdescription 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:
emac_get_drvinfo(9)emac_get_coalesce(9)emac_set_coalesce(9)emac_update_phystatus(9)hash_get(9)emac_hash_del(9)emac_add_mcast(9)emac_dev_mcast_set(9)emac_int_disable(9)emac_int_enable(9)emac_irq(9)emac_dev_xmit(9)emac_dev_tx_timeout(9)emac_set_type0addr(9)emac_set_type1addr(9)emac_set_type2addr(9)emac_setmac(9)emac_dev_setmac_addr(9)emac_hw_enable(9)emac_poll(9)emac_poll_controller(9)emac_devioctl(9)emac_dev_open(9)emac_dev_stop(9)emac_dev_getnetstats(9)davinci_emac_probe(9)davinci_emac_remove(9)davinci_emac_init(9)davinci_emac_exit(9)
π 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
- 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