Files
linux/drivers
Petr Machata 44c2fbebe1 mlxsw: spectrum_router: Share nexthop counters in resilient groups
For resilient groups, we can reuse the same counter for all the buckets
that share the same nexthop. Keep a reference count per counter, and keep
all these counters in a per-next hop group xarray, which serves as a
NHID->counter cache. If a counter is already present for a given NHID, just
take a reference and use the same counter.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://lore.kernel.org/r/cdd00084533fc83ac5917562f54642f008205bf3.1709901020.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-11 14:14:09 -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