mlxsw: spectrum_router: Mark only first LPM tree as reserved
authorIdo Schimmel <idosch@mellanox.com>
Thu, 8 Jun 2017 06:47:43 +0000 (08:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Jun 2017 18:33:40 +0000 (14:33 -0400)
commitd7a60306c6812801ccc0a7d12aa0975121b9aa58
tree30a87253dfdb91d9d5fa8debcdfb89d1272041f8
parent4cd31af77582653a8e4b367fdb612e84a2cdd685
mlxsw: spectrum_router: Mark only first LPM tree as reserved

In new firmware versions (that we can now enforce via
request_firmware()), only the first LPM tree is reserved and not the
first two as in older versions.

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>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c