]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit221efbaaa5ac03f6427ca37f1b7db980070b05af
treede31645623d9dfb6ad6c3cf59450e3582734b349
parentb905be3bea26e67d1b43c35dd4df5e32ef1fb514
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: 65d60f4c4d8d ("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