Patch "NTB: ntb_test: fix bug printing ntb_perf results" has been added to the 4.9-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
NTB: ntb_test: fix bug printing ntb_perf results
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ntb-ntb_test-fix-bug-printing-ntb_perf-results.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
07b0b22b3e58824f70b9188d085d400069ca3240Mon Sep 17 00:00:00 2001
From: Logan Gunthorpe <[email protected]>
Date: Mon, 5 Jun 2017 10:13:24 -0600
Subject: NTB: ntb_test: fix bug printing ntb_perf results
From: Logan Gunthorpe <[email protected]>
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.
--- tools/testing/selftests/ntb/ntb_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/ntb/ntb_test.sh +1 -1
@@ -305,7 +305,7 @@ function perf_test() echo "Running remote perf test $WITH DMA" write_file "" $REMOTE_PERF/run echo -n " " - read_file $LOCAL_PERF/run + read_file $REMOTE_PERF/run echo " Passed" _modprobe -r ntb_perf
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/ntb-ntb_test-fix-bug-printing-ntb_perf-results.patch queue-4.9/ntb_transport-fix-bug-calculating-num_qps_mw.patch queue-4.9/ntb-ntb_test-ensure-the-link-is-up-before-trying-to-configure-the-mws.patch queue-4.9/ntb_transport-fix-qp-count-bug.patch