libnvme(2)

πŸ’– libnvme β€” enum nvmf_log_discovery_lsp πŸ’–

okay bestie, welcome to the libnvme API manual ✨ this page is genuinely just about one little enum, and honestly? she's small but she's mighty. no cap.


🌸 NAME 🌸

enum nvmf_log_discovery_lsp β€” the Discovery log specific field πŸ¦‹

like, the Discovery log page has a "specific" field, and this enum is the list of values it can hold. it's giving very niche, very important.


✨ SYNOPSIS ✨

enum nvmf_log_discovery_lsp {
    NVMF_LOG_DISC_LSP_NONE ,
    NVMF_LOG_DISC_LSP_EXTDLPE ,
    NVMF_LOG_DISC_LSP_PLEO ,
    NVMF_LOG_DISC_LSP_ALLSUBE

};

look at her. four constants, one blank line before the closing brace, and a commacomma situation on every single member. periods where? nowhere, we don't do that here πŸ’…


πŸŽ€ Constants πŸŽ€

these are the four glow-ups this enum can serve. no shade, they're all valid.

  • NVMF_LOG_DISC_LSP_NONE β€” None 🫢 the "no special thing happening here" option.
  • NVMF_LOG_DISC_LSP_EXTDLPE β€” Extended Discovery Log Page Entries πŸ”₯ this is the one where you get the extended version of the Discovery log page entries.
  • NVMF_LOG_DISC_LSP_PLEO β€” Port Local Entries Only 🌈 only the entries that are local to the port. just those. nobody else invited to the party.
  • NVMF_LOG_DISC_LSP_ALLSUBE β€” All NVM Subsystem Entries πŸ‘‘ every NVM subsystem's entries, all of them, the whole group chat.

πŸ’€ real talk: that's the entire page. four constants. that's it. she said what she said.

and that's a wrap on libnvme(2) β€” this page came from the API Manual, dated July 2026 πŸ’œ go forth and pick the right log specific field, bestie, you got this fr fr βœ¨πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from