summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2020-02-21 20:54:05 +0300
committerDavid S. Miller <davem@davemloft.net>2020-02-23 08:24:51 +0300
commitc366de85894f076b1790b24deec910c2503d9e01 (patch)
treee426275bf5bd9b2e1f5f921e7ddc9e1b97428f0f /tools/perf/scripts/python
parent3e3c8dafc05f28bfa8065c957620c02bbadf0042 (diff)
downloadlinux-c366de85894f076b1790b24deec910c2503d9e01.tar.xz
mlxsw: spectrum_mr: Protect multicast table list with a lock
The multicast table list is traversed from a delayed work that periodically updates the kernel about packets and bytes statistics from each multicast route. The list is currently protected by RTNL, but subsequent patches will remove the driver's dependence on this contended lock. In order to be able to remove dependence on RTNL in the next patch, guard this list with a dedicated mutex. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions