Skip to content

Commit 7470227

Browse files
committed
types.h: add missing enum for optional nvm command
Add bit 8, NVM command set copy command support enum and its description. Signed-off-by: Ankit Kumar <[email protected]>
1 parent 9f57c51 commit 7470227

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/nvme/types.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ struct nvme_id_psd {
918918
* and Write fused operation. This field is specified in logical
919919
* blocks and is a 0’s based value.
920920
* @ocfs: Optional Copy Formats Supported, each bit n means controller
921-
* supports Copy Format n.
921+
* supports Copy Format n.
922922
* @sgls: SGL Support, see &enum nvme_id_ctrl_sgls
923923
* @mnan: Maximum Number of Allowed Namespaces indicates the maximum
924924
* number of namespaces supported by the NVM subsystem.
@@ -1483,6 +1483,8 @@ enum nvme_id_ctrl_cqes {
14831483
* the Timestamp feature.
14841484
* @NVME_CTRL_ONCS_VERIFY: If set, then the controller supports
14851485
* the Verify command.
1486+
* @NVME_CTRL_ONCS_COPY: If set, then the controller supports
1487+
* the copy command.
14861488
*/
14871489
enum nvme_id_ctrl_oncs {
14881490
NVME_CTRL_ONCS_COMPARE = 1 << 0,
@@ -1493,6 +1495,7 @@ enum nvme_id_ctrl_oncs {
14931495
NVME_CTRL_ONCS_RESERVATIONS = 1 << 5,
14941496
NVME_CTRL_ONCS_TIMESTAMP = 1 << 6,
14951497
NVME_CTRL_ONCS_VERIFY = 1 << 7,
1498+
NVME_CTRL_ONCS_COPY = 1 << 8,
14961499
};
14971500

14981501
/**

0 commit comments

Comments
 (0)