qed_mcp_nvm_set_cfg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qed_mcp_nvm_set_cfg β€” the kernel API manual, but make it cute ✨

okay so bestie, welcome to qed_mcp_nvm_set_cfg(9) πŸŽ€ β€” this is a slab of the Kernel API Manual, and honestly? It's a whole mood. The name literally tells you what's up: it sets an NVM config attribute value. NVM as in non-volatile memory, config as in configuration, and set as in setting it. Iconic behavior, no notes πŸ’…


✨ NAME ✨

qed_mcp_nvm_set_cfg β€” Set NVM config attribute value. That's it, that's the whole personality 🫢


🌸 SYNOPSIS 🌸

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

like, look at that signature. it's giving "i take my arguments very seriously" πŸ’€ and it returns an int, because of course it does.


πŸ¦‹ ARGUMENTS πŸ¦‹

okay so here's the cast of characters, and we're gonna go through every single one because nobody gets left out on my watch πŸ“

  • p_hwfn β€” HW device data. the hardware device's whole vibe and data situation ✨
  • p_ptt β€” P_ptt. yes bestie, that is literally what the manual says, and I'm not gonna pretend it says more than that πŸ™ˆ
  • option_id β€” Option ID. it's a u16, it identifies the option πŸ’œ
  • entity_id β€” Entity ID. it's a u8, it identifies the entity πŸ‘‘
  • flags β€” Flags. you know what these are. flags. πŸŽ€
  • p_buf β€” Buf. a u8 * pointing at a buffer 🌸
  • len β€” Len. a u32, and it's the length bestie, it's giving "how long is the buf" 😭

🌈 RETURN 🌈

It returns an Int. that's the whole return value situation. short, sweet, and to the point πŸ’–


⭐ SEE ALSO ⭐

bestie there are SO many friends in this list and I refuse to leave a single one out, so buckle up, we're doing the whole roll call 🧚

The kernel file is ./drivers/net/ethernet/qlogic/qed/qed_mcp.h β€” that's where the whole squad lives πŸ’…

and yeah β€” lowkey the sibling energy is real, qed_mcp_nvm_get_cfg(9) is literally right there at the end, they're a matching set πŸ”₯

pro tip from the manual itself: the kernel file it points you at lives under ./drivers/net/ethernet/qlogic/qed β€” go read the header if you want the lore πŸ“–

and that's the whole page bestie, no cap, every flag and friend accounted for ✨

Sign-off time πŸŽ€: this little gem comes from ./drivers/net/ethernet/qlogic/qed, dated October 2026, and it's qed_mcp_nvm_set_cfg(9) β€” go forth and set those NVM config attribute values, you absolute main character πŸ’œπŸ¦‹

πŸ“¦ where this page comes from