diff options
author | Ido Schimmel <idosch@mellanox.com> | 2017-10-22 23:11:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-23 05:23:06 +0100 |
commit | 408bd946bfee69ec99937bd0f9ed9dcd2d19705b (patch) | |
tree | 4f593ce4cdfce69a75ff40f8cd8e306f11859166 /samples | |
parent | d672aec45fd4a1e060109fbce6739ef91c3bd135 (diff) |
mlxsw: spectrum_router: Store weight in nexthop struct
As the first step towards non-equal-cost multi-path support, store each
nexthop's weight.
For IPv6 nexthops always set the weight to 1, as it only supports ECMP.
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 'samples')
0 files changed, 0 insertions, 0 deletions