From: Tokunori Ikegami Date: Mon, 26 Feb 2024 15:46:52 +0000 (+0900) Subject: types: Add PEL reporting context port identifier type definitions X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=3bf34a6f0c8c6f501d7291c07945ff1ad05f7728;p=users%2Fsagi%2Flibnvme.git types: Add PEL reporting context port identifier type definitions The changes for PEL rci port identifier type print function. Signed-off-by: Tokunori Ikegami --- diff --git a/src/nvme/types.h b/src/nvme/types.h index f2c1ce60..02d56040 100644 --- a/src/nvme/types.h +++ b/src/nvme/types.h @@ -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