qed_dbg_prot...verride_dump(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ qed_dbg_protection_override_dump ✨

okay so bestie, welcome to the manual page for qed_dbg_protection_override_dump β€” it's a kernel API function, and honestly? it's giving "I read the protection override window so you don't have to" energy. no cap. πŸ’…

it lives in the qed driver (that's the qlogic ethernet fam, iykyk) and it's literally the function you call when you want to dump those override entries into a buffer. periodt. πŸŽ€


🌸 SYNOPSIS 🌸

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

like, that's the whole vibe. five args, one return. slay. πŸ¦‹


πŸ’– ARGUMENTS πŸ’–

okay so here's the tea on every single parameter β€” no skipping, bestie, we're doing all of them:

  • p_hwfn β€” HW device data. this is your hardware function handle, the main character of the whole operation tbh. πŸ‘‘
  • p_ptt β€” Ptt window used for writing the registers. it's the window that lets the driver poke at registers, fr fr. 🫢
  • dump_buf β€” Pointer to write the protection override data into. you give it a buffer, it fills it with the goods. πŸ’–
  • buf_size_in_dwords β€” Size of the specified buffer in dwords. lowkey important β€” if this is too small, things go sideways (more on that in RETURN). 😭
  • num_dumped_dwords β€” (OUT) number of dumped dwords. this is the output param, it tells you how many dwords actually got written. iconic. ✨

πŸ”₯ RETURN πŸ”₯

okay so the return value is enum dbg_status and it comes back with an error if any of these three things happen β€” and yes, you need to know all three:

  • the version wasn't set. πŸ’€
  • the specified buffer is too small. (told you buf_size_in_dwords mattered!) πŸ™ˆ
  • DMAE transaction failed. 🧚

otherwise? it returns ok. that's it. that's the whole mood. 🌈

bestie, please actually check the return value β€” a too-small buffer or an unset version will absolutely ruin your day, and DMAE failures are not it. πŸ’…

⭐ SEE ALSO ⭐

okay this section is long but we're not skipping a single reference, because every one of these is part of the fam. first up, the kernel file:

Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dbg_hsi.h

and now the full squad of related manpages β€” all of them, exactly as listed, no cap:

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_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, that's the whole friend group. if you're debugging qed stuff, these are your people. πŸ§šπŸ’œ


and that's the page, bestie!! this one comes from ./drivers/net/ethernet/qlogic/qed and it's dated October 2026 β€” so yeah, fresh off the kernel presses, slay. go forth and dump those protection override entries responsibly. πŸŽ€βœ¨πŸ’–

πŸ“¦ where this page comes from