NVME_INIT_SET_FEATURES_ENDURANCE_EVT_CFG-LIBNVME3(2)
π nvme_init_set_features_endurance_evt_cfg β libnvme API manual, bestie edition
okay so this one lives in the libnvme API manual and honestly? her name is a mouthful but she's an icon. Say hi to nvme_init_set_features_endurance_evt_cfg β the girl who sets up your passthru command for the Endurance Group Event Configuration. Yes that's a real thing. No I will not be shortening it. π
β¨ NAME β¨
nvme_init_set_features_endurance_evt_cfg β Initialize passthru command for Endurance Group Event Configuration
likeβ¦ that's literally what she does. she initializes the passthru command for Endurance Group Event Configuration. main character energy only πΈ
π¦ SYNOPSIS π¦
void nvme_init_set_features_endurance_evt_cfg (struct
libnvme_passthru_cmd *cmd , bool sv , __u16 endgid , __u8 egcw );
not me spelling out the whole signature so you can copy it exactly. it returns void btw, so don't go looking for a return value, there isn't one, periodt π
π«Ά ARGUMENTS π«Ά
cmdβ the passthru command you're gonna use. this is the vessel. the moment. the one that gets initialized β¨svβ save value across power states. it's abool, so yes/no energy. do you want it to survive a power state change? your call bestie πendgidβ the Endurance Group Identifier, typed as__u16. it's giving "which endurance group are we talking about" π¦egcwβ flags to enable warning, typed as__u8. seeenum nvme_eg_critical_warning_flagsfor what you can actually put in there, iykyk π₯
π DESCRIPTION π
so what she actually does: she initializes the passthru command buffer for the Set Features command, with the FID value NVME_FEAT_FID_ENDURANCE_EVT_CFG. that's it. that's the whole vibe. lowkey simple, highkey essential π
ngl, this is the setup step β she's prepping cmd so it's ready to go. don't expect her to fire the command off for you, that's a different function's job π«Ά
that's the whole page bestie, no cap π§ from the libnvme API manual, dated October 2026 β mwah, go slay your Set Features command π β π
π¦ 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