Home
last modified time | relevance | path

Searched hist:"44 c3c6257e99c6284f312206de73783575fc8906" (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Dnvme-rdma.hdiff 44c3c6257e99c6284f312206de73783575fc8906 Wed Sep 22 23:55:35 CEST 2021 Max Gurtovoy <mgurtovoy@nvidia.com> nvme-rdma: limit the maximal queue size for RDMA controllers

Corrent limit of 1024 isn't valid for some of the RDMA based ctrls. In
case the target expose a cap of larger amount of entries (e.g. 1024),
the initiator may fail to create a QP with this size. Thus limit to a
value that works for all RDMA adapters.

Future general solution should use RDMA/core API to calculate this size
according to device capabilities and number of WRs needed per NVMe IO
request.

Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
/linux/drivers/nvme/host/
H A Drdma.cdiff 44c3c6257e99c6284f312206de73783575fc8906 Wed Sep 22 23:55:35 CEST 2021 Max Gurtovoy <mgurtovoy@nvidia.com> nvme-rdma: limit the maximal queue size for RDMA controllers

Corrent limit of 1024 isn't valid for some of the RDMA based ctrls. In
case the target expose a cap of larger amount of entries (e.g. 1024),
the initiator may fail to create a QP with this size. Thus limit to a
value that works for all RDMA adapters.

Future general solution should use RDMA/core API to calculate this size
according to device capabilities and number of WRs needed per NVMe IO
request.

Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>