I am reviewing the NVM Express Base Specification, Rev. 1.4 Paragraph 7.2 Command Submission and Completion Mechanism (Informative) and wondering where to start (examples) with a C code solution to establishing the Submission and Completion Queues on the PCIe Base Registers and then generating submission data and monitoring the completion queue.
I have never written a C NVMe or PCIe device driver nor worked with an FPGA. Expecting pointers as to where to start the process in a bare metal environment.