hns_dsaf_pfc_unit_cnt(9)
π hns_dsaf_pfc_unit_cnt β set pfc unit count π
okay so this is a page from the Kernel API Manual, bestie β section 9, kernel API vibes. It's about one tiny little function with a big job, and honestly? She's giving "quiet luxury". Let's get into it π«Ά
β¨ NAME β¨
hns_dsaf_pfc_unit_cnt β set pfc unit count</p> π
Like, that's literally it. Set the PFC unit count. Nothing more, nothing less, no cap.
πΈ SYNOPSIS πΈ
void hns_dsaf_pfc_unit_cnt (struct dsaf_device *dsaf_dev , int mac_id ,
enum dsaf_port_rate_mode rate );
so she returns void (no takebacks, no receipts π) and she takes three things: a struct dsaf_device *, an int, and an enum dsaf_port_rate_mode. That's the whole meal, and she ate. π₯
π¦ ARGUMENTS π¦
dsaf_devβ the dsa fabric id β¨ like, this is your fabric. your whole situation. your DSA identity card, if you will.mac_idβ the id in use π which id? the one in use. she's mysterious like that, iykyk.rateβ a value array β yep, that's what the original says. a value array. we do not question the value array. we respect the value array. π
ngl the descriptions here are short and sweet β that's the source material, not me being lazy. i keep every word of it, fr fr.
π SEE ALSO π
okay this is the part where she name-drops literally everyone at the function party π. Kernel file first:
./drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c
and then the entire group chat:
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_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, fifty-seven besties. she knows everyone. main character energy for REAL ππ
and that's the whole page, bestie β short, sweet, and fully cited. now go forth and count those pfc units β¨
sign-off szn π: this gem comes out of ./drivers/net/ethernet/hisilic... (that's how it's written in the footer, truncated and all, and i'm not about to finish the sentence for it π
) and the date on the tin is October 2026. catch you in the kernel, mwah π«Άπ
π¦ 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