qed_get_mcp_...lts_buf_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ qed_get_mcp_...lts_buf_size(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual β€” this page is all about a tiny-but-iconic helper, and yes it's giving β€œbuffer size math” main character energy. πŸ’…

✨ NAME ✨

qed_get_mcp_trace_results_buf_size β€” returns the required buffer size for MCP Trace results, in bytes. That's the whole assignment, no cap. 🫢

🌸 SYNOPSIS 🌸

enum dbg_status qed_get_mcp_trace_results_buf_size (struct qed_hwfn *p_hwfn , u32 *dump_buf , u32 num_dumped_dwords , u32 *results_buf_size );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • p_hwfn β€” HW device data. πŸ’–
  • dump_buf β€” MCP Trace dump buffer. πŸŽ€
  • num_dumped_dwords β€” number of dwords that were dumped. Literally the count, bestie. ✨
  • results_buf_size β€” (OUT) required buffer size (in bytes) for the parsed results. πŸ‘‘

πŸ”₯ RETURN πŸ”₯

Error if the parsing fails, ok otherwise. So: parsing goes off? error. Parsing is fine? ok. Periodt. πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

The kernel file is ./drivers/net/ethernet/qlogic/qed/qed_dbg_hsi.h β€” and here's the full squad of related refs, all present and accounted for:


mwah πŸ’‹ β€” this lil' page came from source/version ./drivers/net/ethernet/qlogic/qed, dated October 2026. slay and stay buffer-safe 🧚

πŸ“¦ where this page comes from