linux/drivers/infiniband/hw/hns
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
..
hns_roce_ah.c IB/core: Use rdma_ah_attr accessor functions 2017-05-01 14:32:43 -04:00
hns_roce_alloc.c IB/hns: Change qpn allocation to round-robin mode. 2016-12-03 14:20:42 -05:00
hns_roce_cmd.c IB/hns: Use kmalloc_array() in hns_roce_cmd_use_events() 2017-04-20 16:31:49 -04:00
hns_roce_cmd.h IB/hns: Fix the bug when free mr 2016-12-03 14:20:42 -05:00
hns_roce_common.h IB/hns: Fix the bug when free cq 2016-12-03 14:20:42 -05:00
hns_roce_cq.c IB: Replace ib_umem page_size by page_shift 2017-04-25 15:40:28 -04:00
hns_roce_device.h IB/core: Rename struct ib_ah_attr to rdma_ah_attr 2017-05-01 14:32:43 -04:00
hns_roce_eq.c IB/hns: Fix for Checkpatch.pl comment style errors 2016-12-03 14:20:42 -05:00
hns_roce_eq.h IB/hns: Optimize code of aeq and ceq interrupt handle and fix the bug of qpn 2016-10-03 11:43:15 -04:00
hns_roce_hem.c IB/hns: Fix for Checkpatch.pl comment style errors 2016-12-03 14:20:42 -05:00
hns_roce_hem.h IB/hns: Fix bug of clear hem 2016-10-03 11:43:15 -04:00
hns_roce_hw_v1.c IB: Convert msleep below 20ms to usleep_range 2017-07-17 21:21:22 -04:00
hns_roce_hw_v1.h IB/hns: Fix the bug when free mr 2016-12-03 14:20:42 -05:00
hns_roce_main.c This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
hns_roce_mr.c scripts/spelling.txt: add regsiter -> register spelling mistake 2017-05-08 17:15:13 -07:00
hns_roce_pd.c IB/hns: Change qpn allocation to round-robin mode. 2016-12-03 14:20:42 -05:00
hns_roce_qp.c IB: Replace ib_umem page_size by page_shift 2017-04-25 15:40:28 -04:00
Kconfig
Makefile