Re: [ovs-dev] [PATCH] dpif-netdev: Optimize the exact match lookup.

2017-12-08 Thread Bodireddy, Bhanuprakash
Hi Tonghao, >On Thu, Jul 27, 2017 at 11:38:00PM -0700, Tonghao Zhang wrote: >> When inserting or updating (e.g. emc_insert) a flow to EMC, we compare >> (e.g the hash and miniflow ) the netdev_flow_key. >> If the key is matched, we will update it. If we didn’t find the >> miniflow in the cache,

Re: [ovs-dev] [PATCH] dpif-netdev: Optimize the exact match lookup.

2017-10-30 Thread Ben Pfaff
On Thu, Jul 27, 2017 at 11:38:00PM -0700, Tonghao Zhang wrote: > When inserting or updating (e.g. emc_insert) a flow to EMC, > we compare (e.g the hash and miniflow ) the netdev_flow_key. > If the key is matched, we will update it. If we didn’t find > the miniflow in the cache, the new flow will

[ovs-dev] [PATCH] dpif-netdev: Optimize the exact match lookup.

2017-07-28 Thread Tonghao Zhang
When inserting or updating (e.g. emc_insert) a flow to EMC, we compare (e.g the hash and miniflow ) the netdev_flow_key. If the key is matched, we will update it. If we didn’t find the miniflow in the cache, the new flow will be stored. But when looking up the flow, we compare the hash and