linux-stable/drivers/infiniband/hw/cxgb4
Kamal Heib 001d3327cc RDMA/cxgb4: Set queue pair state when being queried
[ Upstream commit e375b9c929 ]

The API for ib_query_qp requires the driver to set cur_qp_state on return,
add the missing set.

Fixes: 67bbc05512 ("RDMA/cxgb4: Add query_qp support")
Link: https://lore.kernel.org/r/20211220152530.60399-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 09:00:53 +01:00
..
cm.c RDMA/cxgb4: check for ipv6 address properly while destroying listener 2021-04-16 11:57:50 +02:00
cq.c RDMA/cxgb4: Validate the number of CQEs 2020-12-29 13:46:55 +01:00
device.c
ev.c
id_table.c
iw_cxgb4.h
Kconfig
Makefile
mem.c RDMA/cxgb4: Do not dma memory off of the stack 2019-10-29 09:17:49 +01:00
provider.c
qp.c RDMA/cxgb4: Set queue pair state when being queried 2022-01-27 09:00:53 +01:00
resource.c
t4.h
t4fw_ri_api.h