diff options
author | 2021-10-26 12:42:21 +0300 | |
---|---|---|
committer | 2021-10-26 13:35:57 +0100 | |
commit | 1c375ffb2efab992b74fb1801c2e0bb2051a6e6e (patch) | |
tree | 0c082e2fa19582c1f018868002c44107e5a27c6b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mlxsw: spectrum_router: Add RIF MAC profiles support (diff) | |
download | wireguard-linux-1c375ffb2efab992b74fb1801c2e0bb2051a6e6e.tar.xz wireguard-linux-1c375ffb2efab992b74fb1801c2e0bb2051a6e6e.zip |
mlxsw: spectrum_router: Expose RIF MAC profiles to devlink resource
Expose via devlink-resource the maximum number of RIF MAC profiles and
their current occupancy, so it can be used for debug and writing generic
tests, like in the next patch.
Example for Spectrum-2 output:
$ devlink resource show pci/0000:06:00.0
...
name rif_mac_profiles size 4 occ 0 unit entry dpipe_tables none
Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions