datapath: Change u64_stats_* to use _irq instead of _bh().
authorJesse Gross <jesse@nicira.com>
Mon, 30 Jun 2014 20:43:25 +0000 (13:43 -0700)
committerJesse Gross <jesse@nicira.com>
Tue, 1 Jul 2014 19:20:45 +0000 (12:20 -0700)
commit6b0618950b27a0a125e4b09611206f6d97bb9ce6
treedc97d38f94b0fef13b3963a772fd8ab2fa2f7be0
parentb9610c57261863a9b4dcf2f8c93f50a223937f5a
datapath: Change u64_stats_* to use _irq instead of _bh().

The upstream u64_stats API has been changed to remove the _bh()
versions and switch all consumers to use IRQ safe variants instead.
This was done to be safe for netpoll generated packets, which can
occur in hard IRQ context. From a safety perspective, this doesn't
directly affect OVS since it doesn't support netpoll. However, this
change has been backported to older kernels so OVS needs to use the
new API to compile.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Pritesh Kothari <pritesh.kothari@cisco.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
acinclude.m4
datapath/datapath.c
datapath/linux/compat/include/linux/u64_stats_sync.h
datapath/vport.c