On Mon, 21 Sep 2015 10:52:13 -0600
David Ahern wrote:
> On 9/15/15 2:29 PM, Peter Nørlund wrote:
> > @@ -1094,8 +1142,15 @@ struct fib_info *fib_create_info(struct
> > fib_config *cfg)
> >
> > change_nexthops(fi) {
> > fib_info_update_nh_saddr(net, nexthop_nh);
> > +#ifdef CONFIG_
On 9/15/15 2:29 PM, Peter Nørlund wrote:
@@ -1094,8 +1142,15 @@ struct fib_info *fib_create_info(struct fib_config *cfg)
change_nexthops(fi) {
fib_info_update_nh_saddr(net, nexthop_nh);
+#ifdef CONFIG_IP_ROUTE_MULTIPATH
+ fi->fib_weight += nexthop_nh->nh_wei
On Tue, 15 Sep 2015 14:40:48 -0700
Alexander Duyck wrote:
> On 09/15/2015 01:29 PM, Peter Nørlund wrote:
> > Replaces the per-packet multipath with a hash-based multipath using
> > source and destination address.
> >
> > Signed-off-by: Peter Nørlund
> > ---
> > include/net/ip_fib.h | 11 +
On 09/15/2015 01:29 PM, Peter Nørlund wrote:
Replaces the per-packet multipath with a hash-based multipath using
source and destination address.
Signed-off-by: Peter Nørlund
---
include/net/ip_fib.h | 11 ++--
net/ipv4/fib_semantics.c | 137 +-
Replaces the per-packet multipath with a hash-based multipath using
source and destination address.
Signed-off-by: Peter Nørlund
---
include/net/ip_fib.h | 11 ++--
net/ipv4/fib_semantics.c | 137 +--
net/ipv4/route.c | 23 +++-
3 fil