diff options
author | Michael J. Ruhl <michael.j.ruhl@intel.com> | 2017-02-08 05:28:13 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-02-19 09:18:43 -0500 |
commit | db069ecb5d4dcd297628d5ebc56dd22bdbab9729 (patch) | |
tree | 9443e114c9cb552a2d18d3328e79328d345ead39 /drivers/infiniband/sw | |
parent | c27aad00d191e8ba88fe755db53b9f2b8cefc0e9 (diff) |
IB/hfi1: Do not set physical link state if DC is in the shutdown state
If the DC is in shutdown state, the set link state function will return
an error. Since this is not a failure in this state, make sure to
only call set link state if the DC is on.
Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw')
0 files changed, 0 insertions, 0 deletions