linux-stable/drivers/infiniband
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
..
core RDMA/cma: Avoid GID lookups on iWARP devices 2023-07-21 16:00:18 -03:00
hw RDMA/irdma: Refactor error handling in create CQP 2023-07-26 15:05:36 +03:00
sw RDMA/siw: Fabricate a GID on tun and loopback devices 2023-07-21 16:00:18 -03:00
ulp Linux 6.4 2023-06-27 14:06:29 -03:00
Kconfig RDMA: Disable IB HW for UML 2022-12-04 15:22:03 +02:00
Makefile