qed_dbg_fw_a...ump_buf_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qed_dbg_fw_asserts_get_dump_buf_size β€” Kernel API Manual, section 9 ✨

okay bestie, listen up 🫢 this one lives in the kernel API manual (section 9, iykyk) and it's literally the little function that tells you how much room you're gonna need. no cap.


🌸 NAME 🌸

qed_dbg_fw_asserts_get_dump_buf_size β€” returns the required buffer size for FW Asserts results. that's it, that's the whole job πŸ’–


✨ SYNOPSIS ✨

enum dbg_status qed_dbg_fw_asserts_get_dump_buf_size (struct qed_hwfn
*p_hwfn , struct qed_ptt *p_ptt , u32 *buf_size );

like, she takes three things and gives you back a enum dbg_status. iconic behavior honestly πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • p_hwfn β€” HW device data. the hardware's whole little identity card, basically πŸͺͺ
  • p_ptt β€” Ptt window used for writing the registers. that's the window she writes registers through, fr fr πŸͺŸ
  • buf_size β€” (OUT) Required buffer size (in dwords) for FW Asserts data. yes bestie, dwords, not bytes β€” read the units, don't embarrass us 😭 this is the OUT param so she fills it in for you πŸ’«

πŸ”₯ RETURN πŸ”₯

returns an error if one of the following holds:

  • The version wasn't set.

otherwise? returns ok. slay πŸ’… that's the whole vibe check β€” no version, no dice.


πŸ¦‹ SEE ALSO πŸ¦‹

also go peek at the kernel file ./drivers/net/ethernet/qlogic/qed/qed_dbg_hsi.h πŸ‘€ and then the whole friend group:

like, the whole squad showed up πŸŒˆπŸ’œ


lowkey reminder: this page comes from ./drivers/net/ethernet/qlogic/qed, dated October 2026, and it's filed under qed_dbg_fw_a...ump_buf_size(9) in the Kernel API Manual. mwah, go read your buffers, bestie πŸ“πŸ§šβ€β™€οΈ
πŸ“¦ where this page comes from