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

2019-09-25 Thread Darrell Ball
On Wed, Sep 25, 2019 at 10:51 AM Ben Pfaff wrote: > 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.

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

2019-09-25 Thread Ben Pfaff
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,

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

2019-08-26 Thread Darrell Ball
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