Re: [ovs-dev] [PATCH v2] dpcls: Avoid one 8-byte chunk in subtable mask.

2017-01-06 Thread Fischetti, Antonio
Thanks Jarno for your feedback, will respin a new version with the suggested fix. Regards, Antonio > -Original Message- > From: Jarno Rajahalme [mailto:ja...@ovn.org] > Sent: Thursday, January 5, 2017 11:30 PM > To: Fischetti, Antonio > Cc:

Re: [ovs-dev] [PATCH v2] dpcls: Avoid one 8-byte chunk in subtable mask.

2017-01-05 Thread Jarno Rajahalme
> On Jan 5, 2017, at 1:03 AM, antonio.fische...@intel.com wrote: > > This patch allows to skip the chunk comprising of dp_hash and in_port > in the subtable mask when the packet is not recirculated. This will > slightly speed up the hash computation as one expensive function call > to

[ovs-dev] [PATCH v2] dpcls: Avoid one 8-byte chunk in subtable mask.

2017-01-05 Thread antonio . fischetti
This patch allows to skip the chunk comprising of dp_hash and in_port in the subtable mask when the packet is not recirculated. This will slightly speed up the hash computation as one expensive function call to hash_add64() can be skipped. For each new netdev flow we wildcard in_port in the mask,