dpif-netdev: drop swapping
authorAndy Zhou <azhou@ovn.org>
Tue, 26 Jan 2016 02:48:19 +0000 (18:48 -0800)
committerAndy Zhou <azhou@ovn.org>
Thu, 28 Jan 2016 01:25:31 +0000 (17:25 -0800)
commitd1aa0b94d842f99900217e4afad9ea237c93b019
tree0f0f2f8ac5c01f00c0c2710a913118a755664874
parent3d88a620f18e747f2cd95ecfe9252be228556eaa
dpif-netdev: drop swapping

emc_processing() moves all the missed packets towards the beginning of
packet array; matched packets are queued up into flow queues. Since the
remaining of the packet array is not used anymore, don't bother swap
packet pointers to save cycles and simplify logic.

Signed-off-by: Andy Zhou <azhou@ovn.org>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
lib/dpif-netdev.c