hns_dsaf_del_mac_entry(9)
π 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 astruct dsaf_device *πvlan_idβ the vlan id,u16. and ngl the page spells itvlian idand 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:
hns_dsaf_sbm_link_sram_init_en(9)hns_dsaf_reg_cnt_clr_ce(9)hns_dsaf_ppe_qid_cfg(9)hns_dsaf_sw_port_type_cfg(9)hns_dsaf_stp_port_type_cfg(9)hns_dsaf_sbm_cfg(9)hns_dsaf_sbm_cfg_mib_en(9)hns_dsaf_sbm_bp_wl_cfg(9)hns_dsaf_voq_bp_all_thrd_cfg(9)hns_dsaf_tbl_tcam_data_cfg(9)hns_dsaf_tbl_tcam_mcast_cfg(9)hns_dsaf_tbl_tcam_ucast_cfg(9)hns_dsaf_tbl_line_cfg(9)hns_dsaf_tbl_tcam_mcast_pul(9)hns_dsaf_tbl_line_pul(9)hns_dsaf_tbl_tcam_data_mcast_pul(9)hns_dsaf_tbl_tcam_data_ucast_pul(9)hns_dsaf_tbl_stat_en(9)hns_dsaf_rocee_bp_en(9)hns_dsaf_single_line_tbl_cfg(9)hns_dsaf_tcam_uc_cfg(9)hns_dsaf_tcam_mc_cfg(9)hns_dsaf_tcam_uc_cfg_vague(9)hns_dsaf_tcam_mc_cfg_vague(9)hns_dsaf_tcam_mc_invld(9)hns_dsaf_tcam_uc_get(9)hns_dsaf_tcam_mc_get(9)hns_dsaf_tbl_line_init(9)hns_dsaf_tbl_tcam_init(9)hns_dsaf_pfc_en_cfg(9)hns_dsaf_comm_init(9)hns_dsaf_inode_init(9)hns_dsaf_sbm_init(9)hns_dsaf_tbl_init(9)hns_dsaf_voq_init(9)hns_dsaf_init_hw(9)hns_dsaf_remove_hw(9)hns_dsaf_init(9)hns_dsaf_free(9)hns_dsaf_find_soft_mac_entry(9)hns_dsaf_find_empty_mac_entry(9)hns_dsaf_find_empty_mac_entry_reverse(9)hns_dsaf_set_mac_key(9)hns_dsaf_set_mac_uc_entry(9)hns_dsaf_add_mac_mc_port(9)hns_dsaf_del_mac_mc_port(9)hns_dsaf_free_dev(9)hns_dsaf_pfc_unit_cnt(9)hns_dsaf_port_work_rate_cfg(9)hns_dsaf_fix_mac_mode(9)hns_dsaf_get_regs(9)hns_dsaf_get_stats(9)hns_dsaf_get_sset_count(9)hns_dsaf_get_strings(9)hns_dsaf_get_regs_count(9)hns_dsaf_probe(9)hns_dsaf_remove(9)
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
- 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