Thread (6 messages) flat view 6 messages, 4 authors, 2015-08-04

Re: [PATCH 1/1] net/ipv4: Enable flow-based ECMP

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2015-08-04 05:31:50

On Tue,  4 Aug 2015 13:28:47 +1200
Richard Laing [off-list ref] wrote:
quoted hunk ↗ jump to hunk
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
index 5fa643b..7db9f72 100644
--- a/include/net/ip_fib.h
+++ b/include/net/ip_fib.h
@@ -117,6 +117,8 @@ struct fib_info {
 #ifdef CONFIG_IP_ROUTE_MULTIPATH
 	int			fib_power;
 #endif
+	/* Cache the number of live nexthops for flow based ECMP calculation. */
+	int			live_nexthops;
unsigned or u16 ? rather than risking sign issues.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help