qed_mcp_nvm_get_cfg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– qed_mcp_nvm_get_cfg β€” the Kernel API Manual girlies know this one ✨

Okay so bestie, welcome to the Kernel API Manual page for qed_mcp_nvm_get_cfg(9) β€” yes that whole mouthful, we stan a long function name πŸ’…. This one is literally just "get the NVM config attribute value", and I'm gonna walk you through it like we're texting at 2am 🫢.


🌸 NAME 🌸

qed_mcp_nvm_get_cfg β€” get that NVM config attribute value, periodt πŸ’–


✨ SYNOPSIS ✨

int qed_mcp_nvm_get_cfg (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt
, u16 option_id , u8 entity_id , u16 flags , u8 *p_buf , u32 *p_len );

Not me copying that signature exactly because every character matters 😭 β€” type it out precisely, no "fixing" it, iykyk.


πŸ¦‹ ARGUMENTS πŸ¦‹

Every single one, bestie, no skipping:

  • p_hwfn β€” HW device data. That's the hardware function struct, the main character of the whole show πŸ‘‘
  • p_ptt β€” p_ptt. Yeah, the doc literally just says "P_ptt" πŸ™ˆ β€” that's the PTT handle, and that's all the original gives us, so I'm not gonna invent extra lore.
  • option_id β€” Option ID. Which option we're asking about πŸ’…
  • entity_id β€” Entity ID. Which entity we're asking about 🌸
  • flags β€” Flags. Yep. Flags. πŸŽ€
  • p_buf β€” Buf. The buffer where the goods land πŸ“
  • p_len β€” Len. The length situation, fr fr πŸ“

πŸ”₯ RETURN πŸ”₯

Returns Int. That's it, that's the whole return section β€” no cap, the original keeps it that short πŸ’€


🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h β€” go read it, it's giving source of truth ⭐

And here's the entire friend group, all (9), all iconic, all listed exactly as they came to me πŸ‘‘:


Lowkey obsessed with how the whole nvm family hangs together β€” qed_mcp_nvm_get_cfg(9) grabs the config, qed_mcp_nvm_set_cfg(9) sets it, they're literally siblings πŸ’œ

And that's the page, bestie!! πŸŽ€ This lil' gem lives at ./drivers/net/ethernet/qlogic/qed and it's dated October 2026 β€” so yeah, future vibes, main character energy only πŸŒŸπŸ’– Slay responsibly, and remember: every flag, every argument, every single (9) reference stays exactly where it is 🫢✨

πŸ“¦ where this page comes from