Commit 8b2f0336 authored by Sanjay R Mehta's avatar Sanjay R Mehta Committed by Jon Mason

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: default avatarSanjay R Mehta <sanju.mehta@amd.com>
Acked-by: default avatarAllen Hubbe <allenbh@gmail.com>
Acked-by: default avatarLogan Gunthorpe <logang@deltatee.com>
Acked-by: default avatarSerge Semin <fancer.lancer@gmail.com>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
parent c56b4ef1
...@@ -100,7 +100,7 @@ MODULE_DESCRIPTION("PCIe NTB Performance Measurement Tool"); ...@@ -100,7 +100,7 @@ MODULE_DESCRIPTION("PCIe NTB Performance Measurement Tool");
#define DMA_TRIES 100 #define DMA_TRIES 100
#define DMA_MDELAY 10 #define DMA_MDELAY 10
#define MSG_TRIES 500 #define MSG_TRIES 1000
#define MSG_UDELAY_LOW 1000 #define MSG_UDELAY_LOW 1000
#define MSG_UDELAY_HIGH 2000 #define MSG_UDELAY_HIGH 2000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment