Go to the source code of this file.
◆ handle_nvme_io_cmd()
Definition at line 126 of file nvme_io_cmd.c.
127{
130 unsigned int opc;
131
133
134
135
136
137
138
139 opc = (
unsigned int)nvmeIOCmd->
OPC;
140
141 switch (opc)
142 {
144 {
145 xil_printf("IO Flush Command\r\n");
146 nvmeCPL.
dword[0] = 0;
149 break;
150 }
152 {
153
155 break;
156 }
158 {
159
161 break;
162 }
163 default:
164 {
165 xil_printf("Not Support IO Command OPC: %X\r\n", opc);
167 break;
168 }
169 }
170}
void set_auto_nvme_cpl(unsigned int cmdSlotTag, unsigned int specific, unsigned int statusFieldWord)
void handle_nvme_io_write(unsigned int cmdSlotTag, NVME_IO_COMMAND *nvmeIOCmd)
void handle_nvme_io_read(unsigned int cmdSlotTag, NVME_IO_COMMAND *nvmeIOCmd)
The entry function for translating the given NVMe command into slice requests.
unsigned short cmdSlotTag
unsigned int cmdDword[16]
The main structure of completion queue entry.
unsigned short statusFieldWord