linux/drivers/infiniband/ulp
Max Gurtovoy 317000b926 IB/isert: allocate RW ctxs according to max IO size
Current iSER target code allocates MR pool budget based on queue size.
Since there is no handshake between iSER initiator and target on max IO
size, we'll set the iSER target to support upto 16MiB IO operations and
allocate the correct number of RDMA ctxs according to the factor of MR's
per IO operation. This would guarantee sufficient size of the MR pool for
the required IO queue depth and IO size.

Link: https://lore.kernel.org/r/20200708091908.162263-1-maxg@mellanox.com
Reported-by: Krishnamraju Eraparaju <krishna2@chelsio.com>
Tested-by: Krishnamraju Eraparaju <krishna2@chelsio.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-07-16 14:23:22 -03:00
..
ipoib Merge branch 'mlx5_ipoib_qpn' into rdma.git for-next 2020-07-06 14:29:58 -03:00
iser RDMA: Correct trivial kernel-doc inconsistencies 2020-06-22 11:57:39 -03:00
isert IB/isert: allocate RW ctxs according to max IO size 2020-07-16 14:23:22 -03:00
opa_vnic RDMA: Correct trivial kernel-doc inconsistencies 2020-06-22 11:57:39 -03:00
rtrs RDMA/cma: Provide ECE reject reason 2020-05-27 16:05:05 -03:00
srp treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
srpt IB/srpt: Remove WARN_ON from srpt_cm_req_recv 2020-06-18 15:18:00 -03:00
Makefile RDMA/rtrs: include client and server modules into kernel compilation 2020-05-17 18:57:15 -03:00