mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-26 01:39:03 +00:00
Introduce AH attribute copy, move and replace APIs to be used by core and provider drivers. In CM code flow when ah attribute might be re-initialized twice while processing incoming request, or initialized once while from path record while sending out CM requests. Therefore use rdma_move_ah_attr API to handle such scenarios instead of memcpy(). Provider drivers keeps a copy ah_attr during the lifetime of the ah. Therefore, use rdma_replace_ah_attr() which conditionally release reference to old ah_attr and holds reference to new attribute whose referrence is released when the AH is freed. Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| main.c | ||
| Makefile | ||
| qedr_hsi_rdma.h | ||
| qedr_iw_cm.c | ||
| qedr_iw_cm.h | ||
| qedr_roce_cm.c | ||
| qedr_roce_cm.h | ||
| qedr.h | ||
| verbs.c | ||
| verbs.h | ||