freebsd-src/contrib/ofed/libmlx4
Sean Lim a687910fc4 Cleanup pthread locks in ofed RDMA verbs
On FreeBSD, pthread mutex, cond, and spinlocks allocate memory.  On
Linux-based systems, these calls do not allocate memory.  So there was a
safe assumption that the ofed RDMA verb calls do not need to explicitly
destroy the pthread locks.  This assumption is false on FreeBSD.  So let
us rearrange the code to cleanup the pthread locks.

Reviewed by:	delphij
MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D41105
2023-09-19 09:10:42 -05:00
..
buf.c
config.h
cq.c
dbrec.c
doorbell.h
mlx4-abi.h
mlx4.c Cleanup pthread locks in ofed RDMA verbs 2023-09-19 09:10:42 -05:00
mlx4.h Cleanup pthread locks in ofed RDMA verbs 2023-09-19 09:10:42 -05:00
mmio.h
qp.c
srq.c Cleanup pthread locks in ofed RDMA verbs 2023-09-19 09:10:42 -05:00
verbs.c Cleanup pthread locks in ofed RDMA verbs 2023-09-19 09:10:42 -05:00
wqe.h