qed_init_pf_rl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 ⭐

  • 0 on success πŸŽ‰
  • -1 on 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):

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