Skip to content

Commit 9f57c51

Browse files
committed
types.h: add missing description and enum for log page att
1. Add missing description for existing log page attributes. 2. Add bit 5, 6 enum and their respective descriptions. Signed-off-by: Ankit Kumar <[email protected]>
1 parent 5ecf034 commit 9f57c51

1 file changed

Lines changed: 26 additions & 5 deletions

File tree

src/nvme/types.h

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,18 +1284,39 @@ enum nvme_id_ctrl_frmw {
12841284
/**
12851285
* enum nvme_id_ctrl_lpa - Flags indicating optional attributes for log pages
12861286
* that are accessed via the Get Log Page command.
1287-
* @NVME_CTRL_LPA_SMART_PER_NS:
1288-
* @NVME_CTRL_LPA_CMD_EFFECTS:
1289-
* @NVME_CTRL_LPA_EXTENDED:
1290-
* @NVME_CTRL_LPA_TELEMETRY:
1291-
* @NVME_CTRL_LPA_PERSETENT_EVENT:
1287+
* @NVME_CTRL_LPA_SMART_PER_NS: If set, controller supports SMART/Health log
1288+
* page on a per namespace basis.
1289+
* @NVME_CTRL_LPA_CMD_EFFECTS: If Set, the controller supports the commands
1290+
* supported and effects log page.
1291+
* @NVME_CTRL_LPA_EXTENDED: If set, the controller supports extended data
1292+
* for log page command including extended number
1293+
* of dwords and log page offset fields.
1294+
* @NVME_CTRL_LPA_TELEMETRY: If set, the controller supports the telemetry
1295+
* host-initiated and telemetry controller-initiated
1296+
* log pages and sending telemetry log notices.
1297+
* @NVME_CTRL_LPA_PERSETENT_EVENT: If set, the controller supports
1298+
* persistent event log.
1299+
* @NVME_CTRL_LPA_LI0_LI5_LI12_LI13: If set, the controller supports
1300+
* - log pages log page.
1301+
* - returning scope of each command in
1302+
* commands supported and effects log
1303+
* page.
1304+
* - feature identifiers supported and
1305+
* effects log page.
1306+
* - NVMe-MI commands supported and
1307+
* effects log page.
1308+
* @NVME_CTRL_LPA_DA4_TELEMETRY: If set, the controller supports data
1309+
* area 4 for telemetry host-initiated and
1310+
* telemetry.
12921311
*/
12931312
enum nvme_id_ctrl_lpa {
12941313
NVME_CTRL_LPA_SMART_PER_NS = 1 << 0,
12951314
NVME_CTRL_LPA_CMD_EFFECTS = 1 << 1,
12961315
NVME_CTRL_LPA_EXTENDED = 1 << 2,
12971316
NVME_CTRL_LPA_TELEMETRY = 1 << 3,
12981317
NVME_CTRL_LPA_PERSETENT_EVENT = 1 << 4,
1318+
NVME_CTRL_LPA_LI0_LI5_LI12_LI13 = 1 << 5,
1319+
NVME_CTRL_LPA_DA4_TELEMETRY = 1 << 6,
12991320
};
13001321

13011322
/**

0 commit comments

Comments
 (0)