mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 17:33:01 +00:00
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: a9c59ef774
("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>
This commit is contained in:
parent
94fc795454
commit
07b0b22b3e
@ -305,7 +305,7 @@ function perf_test()
|
|||||||
echo "Running remote perf test $WITH DMA"
|
echo "Running remote perf test $WITH DMA"
|
||||||
write_file "" $REMOTE_PERF/run
|
write_file "" $REMOTE_PERF/run
|
||||||
echo -n " "
|
echo -n " "
|
||||||
read_file $LOCAL_PERF/run
|
read_file $REMOTE_PERF/run
|
||||||
echo " Passed"
|
echo " Passed"
|
||||||
|
|
||||||
_modprobe -r ntb_perf
|
_modprobe -r ntb_perf
|
||||||
|
Loading…
Reference in New Issue
Block a user