[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160608.004055.1647414276965725415.davem@davemloft.net>
Date: Wed, 08 Jun 2016 00:40:55 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tom@...bertland.com
Cc: netdev@...r.kernel.org, kernel-team@...com
Subject: Re: [PATCH net-next] ila: Perform only one translation in
forwarding path
From: Tom Herbert <tom@...bertland.com>
Date: Tue, 7 Jun 2016 16:09:44 -0700
> When setting up ILA in a router we noticed that the the encapsulation
> is invoked twice: once in the route input path and again upon route
> output. To resolve this we add a flag set_csum_neutral for the
> ila_update_ipv6_locator. If this flag is set and the checksum
> neutral bit is also set we assume that checksum-neutral translation
> has already been performed and take no further action. The
> flag is set only in ila_output path. The flag is not set for ila_input and
> ila_xlat.
>
> Tested:
>
> Used 3 netns to set to emulate a router and two hosts. The router
> translates SIR addresses between the two destinations in other two netns.
> Verified ping and netperf are functional.
>
> Signed-off-by: Tom Herbert <tom@...bertland.com>
Applied, thanks Tom.
Powered by blists - more mailing lists