mlxsw: spectrum_router: Use correct tree index for binding
authorJiri Pirko <jiri@mellanox.com>
Thu, 20 Oct 2016 14:05:42 +0000 (16:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Oct 2016 15:11:10 +0000 (11:11 -0400)
commit19271c1a083282fbd568f3f214a6182e973626eb
tree06e6e8a2626aa5ec9d852dd8e6e8d82ebf4963bb
parentc30a70d3ac60f3216e8d60d7746caad084a7eb46
mlxsw: spectrum_router: Use correct tree index for binding

By a mistake, there is tree index 0 passed to RALTB. Should be
MLXSW_SP_LPM_TREE_MIN.

Fixes: b45f64d16d45 ("mlxsw: spectrum_router: Use FIB notifications instead of switchdev calls")
Reported-by: Yotam Gigi <yotamg@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