qed_dbg_idle...ump_buf_size(9)
π 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:
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_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_get_idle_chk_results_buf_size(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)
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
- 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