NTB: ntb_perf: Increased the number of message retries to 1000
PATCH 1/4 NTB: ntb_perf: Increased the number of message retries to 1000
From: Sanjay R Mehta <[email protected]>
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
--- drivers/ntb/test/ntb_perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ntb/test/ntb_perf.c +1 -1
@@ -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
Signature · 1 line
2.7.4
Jon Mason
maintainerQuoted 9 lines · Sanju
From: Sanjay R Mehta <[email protected]>
while waiting for the peer
ntb_perfto initialize scratchpad registers, local sidentb_perfmight 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 peerntb_perffor scratchpad initialization, increased the number of retries to 1000Signed-off-by Sanjay R Mehta <[email protected]>
Series applied to my ntb branch.
Thanks,
Jon
Quoted 26 lines
--- drivers/ntb/test/ntb_perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/ntb/test/ntb_perf.c +1
-1@@ -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 2000Signature · 8 lines
2.7.4 -- You received this message because you are subscribed to the Google Groups "linux-ntb" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/linux-ntb/1550222279-27216-1-git-send-email-Sanju.Mehta%40amd.com. For more options, visit https://groups.google.com/d/optout.
Quoted 11 lines · Jon Mason
Quoted 9 lines · Sanju
From: Sanjay R Mehta <[email protected]>
while waiting for the peer
ntb_perfto initialize scratchpad registers, local sidentb_perfmight 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 peerntb_perffor scratchpad initialization, increased the number of retries to 1000Signed-off-by Sanjay R Mehta <[email protected]>Series applied to my ntb branch.
Hi Jon,
The above patch series is not visible in 5.2-rc1 branch. Please let me know when I can expect them in upstream kernel.
Thanks & Regards,
Sanjay Mehta
Quoted 31 lines
Thanks,
JonQuoted 26 lines
--- drivers/ntb/test/ntb_perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/ntb/test/ntb_perf.c +1
-1@@ -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 2000Signature · 8 lines
2.7.4 -- You received this message because you are subscribed to the Google Groups "linux-ntb" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/linux-ntb/1550222279-27216-1-git-send-email-Sanju.Mehta%40amd.com. For more options, visit https://groups.google.com/d/optout.