Home
last modified time | relevance | path

Searched hist:b0012dd397155438c61b0c1b52ceec1f1366b3cc (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/nvme/target/
H A Drdma.cdiff b0012dd397155438c61b0c1b52ceec1f1366b3cc Wed Apr 19 03:56:57 CDT 2017 Max Gurtovoy <maxg@mellanox.com> nvmet-rdma: use SRQ per completion vector

In order to save resource allocation and utilize the completion
locality in a better way (compared to SRQ per device that exist today),
allocate Shared Receive Queues (SRQs) per completion vector. Associate
each created QP/CQ with an appropriate SRQ according to the queue index.
This association will reduce the lock contention in the fast path
(compared to SRQ per device solution) and increase the locality in
memory buffers. Add new module parameter for SRQ size to adjust it
according to the expected load. User should make sure the size is >= 256
to avoid lack of resources. Also reduce the debug level of "last WQE
reached" event that is raised when a QP is using SRQ during destruction
process to relief the log.

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>