summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2017-10-22 23:11:46 +0200
committerDavid S. Miller <davem@davemloft.net>2017-10-23 05:23:06 +0100
commit408bd946bfee69ec99937bd0f9ed9dcd2d19705b (patch)
tree4f593ce4cdfce69a75ff40f8cd8e306f11859166 /samples
parentd672aec45fd4a1e060109fbce6739ef91c3bd135 (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