]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Only reset QSFP after link up and turn off AOC TX
authorSebastian Sanchez <sebastian.sanchez@intel.com>
Tue, 26 Sep 2017 13:06:03 +0000 (06:06 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 27 Sep 2017 15:10:36 +0000 (11:10 -0400)
commitfdc3c155a8af0dbe03520ce916486190fc73578c
tree729cc44dddc71b1475c0ec38a35f104b3baed4a7
parent8494743c3c24e4d69cfc3fff2f482501eacfe081
IB/hfi1: Only reset QSFP after link up and turn off AOC TX

QSFP reset enables AOC transmitters by default. They should be off
before moving to high power mode to complete the setup. There is no
need to reset the QSFP during LNI failure as it was reset at link down.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Jakub Byczkowski <jakub.byczkowski@intel.com>
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/chip.c
drivers/infiniband/hw/hfi1/chip.h
drivers/infiniband/hw/hfi1/platform.c