diff options
author | David S. Miller <davem@davemloft.net> | 2015-10-23 13:26:50 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-23 13:26:50 (GMT) |
commit | e74f51056a167036f9168fb8d04b9e16ea12af43 (patch) | |
tree | f02f84d72b3500b22eee0c684447a433088bcd24 /drivers/net/loopback.c | |
parent | 654c9c543ac025f4ecb73047f2e5b689137c77c5 (diff) | |
parent | 1c78efa8319cad2f10f421afa627745fb4d9b29f (diff) | |
download | linux-e74f51056a167036f9168fb8d04b9e16ea12af43.tar.xz |
Merge branch 'mpls_multipath'
Roopa Prabhu says:
====================
mpls: multipath support
This patch adds support for MPLS multipath routes.
Includes following changes to support multipath:
- splits struct mpls_route into 'struct mpls_route + struct mpls_nh'.
- struct mpls_nh represents a mpls nexthop label forwarding entry
- Adds support to parse/fill RTA_MULTIPATH netlink attribute for
multipath routes similar to ipv4/v6 fib
- In the process of restructuring, this patch also consistently changes all
labels to u8
$ip -f mpls route add 100 nexthop as 200 via inet 10.1.1.2 dev swp1 \
nexthop as 700 via inet 10.1.1.6 dev swp2 \
nexthop as 800 via inet 40.1.1.2 dev swp3
$ip -f mpls route show
100
nexthop as to 200 via inet 10.1.1.2 dev swp1
nexthop as to 700 via inet 10.1.1.6 dev swp2
nexthop as to 800 via inet 40.1.1.2 dev swp3
====================
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/loopback.c')
0 files changed, 0 insertions, 0 deletions