qed_init_global_rl(9)
β¨ qed_init_global_rl(9) β¨
okay so bestie, welcome to the Kernel API Manual π
this one is qed_init_global_rl and it's literally the glow-up moment for a rate limiter. let's get into it π«Ά
πΈ NAME πΈ
qed_init_global_rl β initializes the rate limit of the specified rate limiter. yep, that's the whole vibe: it's giving "set up the speed limit for this one specific limiter" β¨
π SYNOPSIS π
int qed_init_global_rl (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt
, u16 rl_id , u32 rate_limit , enum init_qm_rl_type vport_rl_type );
like, look at all those args. five of them. she's thorough π
π¦ ARGUMENTS π¦
p_hwfnβ the HW device data. literally the hardware's whole personality file πp_pttβ the Ptt window used for writing the registers. that's your lil doorway for poking the registers πͺβ¨rl_idβ the RL ID. the limiter's name tag, iykyk π·οΈrate_limitβ Rate limit in Mb/sec units. this is the actual number, in megabits per second, no cap πvport_rl_typeβ the Vport RL type. which flavor of Vport RL we're dealing with π
π RETURN π
0on success π-1on error π
that's it. binary queen. slay or don't, bestie.
π₯ SEE ALSO π₯
the whole friend group, honestly. so many icons in one list π
- the Kernel file
./drivers/net/ethernet/qlogic/qed/qed_hsi.hπ 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_pf_rl(9)qed_init_vport_wfq(9)qed_init_vport_tc_wfq(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)
ngl bestie, go read the whole squad above before you start poking at rate limiters fr fr π
and that's the page!! π§ this lil masterpiece lives in ./drivers/net/ethernet/qlogic/qed and it's dated October 2026 β like, future icon behavior honestly β stay hydrated, read your manpages, and remember: -1 is not a personality, it's just an error ππ
π¦ 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