commit | 0adb214ba2c04489eb13bdbd145c5bf77d78b078 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Mon Aug 14 10:54:04 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 14 11:14:03 2017 -0700 |
tree | a132902409ae6d77fe1646fe6d0801fb4ca0aea4 | |
parent | cc70267008d5a22bc044fb1670937d52cb024cd3 [diff] |
mlxsw: spectrum_router: Pass argument explicitly Instead of relying on the LPM tree to be assigned to the virtual router before binding the two, lets pass it explicitly. This will later allow us to return upon binding error instead of having to perform a rollback of the assignment. 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>