opnsense-src/sys/ofed/include/linux
Mark Johnston 760a181bb2 msecs_to_jiffies() is implemented using tvtohz(9), which always returns a
positive value since it adds the current tick to its result. This differs
from the behaviour in Linux, whose implementation does not add the extra
tick, so subtract the extra tick in the OFED compat layer implementation.
This addresses some incorrect handling of IB MAD timeouts, since some IB
code depends on msecs_to_jiffies(0) returning 0.

MFC after:	1 week
Sponsored by:	EMC / Isilon Storage Division
2015-05-10 22:21:00 +00:00
..
mlx4 Updates for the Mellanox ethernet driver 2015-03-04 09:30:03 +00:00
bitops.h find_next_bit() and find_next_zero_bit(): if the caller-specified offset 2015-05-10 22:04:42 +00:00
cache.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
cdev.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
clocksource.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
compat.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
compiler.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
completion.h Fixes for the LinuxAPI completion wrappers: 2015-03-27 16:16:23 +00:00
delay.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
device.h The kasprintf() function cannot be inlined due to using a variable 2015-02-16 21:22:56 +00:00
dma-attrs.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
dma-mapping.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
dmapool.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
err.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
errno.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
etherdevice.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
file.h fd: remove filedesc argument from fdclose 2015-04-11 15:40:28 +00:00
fs.h Fixes for the LinuxAPI completion wrappers: 2015-03-27 16:16:23 +00:00
gfp.h Add more functions to the Linux kernel compatibility layer. Add some 2015-02-13 16:35:12 +00:00
hardirq.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
idr.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
if_arp.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
if_ether.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
if_vlan.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
in.h Fixes for the LinuxAPI completion wrappers: 2015-03-27 16:16:23 +00:00
in6.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
inetdevice.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
interrupt.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
io-mapping.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
io.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
ioctl.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
jhash.h
jiffies.h msecs_to_jiffies() is implemented using tvtohz(9), which always returns a 2015-05-10 22:21:00 +00:00
kdev_t.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
kernel.h Define PTR_ALIGN() macro which will be needed coming Mellanox driver 2015-03-04 09:58:39 +00:00
kmod.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
kobject.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
kref.h Add more functions to the Linux kernel compatibility layer. Add some 2015-02-13 16:35:12 +00:00
kthread.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
ktime.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
linux_compat.c Fixes for the LinuxAPI completion wrappers: 2015-03-27 16:16:23 +00:00
linux_idr.c Don't drop the idr lock before verifying that the newly-inserted element 2015-05-02 00:26:38 +00:00
linux_kmod.c Start importing the basic OFED linux compatibility layer changes made 2015-01-17 16:36:39 +00:00
linux_pci.c Start importing the basic OFED linux compatibility layer changes made 2015-01-17 16:36:39 +00:00
linux_radix.c - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
list.h Fixes and updates for the Linux compatibility layer: 2015-01-06 10:02:14 +00:00
lockdep.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
log2.h Macro fixes: 2015-02-23 12:54:46 +00:00
math64.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
miscdevice.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
mm.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
module.h Add missing linuxapi module dependencies and always use the FreeBSD 2015-01-19 21:53:00 +00:00
moduleparam.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
mutex.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
net.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
netdevice.h Update the OFED Linux compatibility layer and 2014-10-15 13:40:29 +00:00
notifier.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
page.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
pci.h Add more functions to the Linux kernel compatibility layer. Add some 2015-02-13 16:35:12 +00:00
poll.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
printk.h Define standard formatting strings to print GIDs 2015-02-16 21:26:16 +00:00
radix-tree.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
random.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
rbtree.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
rwlock.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
rwsem.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
scatterlist.h Update the OFED Linux compatibility layer and 2014-10-15 13:40:29 +00:00
sched.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
semaphore.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
slab.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
socket.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
spinlock.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
string.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
sysfs.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
timer.h Fix problems about 32-bit ticks wraparound and unsigned long 2015-03-18 10:49:17 +00:00
types.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
uaccess.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
vmalloc.h Update the OFED Linux compatibility layer and 2014-10-15 13:40:29 +00:00
wait.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
workqueue.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00