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:11:21 +0000 (12:11 -0700)
commit09f27436b1fcab822ad358890b0e953b24c4a215
tree46c943c5d0262b9684d1b1384a54cf8ffb26ec0a
parent85ddb187bead19705be8b387b804db1ed53d7f3d
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