dpif-netdev: Share emc and fast path output batches.
authorDaniele Di Proietto <diproiettod@vmware.com>
Mon, 18 May 2015 17:47:51 +0000 (10:47 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Mon, 18 May 2015 22:14:02 +0000 (15:14 -0700)
commit8aaa125dab663595329063560b33fe7d62839b7a
tree9e427fedc186b81bcaf2c61bc46ea0221ae97f9a
parent11e5cf1f9043637613502f4477c8fd5ce6d65f12
dpif-netdev: Share emc and fast path output batches.

Until now the exact match cache processing was able to handle only four
megaflows.  The rest of the packets was passed to the megaflow
classifier.

The limit was arbitraly set to four also because the algorithm used to
group packets in output batches didn't perform well with a lot of
megaflows.

After changing the algorithm and after some performance testing it seems
much better just to share the same output batches between the exact
match cache and the megaflow classifier.

Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/dpif-netdev.c