linux-stable/drivers/infiniband/hw
Sindhu Devale 133b1cba46 RDMA/irdma: Refactor error handling in create CQP
In case of a failure in irdma_create_cqp, do not call
irdma_destroy_cqp, but cleanup all the allocated resources
in reverse order.

Drop the extra argument in irdma_destroy_cqp as its no longer needed.

Signed-off-by: Krzysztof Czurylo <krzysztof.czurylo@intel.com>
Signed-off-by: Sindhu Devale <sindhu.devale@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Link: https://lore.kernel.org/r/20230725155505.1069-3-shiraz.saleem@intel.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2023-07-26 15:05:36 +03:00
..
bnxt_re RDMA/bnxt_re: Add a new uapi for driver notification 2023-07-21 16:15:33 -03:00
cxgb4 iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry() 2023-02-15 13:37:37 +02:00
efa RDMA/efa: Add RDMA write HW statistics counters 2023-07-12 15:07:32 +03:00
erdma RDMA/erdma: use vmalloc_array and vcalloc 2023-07-21 15:51:58 -03:00
hfi1 IB/hfi1: Use struct_size() 2023-07-24 14:43:12 +03:00
hns RDMA/hns: Remove VF extend configuration 2023-07-24 14:42:53 +03:00
irdma RDMA/irdma: Refactor error handling in create CQP 2023-07-26 15:05:36 +03:00
mana RDMA/mana_ib: Use v2 version of cfg_rx_steer_req to enable RX coalescing 2023-06-01 12:52:01 -03:00
mlx4 RDMA/mlx4: Prevent shift wrapping in set_user_sq_size() 2023-03-19 11:35:46 +02:00
mlx5 RDMA/mlx5: align MR mem allocation size to power-of-two 2023-07-12 15:06:43 +03:00
mthca IB: move from strlcpy with unused retval to strscpy 2022-08-21 14:18:02 +03:00
ocrdma RDMA/ocrdma: remove unused discard_cnt variable 2023-03-29 14:05:38 +03:00
qedr RDMA/qedr: Remove a duplicate assignment in qedr_create_gsi_qp() 2023-07-23 10:51:07 +03:00
qib mm/gup: remove vmas parameter from pin_user_pages() 2023-06-09 16:25:26 -07:00
usnic mm/gup: remove vmas parameter from pin_user_pages() 2023-06-09 16:25:26 -07:00
vmw_pvrdma RDMA/vmw_pvrdma: Remove unnecessary check on wr->opcode 2023-06-09 14:11:53 -03:00
Makefile RDMA/mana_ib: Add a driver for Microsoft Azure Network Adapter 2022-11-11 11:40:09 +02:00