NVME_INIT_GET_LOG_CREATE_TELEMETRY_HOST_MCDA-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

πŸ‘‘ nvme_init_get_log_create_telemetry_host_mcda β€” the libnvme API manual, but make it make sense πŸ’…

okay so bestie, welcome to the libnvme API manual πŸŽ€ β€” yes, that's the whole vibe, we're in library-land now, and this particular page is about one very specific little function that sets up a telemetry log command for you. No cap, it's niche, but it's iconic niche. Let's go ✨


✨ NAME ✨

nvme_init_get_log_create_telemetry_host_mcda β€” Initialize passthru command for Create Telemetry Host-Initiated πŸ¦‹

Like, say the whole name out loud once, it's giving "I have a lot of siblings and my parents ran out of ideas" 😭 but it does exactly what it says on the tin.


🌸 SYNOPSIS 🌸

void nvme_init_get_log_create_telemetry_host_mcda (struct
libnvme_passthru_cmd *cmd , enum nvme_telemetry_da mcda , struct
nvme_telemetry_log *log );

Three arguments in, and nothing comes back out (void, she's a doer not a returner πŸ’β€β™€οΈ). Main character energy fr fr.


πŸ’– ARGUMENTS πŸ’–

  • cmd β€” the passthru command you want to use 🫢 like, hand her the buffer, she'll fill it in.
  • mcda β€” Maximum Created Data Area 😌 yes that's the real name, it's an enum nvme_telemetry_da, very official, very demure.
  • log β€” the userspace address of the log payload πŸ“¦ that's where the good stuff lands.

⭐ DESCRIPTION ⭐

So what does she actually do? She initializes the passthru command buffer for the Get Log command πŸŽ€ β€” and she's very specific about it:

  • the LID value is NVME_LOG_LID_TELEMETRY_HOST πŸ”₯
  • the LSP value is NVME_LOG_TELEM_HOST_LSP_CREATE πŸ’…

That's the whole bit. She sets those up in your ${cmd} buffer and then hands the mic back to you. periodt. πŸ‘‘

ngl, this one's a builder, not a caller β€” she preps the command, you still have to actually send it. Don't be out here expecting her to do the ioctl for you, bestie 😭

🧚 sign-off 🧚

That's the whole tea, bestie 🌈 β€” this page is from the libnvme API manual, dated October 2026 πŸ’œ go forth and initialize those telemetry host-initiated create commands, you absolute legend πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from