From: Keith Busch Date: Thu, 10 Mar 2016 15:44:24 +0000 (-0700) Subject: Sync with latest kernel's provided nvme IOCTLs X-Git-Tag: v0.5~4^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c197d011d897f22edfa9c2a4e14ecad29e7d857a;p=users%2Fsagi%2Fnvme-cli.git Sync with latest kernel's provided nvme IOCTLs New kernels provide reset and subsystem reset. Signed-off-by: Keith Busch --- diff --git a/linux/nvme.h b/linux/nvme.h index 4543051a..f48c0f08 100644 --- a/linux/nvme.h +++ b/linux/nvme.h @@ -503,5 +503,8 @@ struct nvme_bar { #define NVME_IOCTL_ADMIN_CMD _IOWR('N', 0x41, struct nvme_admin_cmd) #define NVME_IOCTL_SUBMIT_IO _IOW('N', 0x42, struct nvme_user_io) #define NVME_IOCTL_IO_CMD _IOWR('N', 0x43, struct nvme_passthru_cmd) +#define NVME_IOCTL_RESET _IO('N', 0x44) +#define NVME_IOCTL_SUBSYS_RESET _IO('N', 0x45) + #endif /* _UAPI_LINUX_NVME_H */