linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] NTB: ntb_perf: Increased the number of message retries to 1000
@ 2019-02-15  9:20 Mehta, Sanju
  2019-03-20 17:50 ` Jon Mason
  0 siblings, 1 reply; 3+ messages in thread
From: Mehta, Sanju @ 2019-02-15  9:20 UTC (permalink / raw)
  To: S-k, Shyam-sundar, jdmason, dave.jiang, allenbh
  Cc: linux-ntb, linux-kernel, Mehta, Sanju

From: Sanjay R Mehta <sanju.mehta@amd.com>

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>
---
 drivers/ntb/test/ntb_perf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ntb/test/ntb_perf.c b/drivers/ntb/test/ntb_perf.c
index 2a9d6b0..a828d0e 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
 
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/4] NTB: ntb_perf: Increased the number of message retries to 1000
  2019-02-15  9:20 [PATCH 1/4] NTB: ntb_perf: Increased the number of message retries to 1000 Mehta, Sanju
@ 2019-03-20 17:50 ` Jon Mason
  2019-05-20 12:17   ` Sanjay R Mehta
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Mason @ 2019-03-20 17:50 UTC (permalink / raw)
  To: Mehta, Sanju
  Cc: S-k, Shyam-sundar, dave.jiang, allenbh, linux-ntb, linux-kernel

On Fri, Feb 15, 2019 at 09:20:07AM +0000, Mehta, Sanju wrote:
> From: Sanjay R Mehta <sanju.mehta@amd.com>
> 
> 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>

Series applied to my ntb branch.

Thanks,
Jon


> ---
>  drivers/ntb/test/ntb_perf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/ntb/test/ntb_perf.c b/drivers/ntb/test/ntb_perf.c
> index 2a9d6b0..a828d0e 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
>  
> -- 
> 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 linux-ntb+unsubscribe@googlegroups.com.
> To post to this group, send email to linux-ntb@googlegroups.com.
> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/4] NTB: ntb_perf: Increased the number of message retries to 1000
  2019-03-20 17:50 ` Jon Mason
@ 2019-05-20 12:17   ` Sanjay R Mehta
  0 siblings, 0 replies; 3+ messages in thread
From: Sanjay R Mehta @ 2019-05-20 12:17 UTC (permalink / raw)
  To: Jon Mason, Mehta, Sanju
  Cc: S-k, Shyam-sundar, dave.jiang, allenbh, linux-ntb, linux-kernel


On 3/20/2019 11:20 PM, Jon Mason wrote:
> On Fri, Feb 15, 2019 at 09:20:07AM +0000, Mehta, Sanju wrote:
>> From: Sanjay R Mehta <sanju.mehta@amd.com>
>>
>> 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>
> 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

>
> Thanks,
> Jon
>
>
>> ---
>>  drivers/ntb/test/ntb_perf.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/ntb/test/ntb_perf.c b/drivers/ntb/test/ntb_perf.c
>> index 2a9d6b0..a828d0e 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
>>  
>> -- 
>> 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 linux-ntb+unsubscribe@googlegroups.com.
>> To post to this group, send email to linux-ntb@googlegroups.com.
>> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-20 12:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-15  9:20 [PATCH 1/4] NTB: ntb_perf: Increased the number of message retries to 1000 Mehta, Sanju
2019-03-20 17:50 ` Jon Mason
2019-05-20 12:17   ` Sanjay R Mehta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).