struct nvme_uring_cmd - nvme uring command structure
Contents
Members
opcode Operation code, see enumnvme_io_opcodes and enumnvme_admin_opcodes
flags Not supported: intended for command flags (eg: SGL, FUSE)
rsvd1 Reserved for future use
nsid Namespace Identifier, or Fabrics type
cdw2 Command Dword 2 (no spec defined use)
cdw3 Command Dword 3 (no spec defined use)
metadata User space address to metadata buffer (NULL if not used)
addr User space address to data buffer (NULL if not used)
metadata_len
Metadata buffer transfer length
data_len Data buffer transfer length
cdw10 Command Dword 10 (command specific)
cdw11 Command Dword 11 (command specific)
cdw12 Command Dword 12 (command specific)
cdw13 Command Dword 13 (command specific)
cdw14 Command Dword 14 (command specific)
cdw15 Command Dword 15 (command specific)
timeout_ms If non-zero, overrides system default timeout in milliseconds
rsvd2 Reserved for future use (and fills an implicit struct pad
May 2025 struct nvme_uring_cmd libnvme(2)
Name
struct nvme_uring_cmd - nvme uring command structure
Synopsis
struct nvme_uring_cmd {
__u8opcode;__u8flags;__u16rsvd1;__u32nsid;__u32cdw2;__u32cdw3;__u64metadata;__u64addr;__u32metadata_len;__u32data_len;__u32cdw10;__u32cdw11;__u32cdw12;__u32cdw13;__u32cdw14;__u32cdw15;__u32timeout_ms;__u32rsvd2;
};
