Re: [ovs-dev] [PATCH v2 3/3] dpif-netdev: Exact match cache

2014-08-15 Thread Jarno Rajahalme
Not a review, only one vey small comment below, Jarno On Aug 15, 2014, at 12:43 PM, Daniele Di Proietto wrote: > > + * A miniflow with a given hash can be in one of EM_FLOW_HASH_SEGS different > + * entries. Given its hash (h), the miniflow can be in the entries whose > index > + * is: > +

[ovs-dev] [PATCH v2 3/3] dpif-netdev: Exact match cache

2014-08-15 Thread Daniele Di Proietto
Since lookups in the classifier can be pretty expensive, we introduce this (thread local) cache which simply compares the miniflows of the packets Signed-off-by: Daniele Di Proietto --- lib/dpif-netdev.c | 422 +- 1 file changed, 357 insertions