Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

types: add NVME_FEAT_FDPE_*** definitions #940

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion src/nvme/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -5642,6 +5642,8 @@ struct nvme_fdp_events_log {

/**
* struct nvme_feat_fdp_events_cdw11 - FDP Events Feature Command Dword 11
* Deprecated: doesn't support this struct.
* Use NVME_FEAT_FDPE_*** definitions instead.
* @phndl: Placement Handle
* @noet: Number of FDP Event Types
* @rsvd24: Reserved
Expand All @@ -5650,7 +5652,7 @@ struct nvme_feat_fdp_events_cdw11 {
__le16 phndl;
__u8 noet;
__u8 rsvd24;
};
} __attribute__((deprecated));

/**
* enum nvme_fdp_supported_event_attributes - Supported FDP Event Attributes
Expand Down Expand Up @@ -8407,6 +8409,10 @@ enum nvme_features_id {
* @NVME_FEAT_EG_ENDGID_MASK:
* @NVME_FEAT_EG_EGCW_SHIFT:
* @NVME_FEAT_EG_EGCW_MASK:
* @NVME_FEAT_FDPE_PHNDL_SHIFT:
* @NVME_FEAT_FDPE_PHNDL_MASK:
* @NVME_FEAT_FDPE_NOET_SHIFT:
* @NVME_FEAT_FDPE_NOET_MASK:
* @NVME_FEAT_SPM_PBSLC_SHIFT:
* @NVME_FEAT_SPM_PBSLC_MASK:
* @NVME_FEAT_HOSTID_EXHID_SHIFT:
Expand Down Expand Up @@ -8513,6 +8519,10 @@ enum nvme_feat {
NVME_FEAT_EG_ENDGID_MASK = 0xffff,
NVME_FEAT_EG_EGCW_SHIFT = 16,
NVME_FEAT_EG_EGCW_MASK = 0xff,
NVME_FEAT_FDPE_PHNDL_SHIFT = 0,
NVME_FEAT_FDPE_PHNDL_MASK = 0xffff,
NVME_FEAT_FDPE_NOET_SHIFT = 16,
NVME_FEAT_FDPE_NOET_MASK = 0xff,
NVME_FEAT_SPM_PBSLC_SHIFT = 0,
NVME_FEAT_SPM_PBSLC_MASK = 0xff,
NVME_FEAT_HOSTID_EXHID_SHIFT = 0,
Expand Down
Loading