diff options
author | Ido Schimmel <idosch@mellanox.com> | 2017-03-24 08:02:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-24 13:53:28 -0700 |
commit | 8494ab06e06a8ef60db9ad678eb4bcd8def4c85b (patch) | |
tree | cbf4ec2e7a84f62586d1703a34d344b5ff848c81 /drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c | |
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c')
0 files changed, 0 insertions, 0 deletions