OSDN Git Service

NTB: ntb_perf: Increased the number of message retries to 1000
authorSanjay R Mehta <sanju.mehta@amd.com>
Fri, 15 Feb 2019 09:20:07 +0000 (09:20 +0000)
committerJon Mason <jdmason@kudzu.us>
Thu, 13 Jun 2019 12:54:39 +0000 (08:54 -0400)
commit8b2f033631c2ec735c10846030fad44f3bfdaf07
tree15b7a571ab1ff57855a160dcff73cadede98a6b1
parentc56b4ef1cf0c2a2ee2593ea6f3c0b3198af11f48
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>
drivers/ntb/test/ntb_perf.c