nvme/pci: Don't set reserved SQ create flags
authorKeith Busch <keith.busch@intel.com>
Tue, 4 Apr 2017 22:18:12 +0000 (18:18 -0400)
committerChristoph Hellwig <hch@lst.de>
Fri, 21 Apr 2017 14:41:46 +0000 (16:41 +0200)
The QPRIO field is only valid if weighted round robin arbitration is used,
and this driver doesn't enable that controller configuration option.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/pci.c

index d9e2bd07ed5682c5573989876d2238451829c886..af783a33e93a8016c508dad9cb5625c74662197f 100644 (file)
@@ -785,7 +785,7 @@ static int adapter_alloc_sq(struct nvme_dev *dev, u16 qid,
                                                struct nvme_queue *nvmeq)
 {
        struct nvme_command c;
-       int flags = NVME_QUEUE_PHYS_CONTIG | NVME_SQ_PRIO_MEDIUM;
+       int flags = NVME_QUEUE_PHYS_CONTIG;
 
        /*
         * Note: we (ab)use the fact the the prp fields survive if no data