Re: [ovs-dev] [PATCH] lib/flow: call memcmp in miniflow_equal()

2014-05-27 Thread Daniele Di Proietto
Thanks, Daniele On May 27, 2014, at 4:44 PM, Ben Pfaff wrote: > On Tue, May 27, 2014 at 03:20:08PM -0700, Daniele Di Proietto wrote: >> This commit replace a while loop in miniflow_equal() with a call to >> memcmp() for performace reasons. >> >> Signed-off-by: Daniele Di Proietto >> --- >> Th

Re: [ovs-dev] [PATCH] lib/flow: call memcmp in miniflow_equal()

2014-05-27 Thread Ben Pfaff
On Tue, May 27, 2014 at 03:20:08PM -0700, Daniele Di Proietto wrote: > This commit replace a while loop in miniflow_equal() with a call to > memcmp() for performace reasons. > > Signed-off-by: Daniele Di Proietto > --- > This seems to improve throughput in my benchmarks (forwading one flow betwee

[ovs-dev] [PATCH] lib/flow: call memcmp in miniflow_equal()

2014-05-27 Thread Daniele Di Proietto
This commit replace a while loop in miniflow_equal() with a call to memcmp() for performace reasons. Signed-off-by: Daniele Di Proietto --- This seems to improve throughput in my benchmarks (forwading one flow between two 'netdev-dpdk's). --- lib/flow.c | 6 +- 1 file changed, 1 insertion(+)