Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39673e19 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

nvme.h: add struct nvme_host_mem_buf_desc and HMB flags

parent fdd050b5
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -587,6 +587,11 @@ struct nvme_feat_auto_pst {
	__le64 entries[32];
};

enum {
	NVME_HOST_MEM_ENABLE	= (1 << 0),
	NVME_HOST_MEM_RETURN	= (1 << 1),
};

/* Admin commands */

enum nvme_admin_opcode {
@@ -671,6 +676,12 @@ struct nvme_features {
	__u32			rsvd12[4];
};

struct nvme_host_mem_buf_desc {
	__le64			addr;
	__le32			size;
	__u32			rsvd;
};

struct nvme_create_cq {
	__u8			opcode;
	__u8			flags;