qed_mcp_nvm_rd_cmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qed_mcp_nvm_rd_cmd(9) β€” like, the whole kernel API manual vibe πŸŽ€

okay so bestie, welcome to the glow-up of qed_mcp_nvm_rd_cmd, straight out of the Kernel API Manual ✨ this one's a function, it lives in the kernel-API section (9), and it's lowkey the plug that asks the MFW for a buffer. sit down, hydrate, let's go 🫢


🌸 NAME 🌸

qed_mcp_nvm_rd_cmd β€” sends an NVM read command request to the MFW to get a buffer. that's it, that's the whole assignment πŸ’…


✨ SYNOPSIS ✨

int qed_mcp_nvm_rd_cmd (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt
, u32 cmd , u32 param , u32 *o_mcp_resp , u32 *o_mcp_param , u32
*o_txn_size , u32 *o_buf , bool b_can_sleep );

copy it exactly, don't be cute with the spacing, the compiler is NOT amused by your aesthetic πŸ™ˆ


πŸ¦‹ ARGUMENTS πŸ¦‹

here's the cast, main-character energy only:

  • p_hwfn β€” HW device data. the whole hardware situation, iconic.
  • p_ptt β€” P_ptt. yes that's the description. we keep it real, we don't invent lore πŸ’€
  • cmd β€” the (Command), and it's one of these two, no substitutions: DRV_MSG_CODE_NVM_GET_FILE_DATA or DRV_MSG_CODE_NVM_READ_NVRAM.
  • param β€” bitpacked cutie: [0:23] - Offset, [24:31] - Size. that's the whole map, don't get lost πŸ—ΊοΈ
  • o_mcp_resp β€” MCP response.
  • o_mcp_param β€” MCP response param.
  • o_txn_size β€” Buffer size output.
  • o_buf β€” Pointer to the buffer returned by the MFW. the actual prize 🎁
  • b_can_sleep β€” Can sleep. (a whole mood, honestly 😴)

πŸ‘‘ RETURN πŸ‘‘

0 upon success. that's the only one listed, so 0 is your bestie and the rest is between you and the universe 🫢


🌈 SEE ALSO 🌈

starting with the kernel file, as one does:

  • Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h

and then the entire group chat of siblings, all (9), all accounted for, no cap:


fr fr bestie, that's every single reference β€” count them, they're all there, nothing got left on read πŸ’–

and that's the page!! 🧚 from ./drivers/net/ethernet/qlogic/qed, dated October 2026, manual section qed_mcp_nvm_rd_cmd(9) β€” slay, ate, no crumbs, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from