freebsd-dev/sys/ofed/include
Hans Petter Selasky 912e98cede ibcore: Protect against concurrent access to hardware stats.
Currently access to hardware stats buffer isn't protected, this can
result in multiple writes and reads at the same time to the same
memory location. This can lead to providing an incorrect value to
the user. Add a mutex to protect against it.

Linux commit:
e945130b52bea65d15f9bdf54949d4cb7a88db7f

MFC after:	1 week
Reviewed by:	kib
Sponsored by:	Mellanox Technologies // NVIDIA Networking
2021-07-12 14:22:31 +02:00
..
rdma ibcore: Protect against concurrent access to hardware stats. 2021-07-12 14:22:31 +02:00
uapi/rdma Update user access region, UAR, APIs in the core in mlx5core. 2021-01-08 13:33:46 +01:00