qed_get_idl...lts_buf_size(9)
๐ธ 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 ๐ค):
qed_dbg_set_bin_ptr(9),qed_read_regs(9),qed_read_fw_info(9)qed_dbg_grc_config(9),qed_dbg_grc_set_params_default(9)qed_dbg_grc_get_dump_buf_size(9),qed_dbg_grc_dump(9)qed_dbg_idle_chk_get_dump_buf_size(9),qed_dbg_idle_chk_dump(9)qed_dbg_mcp_trace_get_dump_buf_size(9),qed_dbg_mcp_trace_dump(9)qed_dbg_reg_fifo_get_dump_buf_size(9),qed_dbg_reg_fifo_dump(9)qed_dbg_igu_fifo_get_dump_buf_size(9),qed_dbg_igu_fifo_dump(9)qed_dbg_protection_override_get_dump_buf_size(9),qed_dbg_protection_override_dump(9)qed_dbg_fw_asserts_get_dump_buf_size(9),qed_dbg_fw_asserts_dump(9)qed_dbg_read_attn(9),qed_dbg_print_attn(9)qed_dbg_user_set_bin_ptr(9),qed_dbg_alloc_user_data(9)qed_dbg_get_status_str(9),qed_print_idle_chk_results(9)qed_dbg_mcp_trace_set_meta_data(9)qed_get_mcp_trace_results_buf_size(9),qed_print_mcp_trace_results(9)qed_mcp_trace_free_meta_data(9),qed_get_reg_fifo_results_buf_size(9)qed_print_reg_fifo_results(9),qed_get_igu_fifo_results_buf_size(9)qed_print_igu_fifo_results(9)qed_get_protection_override_results_buf_size(9),qed_print_protection_override_results(9)qed_get_fw_asserts_results_buf_size(9),qed_print_fw_asserts_results(9)qed_dbg_parse_attn(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms