RDMA/cxgb4: add missing qpid increment
authorPotnuri Bharat Teja <bharat@chelsio.com>
Thu, 15 Apr 2021 15:14:22 +0000 (20:44 +0530)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 20 Apr 2021 12:36:00 +0000 (09:36 -0300)
commit3a6684385928d00b29acac7658a5ae1f2a44494c
treeac1389998c7248126d166247b0749e259d95d7c1
parent9480fd557be4781ea2f3d50b148218bcad826284
RDMA/cxgb4: add missing qpid increment

missing qpid increment leads to skipping few qpids while allocating QP.
This eventually leads to adapter running out of qpids after establishing
fewer connections than it actually supports.
Current patch increments the qpid correctly.

Fixes: cfdda9d76436 ("RDMA/cxgb4: Add driver for Chelsio T4 RNIC")
Link: https://lore.kernel.org/r/20210415151422.9139-1-bharat@chelsio.com
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/cxgb4/resource.c