summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-12-14 00:32:42 -0600
committerJason Gunthorpe <jgg@mellanox.com>2018-12-20 14:09:45 -0700
commitd5108e69fe013ff47ab815b849caba9cc33ca1e5 (patch)
treec52aa055bdfb5defb1dd6ad5001e21f1f800d01a /scripts/gcc-plugins/cyc_complexity_plugin.c
parent6e3722baac048fdf95b867c5ee7e270718e8630d (diff)
IB/rxe: Make counters thread safe
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: 0b1e5b99a48b ("IB/rxe: Add port protocol stats") Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions