hns_dsaf_del_mac_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… hns_dsaf_del_mac_entry(9) β€” the vibe

okay so bestie, buckle up, because we're in the Kernel API Manual today and this one is a little baddie from the hns_dsaf family πŸ¦‹ the function is hns_dsaf_del_mac_entry, and its whole personality is "del mac mc-port" β€” yes that's the official NAME line, we're not sugarcoating it, that's literally what it says πŸ’€


✨ SYNOPSIS ✨

int hns_dsaf_del_mac_entry (struct dsaf_device *dsaf_dev , u16 vlan_id ,
u8 in_port_num , u8 *addr );

she returns an int, she takes four things, and she's coming for that MAC entry πŸŽ€


🌸 ARGUMENTS 🌸

  • dsaf_dev β€” the dsa fabric device struct pointer. this is your main character β€” the whole fabric device, handed to you as a struct dsaf_device * πŸ‘‘
  • vlan_id β€” the vlan id, u16. and ngl the page spells it vlian id and we are absolutely keeping that, it's iconic, we don't edit history 😭
  • in_port_num β€” the input port num, u8. the port you're pointing at πŸ”₯
  • addr β€” the mac addr, u8 *. the actual address, the whole reason we're here πŸ’…

πŸ” SEE ALSO πŸ”

first up, the source itself lives right here in the kernel tree, fr fr:

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

and then the whole extended friend group, no cap, every single one of them:

like, that's a whole roster. she knows everyone 🫢


heads up bestie: this page gives you the signature and the arguments and nothing else β€” no exit statuses, no env vars, no warnings, no copyright lines. so don't go inventing lore that isn't there, ok? πŸ™ˆ

and that's the whole page, periodt πŸ’œ big sign-off energy: this came from ./drivers/net/ethernet/hisilic... (the footer keeps it truncated like that, and honestly same, we're all a little truncated), dated October 2026, living under the title hns_dsaf_del_mac_entry(9) in the Kernel API Manual. slay, go delete that mac entry πŸŽ€βœ¨

πŸ“¦ where this page comes from