aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <[email protected]>2022-01-25 12:52:56 +0200
committerSaeed Mahameed <[email protected]>2022-02-14 22:30:51 -0800
commited5f9cf06b20f74c1098d6d62313e3e9af217fcb (patch)
tree9fe9d102be4c69cc895d7c93ef513ac02007b86a /tools/perf/scripts/python/bin
parent62f7991feab69ed398ad6a03b911fa0ee0549516 (diff)
net/mlx5e: Use READ_ONCE/WRITE_ONCE for DCBX trust state
trust_state can be written while mlx5e_select_queue() is reading it. To avoid inconsistencies, use READ_ONCE and WRITE_ONCE for access and updates, and touch the variable only once per operation. Signed-off-by: Maxim Mikityanskiy <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions