qed_init_pf_rl(9)
π qed_init_pf_rl(9) β like, the Kernel API Manual page, bestie β¨
okay so real talk: this is a page straight out of the Kernel API Manual, and it's about one tiny function that sets up a rate limit on a PF. sounds dry? maybe. but we're gonna make it make sense π«Ά
β¨ NAME β¨
qed_init_pf_rl β literally just initializes the rate limit of the specified PF. that's the whole vibe check π
π SYNOPSIS π
int qed_init_pf_rl (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , u8
pf_id , u32 pf_rl );
yup, that's it. one function, four args, returns an int. slay π₯
πΈ ARGUMENTS πΈ
p_hwfnβ the HW device data. like, the actual hardware's whole personality file πp_pttβ the Ptt window used for writing the registers. this is the little doorway you write through, iykyk πͺβ¨pf_idβ the PF ID. which PF we're talking about, periodt.pf_rlβ the rate limit, in Mb/sec units. yes bestie, Mb/sec, keep that unit in mind fr fr π
β RETURN β
0on success π-1on error π
no in-between, no "it's complicated". iconic.
π¦ SEE ALSO π¦
not me about to list every single one of these because we do NOT skip the boring parts, bestie π
Kernel file ./drivers/net/ethernet/qlogic/qed/qed_hsi.h β go look at it, it's got the goods π
and then, in no particular order (well, okay, this particular order):
qed_qm_pf_mem_size(9)qed_qm_common_rt_init(9)qed_qm_pf_rt_init(9)qed_init_pf_wfq(9)qed_init_vport_wfq(9)qed_init_vport_tc_wfq(9)qed_init_global_rl(9)qed_send_qm_stop_cmd(9)qed_set_vxlan_dest_port(9)qed_set_vxlan_enable(9)qed_set_gre_enable(9)qed_set_geneve_dest_port(9)qed_set_geneve_enable(9)qed_gft_disable(9)qed_gft_config(9)qed_enable_context_validation(9)qed_get_protocol_type_str(9)qed_get_ramrod_cmd_id_str(9)qed_set_rdma_error_level(9)qed_fw_overlay_mem_alloc(9)qed_fw_overlay_init_ram(9)qed_fw_overlay_mem_free(9)
like, that's the whole friend group right there ππ
and that's the page!! no cap, every arg, every return value, every single SEE ALSO β all accounted for π
kisses, mwah β this one's from ./drivers/net/ethernet/qlogic/qed, dated October 2026, and it's page qed_init_pf_rl(9) of the Kernel API Manual πβ¨π
π¦ 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