hns_dsaf_fi...ty_mac_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… hns_dsaf_find_empty_mac_entry β€” bestie's guide to finding an empty MAC slot

okay so first things first, this is a page from the Kernel API Manual (yes, that's the manual's name, we're in kernel-land now 🧚) and it's all about one little function that goes hunting for a free spot in the DSA fabric's soft MAC table. She's small, she's specific, she's doing her job. Slay.


✨ NAME ✨

hns_dsaf_find_empty_mac_entry β€” literally goes searching the dsa fabric for a soft empty-entry πŸ’… that's it, that's the whole gig.


🌸 SYNOPSIS 🌸

u16 hns_dsaf_find_empty_mac_entry (struct dsaf_device *dsaf_dev );

no cap, that's the signature. one argument, returns a u16. simple, iconic, no drama.


πŸŽ€ ARGUMENTS πŸŽ€

  • dsaf_dev β€” dsa fabric device struct pointer 🫢. this is the device you're handing over so she knows where to go look. she needs the pointer, bestie, don't forget it.

πŸ¦‹ SEE ALSO πŸ¦‹

okay this is the part where the manpage just dumps the entire friend group in the group chat 😭 like literally everyone from hns_dsaf_main.c shows up. so here's the whole squad, no one gets left out:

and yeah, she lives in the kernel file ./drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c β€” that's the address, that's where she hangs out 🏠

πŸ’œ the cute sign-off πŸ’œ

this page came to you straight from the ./drivers/net/ethernet/hisilic... corner of the source tree, dated October 2026 (yes bestie, the future, we're ahead of schedule ✨⏳), and it's titled hns_dsaf_fi...ty_mac_entry(9) in case you forgot what you clicked on. go find those empty entries, you absolute main character πŸ‘‘πŸ’–

πŸ“¦ where this page comes from