Re: [PATCH net-next v2 0/5] ila: Optimization to preserve value of early demux
From: David Miller <davem@davemloft.net>
Date: 2015-12-03 20:43:02
From: Tom Herbert <redacted> Date: Thu, 3 Dec 2015 11:59:31 -0800
On Thu, Dec 3, 2015 at 11:48 AM, David Miller [off-list ref] wrote:quoted
From: Tom Herbert <redacted> Date: Tue, 1 Dec 2015 15:11:07 -0800quoted
ip6tables -t mangle -A PREROUTING --dst 2001:0:0:33::/64 -j ILAINThe user should have to do anything like this in order to just get proper working functionality of ILA. It should just work transparently.This was transparent in the previously posted patch "ila: Add support for netfilter NF_INET_PRE_ROUTING hook", but there was significant pushback that NF interface was not intended for this purpose. Using an IP tables target like this should preserve the sanctity of the interfaces and does provide nice performance improvement since PREROUTING is done before early demux. The NF_INET_PRE_ROUTING hook is still better performance though and what we are using internally (just an incremental change on top of these patches).
You want to make a transformation before early demux, which edits the packet. But someone who configures ILA and just wants reasonable performance shouldn't have to configure anything explicitly outside of the ILA config itself. So again, those are your operating constraints.