diff options
author | Dean Luick <dean.luick@intel.com> | 2016-08-31 07:24:33 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-09-02 14:26:55 -0400 |
commit | 673b975f1fbad5382f76afdb987e7513c5f4b71b (patch) | |
tree | 508586664d537f2b3d30324fdfc34c4886164936 /drivers/infiniband/hw/hfi1/chip.h | |
parent | af53493916693343955930556aaa83f875b8436a (diff) | |
download | blackbird-op-linux-673b975f1fbad5382f76afdb987e7513c5f4b71b.tar.gz blackbird-op-linux-673b975f1fbad5382f76afdb987e7513c5f4b71b.zip |
IB/hfi1: Add QSFP sanity pre-check
Sometimes a QSFP device does not respond in the expected time
after a power-on. Add a read pre-check/retry when starting
the link on driver load.
Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/chip.h')
-rw-r--r-- | drivers/infiniband/hw/hfi1/chip.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hfi1/chip.h b/drivers/infiniband/hw/hfi1/chip.h index ed11107c50fe..e29573769efc 100644 --- a/drivers/infiniband/hw/hfi1/chip.h +++ b/drivers/infiniband/hw/hfi1/chip.h @@ -706,6 +706,7 @@ void handle_link_up(struct work_struct *work); void handle_link_down(struct work_struct *work); void handle_link_downgrade(struct work_struct *work); void handle_link_bounce(struct work_struct *work); +void handle_start_link(struct work_struct *work); void handle_sma_message(struct work_struct *work); void reset_qsfp(struct hfi1_pportdata *ppd); void qsfp_event(struct work_struct *work); |