commit | 8494ab06e06a8ef60db9ad678eb4bcd8def4c85b | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Fri Mar 24 08:02:47 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 24 13:53:28 2017 -0700 |
tree | cbf4ec2e7a84f62586d1703a34d344b5ff848c81 | |
parent | ba82427d4a0fdd92b01cb2a1c4c24990f37406a9 [diff] |
mlxsw: spectrum_router: Query number of LPM trees from firmware Instead of hard coding the number of LPM trees in the driver, query it from the firmware, as it may change in future devices. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>