TencentOS-kernel/drivers/infiniband
Kamal Heib 06b7f0d51e RDMA/cxgb4: Fix the reported max_recv_sge value
[ Upstream commit a372173bf314d374da4dd1155549d8ca7fc44709 ]

The max_recv_sge value is wrongly reported when calling query_qp, This is
happening due to a typo when assigning the max_recv_sge value, the value
of sq_max_sges was assigned instead of rq_max_sges.

Fixes: 3e5c02c9ef9a ("iw_cxgb4: Support query_qp() verb")
Link: https://lore.kernel.org/r/20210114191423.423529-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Reviewed-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-04-12 12:51:46 +08:00
..
core RDMA/restrack: Don't treat as an error allocation ID wrapping 2021-04-12 12:51:27 +08:00
hw RDMA/cxgb4: Fix the reported max_recv_sge value 2021-04-12 12:51:46 +08:00
sw RDMA/rxe: Compute PSN windows correctly 2021-03-16 16:42:38 +08:00
ulp RDMA/ipoib: Set rtnl_link_ops for ipoib interfaces 2021-03-16 16:38:56 +08:00
Kconfig RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs 2021-03-16 16:41:16 +08:00
Makefile Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00