Best way to exercise NVME ioctls

Prasad Joshi prasadjoshi124 at gmail.com
Mon Aug 26 02:37:00 EDT 2013


Hi All,

I am doing experiments with nvme linux driver. I would like to write
some sample programs which uses nvme ioctls. Specifically I wanted to
invoke identify command to start with. nvme.h header file contains two
structures "nvme_admin_cmd" and "nvme_identify", both seem to be
identical.

Would there be any problem if I use any one of them for calling nvme IOCTL?
What will be the best and ideal way?

Thanks and Warm Regards,
Prasad



More information about the Linux-nvme mailing list