summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-02-27 16:53:41 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-27 22:46:26 +0300
commit98977089d8eef337608272699f4197c631d447b8 (patch)
tree2bc657bb6e07303d9a52542ebd525d99b7541298 /tools/perf/scripts/python
parent1da93eb466dc6f8a92e0316fd983ee8a3338db4c (diff)
downloadlinux-98977089d8eef337608272699f4197c631d447b8.tar.xz
mlxsw: span: Remove span_entry by span_id
Instead of removing span_entry by the port number, allow removing by SPAN id. That simplifies some code right here, and for mirroring to soft netdevices, avoids problems with netdevice pointer invalidation and reuse. Rename mlxsw_sp_span_entry_find() to mlxsw_sp_span_entry_find_by_port() and keep it--follow-up patches will make use of it. Signed-off-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-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