hns_dsaf_remove_hw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

hns_dsaf_remove_hw β€” ok so this is the one that uninits the dsa fabric hardware, bestie. Teardown era. It's giving "last one out, turn off the lights" ✨

This page lives in the Kernel API Manual, section 9 β€” yes, the section-9 girlies, we're in kernel-land now 🧚


πŸ¦‹ SYNOPSIS πŸ¦‹

void hns_dsaf_remove_hw (struct dsaf_device *dsaf_dev );

That's it. That's the whole signature. Returns void, so no exit-status drama, no "did it work" suspense β€” it just does the thing and dips πŸ™ˆ


🌸 ARGUMENTS 🌸

  • dsaf_dev β€” the dsa fabric device struct pointer πŸ’– literally just a pointer to your struct dsaf_device. Hand it over and let her cook.

✨ SEE ALSO ✨

Okay so the source of truth is right here in the kernel tree, no cap:

./drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c

And because this family is huge β€” like, 57-functions huge, main character energy fr fr β€” here's the whole crew, in order, no skips, no cuts πŸ‘‘

Pro tip from your girl: if you're here, you're probably matching this up with hns_dsaf_init_hw(9) on the other end of the lifecycle. Setup girlies and teardown girlies, we stan a balanced pair 🫢

🌈 okay bye bestie, stay hydrated and remember to clean up your hardware πŸ’œ

Source/version: ./drivers/net/ethernet/hisilic... β€” yeah she's truncated in the original, I don't make the rules πŸ™ˆ β€” dated October 2026 πŸŽ€

πŸ“¦ where this page comes from