]> git.baikalelectronics.ru Git - kernel.git/commit
ntb_perf: Wait for link before running test
authorLogan Gunthorpe <logang@deltatee.com>
Mon, 20 Jun 2016 19:15:07 +0000 (13:15 -0600)
committerJon Mason <jdmason@kudzu.us>
Fri, 5 Aug 2016 14:21:07 +0000 (10:21 -0400)
commit26dc638ae6e32bddfb8d3da0fc93946955c28c78
tree6c45c18b7abcd8b5882d3768417a0bebed1243a4
parent58fd0f3b1539a5bad451a823c9d039ea23387b23
ntb_perf: Wait for link before running test

Instead of returning immediately with an error when the link is
down, wait for the link to come up (or the user sends a SIGINT).

This is to make scripting ntb_perf easier.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/test/ntb_perf.c