diff options
| author | 2022-01-25 12:52:56 +0200 | |
|---|---|---|
| committer | 2022-02-14 22:30:51 -0800 | |
| commit | ed5f9cf06b20f74c1098d6d62313e3e9af217fcb (patch) | |
| tree | 9fe9d102be4c69cc895d7c93ef513ac02007b86a /tools/perf/scripts/python/bin | |
| parent | net/mlx5e: Move repeating code that gets TC prio into a function (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 <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
