RDMA/rtrs: RDMA_RXE requires more number of WR
authorMd Haris Iqbal <haris.iqbal@cloud.ionos.com>
Mon, 14 Jun 2021 09:03:35 +0000 (11:03 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 18 Jun 2021 16:47:13 +0000 (13:47 -0300)
commitb012f0ad5321e86d61f5c9eabba3320347221d06
treed62a89f2428498bc77bfef571e4d30a35134bdbf
parent0509ebfa3385a90c5239e071d63c81b21bc8fd18
RDMA/rtrs: RDMA_RXE requires more number of WR

When using rdma_rxe, post_one_recv() returns ENOMEM error due to the full
recv queue.  This patch increase the number of WR for receive queue to
support all devices.

Link: https://lore.kernel.org/r/20210614090337.29557-4-jinpu.wang@ionos.com
Signed-off-by: Md Haris Iqbal <haris.iqbal@cloud.ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Gioh Kim <gi-oh.kim@ionos.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/rtrs/rtrs-clt.c
drivers/infiniband/ulp/rtrs/rtrs-srv.c