NVME_INIT_GET_LOG_CREATE_TELEMETRY_HOST_MCDA-LIBNVME3(2)
π 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 anenum 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
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms