summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2020-02-20 10:08:00 +0300
committerDavid S. Miller <davem@davemloft.net>2020-02-20 21:04:34 +0300
commit9ef87b244ec5118ed5f7cd61c25487f98af64cfb (patch)
tree9dcac5c9f49abfdf4dc60921c8c1fa9d9df02e95 /tools/perf/scripts/python/stackcollapse.py
parentb69e1337ffa94d2ea4bb0cee9963bd4f7552157e (diff)
downloadlinux-9ef87b244ec5118ed5f7cd61c25487f98af64cfb.tar.xz
mlxsw: spectrum_nve: Make tunnel initialization symmetric
The device supports a single VTEP whose configuration is shared between all VXLAN tunnels. While the shared configuration is cleared upon the destruction of the last tunnel - in mlxsw_sp_nve_tunnel_fini() - it is set in mlxsw_sp_nve_fid_enable(), after calling mlxsw_sp_nve_tunnel_init(). Make tunnel initialization and destruction symmetric and set the configuration in mlxsw_sp_nve_tunnel_init(). This will later allow us to protect the shared configuration with a lock. 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions