hns_dsaf_port_work_rate_cfg(9)
π NAME π
hns_dsaf_port_work_rate_cfg β bestie, the entire official description is literally just fifo. That's it. That's the whole vibe. π No further notes, no elaboration, the documentation said what it said.
So yeah β this is a function from the Kernel API Manual, and we're gonna walk through it together because that's what besties do. π«Ά
β¨ SYNOPSIS β¨
void hns_dsaf_port_work_rate_cfg (struct dsaf_device *dsaf_dev , int
mac_id , enum dsaf_port_rate_mode rate_mode );
Notice the return type: void. She gives nothing back, she just does. Main character energy fr fr. π
π ARGUMENTS π
Three args, three little besties, let's meet them:
dsaf_devβ the dsa fabric id. That's the big-picture handle for the whole fabric situation. πΈmac_idβ the mac contrl block. (Yes, that's spelled "contrl" in the source, we don't fix it, we respect it. π) It's the identifier for which MAC control block we're pointing at.rate_modeβ the value array. It's anenum dsaf_port_rate_mode, and it's arate_mode, so likeβ¦ the mode. Of the rate. The rate's mode. You get it. β¨
No return value, no error codes, no exit statuses β it's void all the way down. She simply runs and leaves. π
π SEE ALSO π
Okay so this girl does not roll alone β she has a whole squad, and the squad is long. The source file she lives in:
Kernel file ./drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c
And the entire friend group, no cap, no one left out:
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_entry(9), hns_dsaf_del_mac_mc_port(9), hns_dsaf_free_dev(9), hns_dsaf_pfc_unit_cnt(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 the whole group chat right there. Obsessed with how thorough she is. π¦π
sign-off era π β this page came from ./drivers/net/ethernet/hisilic... (yes the path is literally cut off like that in the footer, we stan a dramatic ellipsis π) and it's dated October 2026. Slay, see you in the source. β¨ππΈ
π¦ 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