Files
linux/drivers
Petr Machata 79fa52145e mlxsw: spectrum_router: Avoid allocating NH counters twice
mlxsw_sp_nexthop_counter_disable() decays to a nop when called on a
disabled counter, but mlxsw_sp_nexthop_counter_enable() can't similarly
be called on an enabled counter. This would be useful in the following
patches. Add the missing condition.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://lore.kernel.org/r/0cc9050e196366c1387ab5ee47f1cee8ecde9c86.1709901020.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-11 14:14:08 -07:00
..
2024-02-06 20:07:35 +02:00
2024-02-06 14:10:47 +08:00
2024-03-03 02:32:35 +00:00
2024-03-07 20:26:24 -08:00
2024-02-05 16:16:24 +01:00
2024-01-05 15:55:41 +05:30
2024-03-11 13:42:09 -07:00
2024-02-27 12:52:51 +00:00
2024-02-06 20:07:12 +02:00
2024-01-04 17:03:47 +01:00
2024-01-12 12:38:37 +01:00