diff options
author | Ido Schimmel <idosch@nvidia.com> | 2023-07-11 18:43:57 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-07-12 16:57:18 -0700 |
commit | 74d6786cf2dc563bebd3bceb4fd48aadee7856b2 (patch) | |
tree | fcd1dbad39118fbc48ca36a1180fb779c42e9573 /tools/lib/bpf/bpf_prog_linfo.c | |
parent | b3eb04be729982ae7e311afcc9c031eca4718a46 (diff) |
mlxsw: spectrum_port_range: Add devlink resource support
Expose via devlink-resource the maximum number of port range registers
and their current occupancy. Besides the observability benefits, this
resource will be used by subsequent patches for scale and occupancy
tests.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Link: https://lore.kernel.org/r/7945e0c715dc5efb1617f45f7560c1f1bd0bcf8a.1689092769.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions