nvme: don't set interrupt vector in create_io_cq
nvme_ctrlr_cmd_create_io_cq() was using the queue ID as the IV (Interrupt Vector) field in the Create I/O Completion Queue command. Since the SPDK NVMe driver does not enable interrupts, this is misleading at best. Change-Id: I3ea53701fdb9f21d9dc8d8fe20ccf2833b76cfbf Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
badade1eed
commit
cc0b900e29
@ -154,7 +154,7 @@ nvme_ctrlr_cmd_create_io_cq(struct spdk_nvme_ctrlr *ctrlr,
|
|||||||
* 0x2 = interrupts enabled
|
* 0x2 = interrupts enabled
|
||||||
* 0x1 = physically contiguous
|
* 0x1 = physically contiguous
|
||||||
*/
|
*/
|
||||||
cmd->cdw11 = (io_que->id << 16) | 0x1;
|
cmd->cdw11 = 0x1;
|
||||||
cmd->dptr.prp.prp1 = io_que->cpl_bus_addr;
|
cmd->dptr.prp.prp1 = io_que->cpl_bus_addr;
|
||||||
|
|
||||||
nvme_ctrlr_submit_admin_request(ctrlr, req);
|
nvme_ctrlr_submit_admin_request(ctrlr, req);
|
||||||
|
Loading…
Reference in New Issue
Block a user