summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2017-07-03 10:18:19 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-09-03 06:34:09 +0300
commita071cb9f25bef32ec309ca9d123022c52175341b (patch)
tree809372e231c0dd27f6f116a41c16c4ebf9dacb17 /tools/perf/scripts/python
parenta1eaba4c5c29b6b5196b2237ce3a8d7d97622b2f (diff)
downloadcachepc-linux-a071cb9f25bef32ec309ca9d123022c52175341b.tar.gz
cachepc-linux-a071cb9f25bef32ec309ca9d123022c52175341b.zip
net/mlx5e: Non-atomic RQ state indicator for UMR WQE in progress
The indication for a UMR WQE in progress is needed only within the NAPI context, and hence no races possible and no need for the use of atomic operations. The only place the flag is read outside of NAPI context is in closure flow, after RQ is disabled flag is no more accessed in NAPI. Use a boolean instead of a bit in ring state, so that its non-atomic set operations do not race with the atomic sets of the other bits. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions