Skip to content

Commit 85b8fb9

Browse files
MaisenbacherDigaw
authored andcommitted
ioctl: fix nvme_lm_set_features_ctrl_data_queue
Set the correct value in nvme_set_features_args when enabling the tail pointer trigger. Signed-off-by: Dennis Maisenbacher <[email protected]>
1 parent 2178245 commit 85b8fb9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nvme/ioctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2509,7 +2509,7 @@ int nvme_lm_set_features_ctrl_data_queue(int fd, __u16 cdqid, __u32 hp, __u32 tp
25092509
.fd = fd,
25102510
.fid = NVME_FEAT_FID_CTRL_DATA_QUEUE,
25112511
.nsid = NVME_NSID_NONE,
2512-
.cdw11 = cdqid | NVME_SET(tpt, LM_CTRL_DATA_QUEUE_ETPT),
2512+
.cdw11 = cdqid | NVME_SET(etpt, LM_CTRL_DATA_QUEUE_ETPT),
25132513
.cdw12 = hp,
25142514
.cdw13 = tpt,
25152515
.save = false,

0 commit comments

Comments
 (0)