[ovs-dev] [patch v6] conntrack: Optimize recirculations.

Ben Pfaff blp at ovn.org
Wed Sep 25 15:58:35 UTC 2019


On Mon, Aug 26, 2019 at 09:05:44AM -0700, Darrell Ball wrote:
> Cache the 'conn' context and use it when it is valid.  The cached 'conn'
> context will get reset if it is not expected to be valid; the cost to do
> this is negligible.  Besides being most optimal, this also handles corner
> cases, such as decapsulation leading to the same tuple, as in tunnel VPN
> cases.  A negative test is added to check the resetting of the cached
> 'conn'.
> 
> Signed-off-by: Darrell Ball <dlu998 at gmail.com>

Applied to master.  Thank you!


More information about the dev mailing list