OpenCloudOS-Kernel/drivers/infiniband/hw/mlx4
Leon Romanovsky 98e77d9fd7 IB: Convert msleep below 20ms to usleep_range
The msleep(1) may do not sleep 1 ms as expected
and will sleep longer. The simple conversion from
msleep to usleep_range between 1ms and 2ms can solve an
issue.

The full and comprehensive explanation can be found at [1] and [2].

[1] https://lkml.org/lkml/2007/8/3/250
[2] Documentation/timers/timers-howto.txt

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-07-17 21:21:22 -04:00
..
Kconfig net: mellanox: add DEVLINK dependencies 2016-03-03 17:08:59 -05:00
Makefile IB/mlx4: Add iov directory in sysfs under the ib device 2012-09-30 20:33:39 -07:00
ah.c IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00
alias_GUID.c IB: Query ports via the core instead of direct into the driver 2017-02-14 11:41:22 -05:00
cm.c IB/mlx4: Fix incorrect order of formal and actual parameters 2017-05-01 15:04:23 -04:00
cq.c IB: Replace ib_umem page_size by page_shift 2017-04-25 15:40:28 -04:00
doorbell.c IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
mad.c RDMA/mlx4: Fix MAD tunneling when SRIOV is enabled 2017-06-01 17:04:51 -04:00
main.c IB: Convert msleep below 20ms to usleep_range 2017-07-17 21:21:22 -04:00
mcg.c IB: Convert msleep below 20ms to usleep_range 2017-07-17 21:21:22 -04:00
mlx4_ib.h IB/core: Rename struct ib_ah_attr to rdma_ah_attr 2017-05-01 14:32:43 -04:00
mr.c IB: Replace ib_umem page_size by page_shift 2017-04-25 15:40:28 -04:00
qp.c IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00
srq.c IB: Replace ib_umem page_size by page_shift 2017-04-25 15:40:28 -04:00
sysfs.c IB: Query ports via the core instead of direct into the driver 2017-02-14 11:41:22 -05:00