qed_get_idl...lts_buf_size(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐ŸŒธ qed_get_idle_chk_results_buf_size(9) ๐Ÿ’…

okay bestie, so this is a page straight out of the Kernel API Manual (yes, the (9) section, that's the kernel-functions girlies) โ€” and it's a tiny one, but she's important. Sit down, grab a strawberry drink ๐Ÿ“, and let's get into it.


โœจ NAME โœจ

qed_get_idle_chk_results_buf_size โ€” returns the required buffer size for idle check results (in bytes). literally that's her whole job ๐ŸŽ€


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

enum dbg_status qed_get_idle_chk_results_buf_size (struct qed_hwfn
*p_hwfn , u32 *dump_buf , u32 num_dumped_dwords , u32 *results_buf_size
);

that's the whole signature, no cap โ€” copy it exactly if you're writing code, i'm serious ๐Ÿ™ˆ


๐Ÿ’– ARGUMENTS ๐Ÿ’–

  • p_hwfn โ€” the HW device data. like, the hardware's whole personality file ๐Ÿ’…
  • dump_buf โ€” the idle check dump buffer. the raw receipts ๐Ÿ”ฅ
  • num_dumped_dwords โ€” number of dwords that were dumped. count 'em, bestie ๐Ÿงฎ
  • results_buf_size โ€” (OUT) required buffer size (in bytes) for the parsed results. note the OUT โ€” this girl gets written to, she's not here to be read ๐Ÿ˜ญ this is where the answer lands, so you know how much room to give the parsed stuff โœจ

๐ŸŒˆ RETURN ๐ŸŒˆ

so the vibe check is: error if the parsing fails, ok otherwise. that's it. that's the return ๐Ÿ’€


๐Ÿ‘‘ SEE ALSO ๐Ÿ‘‘

the kernel file it lives in, iconic, no notes:

  • Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dbg_hsi.h

and the whole friend group (this list is long, but every single one of them is invited to the group chat โ€” i'm not cutting anybody ๐Ÿ˜ค):


heads up bestie ๐Ÿ’€ โ€” the return is literally just "error if the parsing fails, ok otherwise". no extra lore, no secret behaviour. don't go inventing semantics, i'm watching ๐Ÿซถ

and that's the page!! small but she ate ๐Ÿ’… sourced from ./drivers/net/ethernet/qlogic/qed, dated October 2026 โ€” see you in the next man page, mwah ๐Ÿ’–โœจ๐ŸŽ€

๐Ÿ“ฆ where this page comes from