qed_get_prot...lts_buf_size(9)
π qed_get_prot...lts_buf_size(9) π
okay bestie, so we're in the Kernel API Manual today and the star of the show is qed_get_protection_override_results_buf_size π like yes the name is a whole mouthful, she's giving "my surname is the entire alphabet" energy, but she's actually so useful. Let's get into it β¨
π NAME π
qed_get_protection_override_results_buf_size β literally just returns the required buffer size for protection override results (in bytes). that's it. that's her whole job. iconic. π
π¦ SYNOPSIS π¦
enum dbg_status qed_get_protection_override_results_buf_size (struct
qed_hwfn *p_hwfn , u32 *dump_buf , u32 num_dumped_dwords , u32
*results_buf_size );
like, yes, she takes four things and gives you back a dbg_status. slay π«Ά
πΈ ARGUMENTS πΈ
so here's what you're feeding her, bestie, pls don't skip any of these:
p_hwfnβ HW device data. that's your hardware diva, the main character of this whole operation πdump_bufβ Protection override dump buffer. the lil container holding all the dumped goodness πnum_dumped_dwordsβ Number of dwords that were dumped. yes, dwords, not words, not bytes β dwords. precision matters, ngl πresults_buf_sizeβ (OUT) required buffer size (in bytes) for the parsed results. note the OUT bestie, she's writing back to you, not reading from you π₯
β RETURN β
Error if the parsing fails, ok otherwise. lowkey simple, highkey important π
π SEE ALSO π
okay this list is LONG, like she knows everyone at the party, but we're naming every single one because nobody gets left out on my watch πβ¨
Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dbg_hsi.h
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_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_print_protection_override_results(9), qed_get_fw_asserts_results_buf_size(9), qed_print_fw_asserts_results(9), qed_dbg_parse_attn(9)
fr fr that's the whole squad π§π
aaaand that's the page!! this queen lives over in ./drivers/net/ethernet/qlogic/qed and she's stamped October 2026 β so go forth, size those buffers, and remember: the vibe check is eternal, the dword count is exact πβ¨π
π¦ 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