diff options
author | nickcooper-zhangtonghao <nic@opencloud.tech> | 2017-01-16 04:56:39 -0800 |
---|---|---|
committer | Daniele Di Proietto <diproiettod@vmware.com> | 2017-01-16 18:53:05 -0800 |
commit | aeff7d9886ddfa3304e5774f6f83761e203adfd0 (patch) | |
tree | e1cbc58c06dd73087aaf1372f88d63ed91bce401 | |
parent | ea58c9699c1fc0c7bd86e91f8b3d81894a844520 (diff) | |
download | openvswitch-aeff7d9886ddfa3304e5774f6f83761e203adfd0.tar.gz |
dpif-netdev: Avoids repeated addition of DP_STAT_LOST.
CC: Daniele Di Proietto <diproiettod@vmware.com>
Fixes: 8aaa125dab66 ("dpif-netdev: Share emc and fast path output batches.")
Signed-off-by: nickcooper-zhangtonghao <nic@opencloud.tech>
Acked-by: Ben Pfaff <blp@ovn.org>
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
-rw-r--r-- | lib/dpif-netdev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 08167b59e..3901129d5 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -4258,7 +4258,6 @@ fast_path_processing(struct dp_netdev_pmd_thread *pmd, ofpbuf_uninit(&actions); ofpbuf_uninit(&put_actions); fat_rwlock_unlock(&dp->upcall_rwlock); - dp_netdev_count_packet(pmd, DP_STAT_LOST, lost_cnt); } else if (OVS_UNLIKELY(any_miss)) { for (i = 0; i < cnt; i++) { if (OVS_UNLIKELY(!rules[i])) { |