diff options
| author | Vlad Buslov <[email protected]> | 2018-11-18 13:12:59 +0200 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2019-07-29 16:40:25 -0700 |
| commit | 525e84bea52be145b0ae863ff8d242ce273e3bc6 (patch) | |
| tree | 18bb79fb523e1a7638bd0c7dcfdc72c8b32946d3 /tools/perf/scripts/python | |
| parent | ad86755b18d5edf1956f6d25c844f27289216877 (diff) | |
net/mlx5e: Eswitch, change offloads num_flows type to atomic64
Eswitch implements its own locking by means of state_lock mutex and
multiple fine-grained lock in containing data structures, and is supposed
to not rely on rtnl lock. However, eswitch offloads num_flows type is a
regular long long integer and cannot be modified concurrently. This is an
implicit assumptions that mlx5 tc is serialized (by rtnl lock or any other
means). In order to remove implicit dependency on rtnl lock, change
num_flows type to atomic64 to allow concurrent modifications.
Signed-off-by: Vlad Buslov <[email protected]>
Reviewed-by: Jianbo Liu <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions