summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2017-03-24 08:02:47 +0100
committerDavid S. Miller <davem@davemloft.net>2017-03-24 13:53:28 -0700
commit8494ab06e06a8ef60db9ad678eb4bcd8def4c85b (patch)
treecbf4ec2e7a84f62586d1703a34d344b5ff848c81 /drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c
parentba82427d4a0fdd92b01cb2a1c4c24990f37406a9 (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