I am currently writing a Kernel module that needs to talk to an NVMe device. What is the best way to do this? I looked into the SPDK library but seems like that it operates in the userspace, which is something that I am not looking for. I found that there's a compiled kernel module for nvme driver in the linux kernel library (/lib/modules
) but I am not sure how to interact with that.
Would appreciate any help on this.