qed_init_global_rl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ’€

  • 0 on success πŸŽ‰
  • -1 on error 😭

that's it. binary queen. slay or don't, bestie.


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, honestly. so many icons in one list 🌈


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