]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Use the neighbor link down reason only when valid
authorDean Luick <dean.luick@intel.com>
Thu, 14 Apr 2016 15:31:36 +0000 (08:31 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:29 +0000 (16:32 -0400)
commit388568d0f4464fe6a1ec155aad8ef4865d936e11
tree4c2967f2a812b59d40f5d1f7ab0b459d6f1e5728
parentb0fb7201255efe765c256233fe4f753b8ba89271
IB/hfi1: Use the neighbor link down reason only when valid

The 8051 uses a link down reason to inform the driver why the
link went down.  The neighbor planned link down reason code is
only valid when a link down idle message is received by the 8051.
Enhance the explanation on why the link went down.

Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/chip.c
drivers/staging/rdma/hfi1/chip.h