]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Reset QSFP on every run through channel tuning
authorEaswar Hariharan <easwar.hariharan@intel.com>
Mon, 25 Jul 2016 20:40:03 +0000 (13:40 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 2 Aug 2016 20:00:58 +0000 (16:00 -0400)
commitec027529723246ba8a5492490d17910f79ba7ebb
tree2a67223bf9fd3d93b49c5c9336f36085bb6e3d89
parent44c83880c1c4694fc2871078c539413f79c353cd
IB/hfi1: Reset QSFP on every run through channel tuning

Active QSFP cables were reset only every alternate iteration of the
channel tuning algorithm instead of every iteration due to incorrect
reset of the flag that controlled QSFP reset, resulting in using stale
QSFP status in the channel tuning algorithm.

Fixes: 0cd813477bbb ("Add active and optical cable support")
Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/platform.c