OpenCloudOS-Kernel/drivers/infiniband/hw/nes
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 RDMA/nes: Replace LRO with GRO 2016-02-29 17:11:57 -05:00
Makefile RDMA/nes: Support for Packed And Unaligned fpdus 2011-10-10 10:54:47 -07:00
nes.c IB: nes: convert to use DRIVER_ATTR_RW 2017-06-12 16:14:29 +02:00
nes.h drivers: add explicit interrupt.h includes 2017-03-30 11:05:34 -07:00
nes_cm.c net: convert sk_buff.users from atomic_t to refcount_t 2017-07-01 07:39:07 -07:00
nes_cm.h iw_nes: remove port mapper related code 2016-03-16 13:48:11 -04:00
nes_context.h RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
nes_hw.c IB: Convert msleep below 20ms to usleep_range 2017-07-17 21:21:22 -04:00
nes_hw.h RDMA/nes: Replace LRO with GRO 2016-02-29 17:11:57 -05:00
nes_mgt.c IB/nes: use setup_timer 2017-04-28 13:19:13 -04:00
nes_mgt.h RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
nes_nic.c Updates for 4.10 kernel merge window 2016-12-15 12:03:32 -08:00
nes_utils.c RDMA/nes: replace custom print_hex_dump() 2016-05-13 19:40:01 -04:00
nes_verbs.c IB/core: Rename struct ib_ah_attr to rdma_ah_attr 2017-05-01 14:32:43 -04:00
nes_verbs.h RDMA/nes: Adding queue drain functions 2016-05-13 19:39:59 -04:00