staging/rdma/hfi1: Don't attempt to qualify or tune loopback plugs
authorEaswar Hariharan <easwar.hariharan@intel.com>
Wed, 3 Feb 2016 22:32:14 +0000 (14:32 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:48 +0000 (20:37 -0500)
commit715c430ca5b21c22648665045fc3718b4547d5c8
treed928358a80aa0a1838aeadbe4066fc39cb98aadc
parentfe072e205a685cfba285259d779dd3bda5e250f2
staging/rdma/hfi1: Don't attempt to qualify or tune loopback plugs

Loopback plugs used for testing hardware don't need to be qualified to
bring the link up unlike production cables. This patch adds an exception
for loopback plugs to the QSFP and SerDes tuning algortihm.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/platform.c