qed_dbg_fw_asserts_dump(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qed_dbg_fw_asserts_dump(9) β€” from the Kernel API Manual, bestie πŸŽ€

okay so picture this: we're in the Kernel API Manual and today's main character is qed_dbg_fw_asserts_dump. yes it's a long name, no i will not be shortening it, it's iconic like that ✨


🌸 NAME 🌸

qed_dbg_fw_asserts_dump β€” reads the FW Asserts and writes the results into the specified buffer. that's it. that's the whole job. she reads, she writes, she leaves πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

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

not me making you read five whole arguments on one line 😭 it's giving "signature that ate". anyway. yes. all five are required, no cap.


πŸ’– ARGUMENTS πŸ’–

  • p_hwfn β€” HW device data. the hardware's whole personality, basically 🫢
  • p_ptt β€” ptt window used for writing the registers. lowkey the little doorway she uses to poke the registers ✨
  • dump_buf β€” pointer to write the FW Asserts data into. this is where the tea gets spilled πŸ“
  • buf_size_in_dwords β€” size of the specified buffer in dwords. yes, dwords. not bytes, bestie. dwords. do not come for me, i don't make the rules πŸ’€
  • num_dumped_dwords β€” (OUT) number of dumped dwords. capital OUT, she's an output param, she tells you how much she actually dumped πŸ’…

πŸ”₯ RETURN πŸ”₯

she returns an error if one of the following holds:

  • the version wasn't set πŸ™ˆ
  • the specified buffer is too small 😭

otherwise? returns ok. that's the slay. that's the happy path. periodt 🌈

heads up bestie: if your buffer is too small she's not gonna squeeze it in for you β€” she returns an error. size your buffer, queen πŸ‘‘

⭐ SEE ALSO ⭐

the kernel file ./drivers/net/ethernet/qlogic/qed/qed_dbg_hsi.h β€” go read her, she's the source of truth πŸ’œ

and the whole friend group, fr fr:

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_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 i said. big friend group. iykyk 🧚


and that's the page, bestie πŸŽ€ shoutout to ./drivers/net/ethernet/qlogic/qed, october 2026 edition, for hosting this whole moment β€” catch you in the next qed_dbg_fw_asserts_dump(9) πŸ’œβœ¨

πŸ“¦ where this page comes from