diff options
author | Sanjay R Mehta <sanju.mehta@amd.com> | 2019-02-15 10:20:07 +0100 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2019-06-13 14:54:39 +0200 |
commit | 8b2f033631c2ec735c10846030fad44f3bfdaf07 (patch) | |
tree | 15b7a571ab1ff57855a160dcff73cadede98a6b1 /drivers | |
parent | ntb: intel: Make intel_ntb3_peer_db_addr static (diff) | |
download | linux-8b2f033631c2ec735c10846030fad44f3bfdaf07.tar.xz linux-8b2f033631c2ec735c10846030fad44f3bfdaf07.zip |
NTB: ntb_perf: Increased the number of message retries to 1000
while waiting for the peer ntb_perf to initialize scratchpad
registers, local side ntb_perf might have already exhausted the
maximum number of retries which is currently set to 500. To avoid
this and to give little more time to the peer ntb_perf for scratchpad
initialization, increased the number of retries to 1000
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
Acked-by: Allen Hubbe <allenbh@gmail.com>
Acked-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ntb/test/ntb_perf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ntb/test/ntb_perf.c b/drivers/ntb/test/ntb_perf.c index 11a6cd374004..5ed84376ae56 100644 --- a/drivers/ntb/test/ntb_perf.c +++ b/drivers/ntb/test/ntb_perf.c @@ -100,7 +100,7 @@ MODULE_DESCRIPTION("PCIe NTB Performance Measurement Tool"); #define DMA_TRIES 100 #define DMA_MDELAY 10 -#define MSG_TRIES 500 +#define MSG_TRIES 1000 #define MSG_UDELAY_LOW 1000 #define MSG_UDELAY_HIGH 2000 |