]> git.baikalelectronics.ru Git - kernel.git/commit
ntb_perf: increase sleep time from one milli sec to one sec
authorSanjay R Mehta <sanju.mehta@amd.com>
Wed, 6 May 2020 04:21:51 +0000 (23:21 -0500)
committerJon Mason <jdmason@kudzu.us>
Sat, 6 Jun 2020 00:02:08 +0000 (20:02 -0400)
commitac772697e9ce8472bb3d54d1cdd980bb847d72b2
tree8fa065d4fee3e9aed0e7797f30a6edc99ce9245b
parent34268e5e670262e780739af1026f0d35d7826f38
ntb_perf: increase sleep time from one milli sec to one sec

After trying to send commands for a maximum of MSG_TRIES
re-tries, link-up fails due to short sleep time(1ms) between
re-tries. Hence increasing the sleep time to one second providing
sufficient time for perf link-up.

Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
Signed-off-by: Arindam Nath <arindam.nath@amd.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/test/ntb_perf.c