nvme\_init\_set\_features\_endurance\_evt\_cfg(9) libnvme API manual nvme\_init\_set\_features\_endurance\_evt\_cfg(9)

# [NAME](#NAME)

nvme\_init\_set\_features\_endurance\_evt\_cfg - Initialize passthru command for Endurance Group Event Configuration

# [SYNOPSIS](#SYNOPSIS)

**void nvme\_init\_set\_features\_endurance\_evt\_cfg** **(struct libnvme\_passthru\_cmd \*cmd ,** **bool sv ,** **\_\_u16 endgid ,** **\_\_u8 egcw );**

# [ARGUMENTS](#ARGUMENTS)

[cmd](#cmd)

Passthru command to use

[sv](#sv)

Save value across power states

[endgid](#endgid)

Endurance Group Identifier

[egcw](#egcw)

Flags to enable warning, see *enum nvme\_eg\_critical\_warning\_flags*

# [DESCRIPTION](#DESCRIPTION)

Initializes the passthru command buffer for the Set Features command with FID value NVME\_FEAT\_FID\_ENDURANCE\_EVT\_CFG

nvme\_init\_set\_features\_endurance\_evt\_cfg October 2026

---

Document: nvme_init_set_features_endurance_evt_cfg-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
