qed_mcp_bist...et_image_att(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qed_mcp_bist_nvm_get_image_att β€” NAME ✨

okay so bestie, this is a page from the Kernel API Manual, and it's about one very specific little function: qed_mcp_bist_nvm_get_image_att β€” the Bist nvm test helper that gets you an image's attributes by index. that's it, that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

no cap, here's the whole signature, verbatim, don't @ me:

int qed_mcp_bist_nvm_get_image_att (struct qed_hwfn *p_hwfn , struct
       qed_ptt *p_ptt , struct bist_nvm_image_att *p_image_att , u32
       image_index );

like… four args, one int coming back at you, very demure, very mindful. πŸ¦‹


✨ ARGUMENTS ✨

okay so every single one of these matters, let's go:

  • p_hwfn β€” the HW device data. literally the hardware's whole personality in a struct. πŸ‘‘
  • p_ptt β€” the PTT, which is required for register access. no PTT, no registers, no nothing, iykyk. πŸ”‘
  • p_image_att β€” the attributes of the image. this is where the good stuff lands. πŸŽ€
  • image_index β€” the index of the image you want information for. u32, so like, pick a number bestie. πŸ”’

🫢 RETURN 🫢

Int. and it's 0 when the operation was successul. yes that's a 0, as in slay, it worked, zero drama, zero notes. πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹

mmkay so first the file, iconic:

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

and now the whole entire friend group, every single one, don't skip a single name fr fr:


and that's the whole page bestie, go read the actual source, mwah πŸ’‹

sign-off szn: this one lives in ./drivers/net/ethernet/qlogic/qed, and the date on it is October 2026 β€” so like, future icon behaviour honestly. πŸ—“οΈβœ¨πŸ«Ά

πŸ“¦ where this page comes from