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)
committerJon Mason <jdmason@kudzu.us>
Mon, 19 Jun 2017 18:24:41 +0000 (14:24 -0400)
commit07b0b22b3e58824f70b9188d085d400069ca3240
treede31645623d9dfb6ad6c3cf59450e3582734b349
parent94fc795454f461134cdffb88bef4eb9f788c0b5d
NTB: ntb_test: fix bug printing ntb_perf results

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>
tools/testing/selftests/ntb/ntb_test.sh