linux-stable/drivers/infiniband
Parav Pandit f48c240cbf IB/rxe: Make counters thread safe
[ Upstream commit d5108e69fe ]

Current rxe device counters are not thread safe.
When multiple QPs are used, they can be racy.
Make them thread safe by making it atomic64.

Fixes: 0b1e5b99a4 ("IB/rxe: Add port protocol stats")
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-05 09:20:45 +01:00
..
core RDMA/core: Follow correct unregister order between sysfs and cgroup 2019-11-20 18:46:03 +01:00
hw IB/qib: Fix an error code in qib_sdma_verbs_send() 2019-12-05 09:20:38 +01:00
sw IB/rxe: Make counters thread safe 2019-12-05 09:20:45 +01:00
ulp RDMA/srp: Propagate ib_post_send() failures to the SCSI mid-layer 2019-12-05 09:20:40 +01:00
Kconfig IB/ucm: fix UCM link error 2018-08-21 16:56:32 -06:00
Makefile