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 PEL reporting context port identifier type definitions #785

Merged
merged 1 commit into from
Feb 29, 2024
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: 12 additions & 0 deletions src/nvme/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3374,6 +3374,18 @@ enum nvme_pel_rci {
#define NVME_PEL_RCI_RCE(rci) NVME_GET(rci, PEL_RCI_RCE)
#define NVME_PEL_RCI_RSVD(rci) NVME_GET(rci, PEL_RCI_RSVD)

/**
* enum nvme_pel_rci_rcpit - Persistent Event Log Reporting Context - Port Identifier Type
* @NVME_PEL_RCI_RCPIT_NOT_EXIST: Does not already exist
* @NVME_PEL_RCI_RCPIT_EST_PORT: Established by an NVM subsystem port
* @NVME_PEL_RCI_RCPIT_EST_ME: Established by a Management Endpoint
*/
enum nvme_pel_rci_rcpit {
NVME_PEL_RCI_RCPIT_NOT_EXIST = 0,
NVME_PEL_RCI_RCPIT_EST_PORT = 1,
NVME_PEL_RCI_RCPIT_EST_ME = 2,
};

/**
* struct nvme_persistent_event_entry - Persistent Event
* @etype: Event Type
Expand Down