dpif-netdev: properly maintain exact match cache hit counter
authorAndy Zhou <azhou@ovn.org>
Tue, 26 Jan 2016 02:43:47 +0000 (18:43 -0800)
committerAndy Zhou <azhou@ovn.org>
Thu, 28 Jan 2016 01:23:02 +0000 (17:23 -0800)
commit3d88a620f18e747f2cd95ecfe9252be228556eaa
tree27ecb5c3505d117d27c85f8c886576482fbc23a4
parent6b1c573408f8771e428707278f86c5b3b076982a
dpif-netdev: properly maintain exact match cache hit counter

Current logic counts dropped packet as cache hit which is not
correct. This patch removes dropped packet to improve accuracy.

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