Skip to content

Commit 2384338

Browse files
committed
types: Change LM CDQ sz argument from u8 to u32.
According to NVMe 2.1 Base Specificaiton, Controller Data Queue Size (CDQSIZE) occupies bits 31:00 of CDW12, so it should be using u32. Signed-off-by: Dmitry Sherstoboev <[email protected]>
1 parent 97f4883 commit 2384338

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nvme/api-types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ struct nvme_lm_cdq_args {
988988
__u16 cntlid;
989989
__u16 cdqid;
990990
__u8 sel;
991-
__u8 sz;
991+
__u32 sz;
992992
};
993993

994994
/**

0 commit comments

Comments
 (0)