nvme: use a single NVME_AQ_DEPTH and relax it to 32
No need to differentiate fabrics from pci/loop, also lower it to 32 as we don't really need 256 inflight admin commands. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:

committed by
Jens Axboe

parent
6bfe04255d
commit
7aa1f42752
@@ -1027,7 +1027,7 @@ nvmet_rdma_parse_cm_connect_req(struct rdma_conn_param *conn,
|
||||
queue->recv_queue_size = le16_to_cpu(req->hsqsize) + 1;
|
||||
queue->send_queue_size = le16_to_cpu(req->hrqsize);
|
||||
|
||||
if (!queue->host_qid && queue->recv_queue_size > NVMF_AQ_DEPTH)
|
||||
if (!queue->host_qid && queue->recv_queue_size > NVME_AQ_DEPTH)
|
||||
return NVME_RDMA_CM_INVALID_HSQSIZE;
|
||||
|
||||
/* XXX: Should we enforce some kind of max for IO queues? */
|
||||
|
Reference in New Issue
Block a user