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 /include/rdma | |
parent | c27aad00d191e8ba88fe755db53b9f2b8cefc0e9 (diff) | |
download | linux-db069ecb5d4dcd297628d5ebc56dd22bdbab9729.tar.gz linux-db069ecb5d4dcd297628d5ebc56dd22bdbab9729.tar.bz2 linux-db069ecb5d4dcd297628d5ebc56dd22bdbab9729.zip |
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 'include/rdma')
0 files changed, 0 insertions, 0 deletions