[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1349194467.12401.810.camel@edumazet-glaptop>
Date: Tue, 02 Oct 2012 18:14:27 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: nicolas.dichtel@...nd.com
Cc: joe@...ches.com, bernat@...fy.cx, netdev@...r.kernel.org,
yoshfuji@...ux-ipv6.org, davem@...emloft.net
Subject: Re: [PATCH net-next v6 1/1] ipv6: add support of equal cost
multipath (ECMP)
On Tue, 2012-10-02 at 18:06 +0200, Nicolas Dichtel wrote:
> I forget to run checkpatch.pl, some lines are over 80 columns. I will fix it in
> the v7 with other comments (if any).
> --
Yep, please reorder :
@@ -98,6 +100,15 @@ struct rt6_info {
struct fib6_node *rt6i_node;
struct in6_addr rt6i_gateway;
+#ifdef CONFIG_IPV6_MULTIPATH
+ /*
+ * siblings is a list of rt6_info that have the the same metric/weight,
+ * destination, but not the same gateway. nsiblings is just a cache
+ * to speed up lookup.
+ */
+ unsigned int rt6i_nsiblings;
+ struct list_head rt6i_siblings;
+#endif
atomic_t rt6i_ref;
@@ -318,4 +329,43 @@ static inline void fib6_rules_cleanup(void)
return ;
}
to :
@@ -98,6 +100,15 @@ struct rt6_info {
struct fib6_node *rt6i_node;
struct in6_addr rt6i_gateway;
+#ifdef CONFIG_IPV6_MULTIPATH
+ /*
+ * siblings is a list of rt6_info that have the the same metric/weight,
+ * destination, but not the same gateway. nsiblings is just a cache
+ * to speed up lookup.
+ */
+ struct list_head rt6i_siblings;
+ unsigned int rt6i_nsiblings;
+#endif
atomic_t rt6i_ref;
@@ -318,4 +329,43 @@ static inline void fib6_rules_cleanup(void)
return ;
}
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists