dpif-netdev: Group statistics updates in the slow path.
authorDaniele Di Proietto <diproiettod@vmware.com>
Tue, 7 Apr 2015 19:02:13 +0000 (20:02 +0100)
committerEthan Jackson <ethan@nicira.com>
Thu, 9 Apr 2015 22:00:52 +0000 (15:00 -0700)
commit60fc3b7ba4c0dccc9799c7cec6cc77c0d19aa17a
tree7132ac01645a06784fc8f2367d3ade7db58fcdc6
parentb13c9440d4e5e561ec4df011f1d62fffec5a8a66
dpif-netdev: Group statistics updates in the slow path.

Since statistics updates might require locking (in future commits)
grouping them will reduce the locking overhead.

Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/dpif-netdev.c