commit | ce0bd2b0c57a2d97ea89f87f61b9f5758139bcb8 | [log] [tgz] |
---|---|---|
author | Nogah Frankel <nogahf@mellanox.com> | Tue Sep 20 11:16:50 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 21 01:00:58 2016 -0400 |
tree | 61de2fb87ff7b95aaee6217c721d26a0a2990dea | |
parent | 9f7f797c1df40ee6c0329e9e53ea9ca0d224f55d [diff] |
mlxsw: spectrum: lag resources- use resources data instead of consts Use max lag and max ports in lag resources as the result of resource query instead of using const to save them. Signed-off-by: Nogah Frankel <nogahf@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>