aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2018-02-27 14:53:42 +0100
committerDavid S. Miller <[email protected]>2018-02-27 14:46:27 -0500
commit3546b03ffcdb0a70b0d7302d7e139f096a613e9f (patch)
tree911300d9c924dd2352d74fb1be891d0a252f6aea /tools/perf/scripts/python
parent98977089d8eef337608272699f4197c631d447b8 (diff)
mlxsw: spectrum_span: Initialize span_entry.id eagerly
It is known statically ahead of time which SPAN entry will have which ID. Just initialize it eagerly in mlxsw_sp_span_init(), don't wait until the entry is actually created. This simplifies some code in mlxsw_sp_span_entry_create() Signed-off-by: Petr Machata <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions