aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMark Starovoytov <[email protected]>2020-07-20 21:32:36 +0300
committerDavid S. Miller <[email protected]>2020-07-20 18:07:38 -0700
commitd7d8bb9286134bcc57941c38ed2d69c50fc59511 (patch)
treeef2de013ce741f71b758a8fc3fc15722d892fac8 /tools/perf/scripts/python
parent508f2e3dce454843ffd689bb2cf0739a954dd1e9 (diff)
net: atlantic: use u64_stats_update_* to protect access to 64-bit stats
This patch adds u64_stats_update_* usage to protect access to 64-bit stats, where necessary. This is necessary for per-ring stats, because they are updated by the driver directly, so there is a possibility for a partial read. Other stats require no additional protection, e.g.: * all MACSec stats are fetched directly from HW (under semaphore); * nic/ndev stats (aq_stats_s) are fetched directly from FW (under mutex). Signed-off-by: Mark Starovoytov <[email protected]> Signed-off-by: Igor Russkikh <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions