NTB: ntb_test: fix bug printing ntb_perf results
authorLogan Gunthorpe <logang@deltatee.com>
Mon, 5 Jun 2017 16:13:24 +0000 (10:13 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Aug 2017 08:21:55 +0000 (10:21 +0200)
commitbff04a462da3b1e4ae588bcbbe2e318d7fbada28
tree0678aa42a454e5e701afca2eded0cfea9982c8f8
parent471954c313c57e09839f1381bd4897283d8e6537
NTB: ntb_test: fix bug printing ntb_perf results

commit 07b0b22b3e58824f70b9188d085d400069ca3240 upstream.

The code mistakenly prints the local perf results for the remote test
so the script reports identical results for both directions. Fix this
by ensuring we print the remote result.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Fixes: a9c59ef77458 ("ntb_test: Add a selftest script for the NTB subsystem")
Acked-by: Allen Hubbe <Allen.Hubbe@dell.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/ntb/ntb_test.sh