commit | 42a7f1d7747904d89e9831fb85a678add00facf3 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Apr 14 18:19:27 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 14 16:22:06 2016 -0400 |
tree | 6db4fa64894f25d60f933c3deb3f3c5957098b44 | |
parent | 26176def3c1e7933601d04de3d4980199c1c87d1 [diff] |
mlxsw: reg: Extend SBPM register for occupancy control Since it is not possible to get and clear Port-Pool occupancy data using SBSR register, there's a need to implement that using SBPM. Extend pack helper and add unpack helper to get occupancy values. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>