diff options
author | Jiri Pirko <jiri@mellanox.com> | 2016-04-14 16:19:30 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-14 20:22:06 (GMT) |
commit | 2d0ed39fbdee64835dc710b4ee3897f2bb9f8cf4 (patch) | |
tree | c72e8d90ee43bd977cf500750f5059adc6524400 /lib/lzo | |
parent | caf7297e7ab5f8aa9d482200748a066adbfa5775 (diff) | |
download | linux-2d0ed39fbdee64835dc710b4ee3897f2bb9f8cf4.tar.xz |
mlxsw: spectrum_buffers: Implement occupancy monitoring
Implement occupancy API introduced in devlink and mlxsw core. This is
done by accessing SBPM register for Port-Pool and SBSR for Port-TC
current and max occupancy values. Max clear is implemented using the
same registers.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/lzo')
0 files changed, 0 insertions, 0 deletions