qed_dbg_idle_chk_dump(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

qed_dbg_idle_chk_dump β€” bestie, this one runs the idle check and writes the results into the buffer you hand it. Two jobs, one function, main character energy fr fr ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

enum dbg_status qed_dbg_idle_chk_dump (struct qed_hwfn *p_hwfn , struct
qed_ptt *p_ptt , u32 *dump_buf , u32 buf_size_in_dwords , u32
*num_dumped_dwords );

🌸 ARGUMENTS 🌸

Okay so here's who's who in the group chat πŸ‘‘:

  • p_hwfn β€” the HW device data. literally the hardware's whole personality in a struct πŸ’–
  • p_ptt β€” the Ptt window used for writing the registers. that's the lil doorway you write through πŸšͺ✨
  • dump_buf β€” pointer to write the idle check data into. this is where the tea gets poured πŸ“
  • buf_size_in_dwords β€” size of the specified buffer in dwords. gotta tell it how much room you've got, no cap πŸ“
  • num_dumped_dwords β€” (OUT) number of dumped dwords. it writes back to you how much it actually dumped, so you're not out here guessing πŸ™ˆ

πŸ”₯ RETURN πŸ”₯

It returns an error if one of the following is holding, bestie:

  • The version wasn't set. 😭
  • The specified buffer is too small. πŸ’€

Otherwise, returns ok. slay, we love a happy ending πŸŽ€


🌈 SEE ALSO 🌈

Kernel file: ./drivers/net/ethernet/qlogic/qed/qed_dbg_hsi.h β€” go read it, iykyk 🧚

And the whole friend group πŸ‘‡


ok that's the whole page, go forth and dump those idle checks πŸ’œ

kisses, this one lives in ./drivers/net/ethernet/qlogic/qed and it's dated October 2026 β€” same title, qed_dbg_idle_chk_dump(9), bestie 🫢

πŸ“¦ where this page comes from