qed_dbg_idle...ump_buf_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qed_dbg_idle_chk_get_dump_buf_size πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes it's giving ✨kernel✨, yes it's giving ✨C✨, but honestly? this one's a lil cutie. it lives in qed_dbg_idle...ump_buf_size(9) (the long name got truncated on the door, iconic behavior honestly πŸ’€) and it's here to tell you how much buffer you need for idle check results. that's it. that's the whole vibe. πŸŽ€


🌸 NAME 🌸

qed_dbg_idle_chk_get_dump_buf_size β€” literally just returns the required buffer size for idle check results. she's a size-giver, a measurer, a "how many dwords do u need" queen πŸ‘‘.


✨ SYNOPSIS ✨

enum dbg_status qed_dbg_idle_chk_get_dump_buf_size (struct qed_hwfn
*p_hwfn , struct qed_ptt *p_ptt , u32 *buf_size );

look at her. three params, one enum return. no cap, that's it. πŸ¦‹


🫢 ARGUMENTS 🫢

  • p_hwfn β€” the HW device data. the hardware's whole little biography. main character energy fr fr πŸ’–
  • p_ptt β€” the Ptt window used for writing the registers. think of it as the lil doorway she uses to poke the registers πŸšͺ✨
  • buf_size β€” (OUT) required buffer size (in dwords) for the idle check data. she writes the answer right back out to you, in dwords β€” not bytes, bestie, dwords. don't @ me 😭

πŸ”₯ RETURN πŸ”₯

returns an error if one of the following holds:

  • the version wasn't set πŸ™ˆ

otherwise? returns ok. slay. periodt. πŸ’…

lowkey important: that's the only error condition listed here. the version being unset is the whole vibe check that fails. everything else is ok city 🌈

🧚 SEE ALSO 🧚

the kernel file at ./drivers/net/ethernet/qlogic/qed/qed_dbg_hsi.h β€” go read her, she's the source of truth πŸ“

and then the entire friend group, no cap, all 38 of them:

like, the whole qed extended universe showed up to the group chat πŸ˜­πŸ’€ every single one, i did not skip a single one, you're welcome 🫑


and that's the page, bestie!! πŸŽ€βœ¨ she ships from ./drivers/net/ethernet/qlogic/qed and she's dated October 2026 β€” yes, from the future, we love a time traveler πŸ‘‘πŸ¦‹ mwah, go size some buffers, ily πŸ’œ

πŸ“¦ where this page comes from