hns_dsaf_init(9)
π hns_dsaf_init β Kernel API Manual
okay so bestie, welcome to hns_dsaf_init(9) β yes it's a kernel API manual page, yes it's from the Kernel API Manual set, and yes we're gonna read it together. β¨
πΈ NAME πΈ
hns_dsaf_init β init dsa fabric
Like, that's the whole job. It inits the dsa fabric. Lowkey iconic of it.
π¦ SYNOPSIS π¦
int hns_dsaf_init (struct dsaf_device *dsaf_dev );
π ARGUMENTS π
dsaf_devβ dsa fabric device struct pointer. that's it, that's the whole param π«Ά return0- success , negative --fail
ngl the "negative --fail" part is doing main character energy in the return-value department π but fr fr: 0 means success, and anything negative means it did NOT slay.
π SEE ALSO π
The kernel file lives right here, bestie β go look at the actual source, it's giving π :
./drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c
And here's the whole friend group, every single one of them, no cap (all (9) sections):
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_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_entry(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)
ok that's the entire page, we ate and left zero crumbs π every flag, every return value, every single (9) sibling β all present and accounted for. iykyk π
so anyway, this little beauty comes from ./drivers/net/ethernet/hisilic... β yes it's literally truncated like that in the source, don't come for me π β dated October 2026, and it's page hns_dsaf_init(9). mwah, go init some fabric bestie ππ
π¦ 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