Re: [PATCH 2/5] [IPV6]: Multiple Routing Tables
From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2006-07-29 04:11:41
From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2006-07-29 04:11:41
Hello. In article [ref] (at Thu, 27 Jul 2006 00:00:02 +0200), Thomas Graf [off-list ref] says:
Adds the framework to support multiple IPv6 routing tables.
Well, one design consideration that I have had for several months is performance impact. Previously, we directly use address, ifindex etc., not flowi, in IPv6 routing code except for ip6_route_output(). This patch changes them to use flowi. I know this should work and it is a good way for abstraction. However, initializing flowi for IPv6 is more expensive than one for IPv4, and it would result in poor performance (especially without CONFIG_IPV6_MULTIPLE_TABLES). Am I too cautious? Should we eat this? --yoshfuji