Petr Machata 3546b03ffc 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 <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>
2018-02-27 14:46:27 -05:00
..
2018-02-27 11:01:36 -05:00
2018-02-27 11:01:38 -05:00
2018-02-27 11:01:37 -05:00
2018-02-22 14:05:15 -05:00
2018-01-09 16:34:35 +01:00
2018-02-27 11:01:36 -05:00
2018-02-27 11:01:37 -05:00
2018-02-27 10:37:14 -05:00
2018-02-13 10:36:09 -05:00
2018-02-21 14:14:05 -05:00
2018-02-11 14:34:03 -08:00
2018-02-27 11:01:35 -05:00
2018-02-27 11:01:37 -05:00