hns_dsaf_port_work_rate_cfg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 an enum dsaf_port_rate_mode, and it's a rate_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