IB/hfi1: Fix MAD port poll for active cables
authorDean Luick <dean.luick@intel.com>
Thu, 14 Apr 2016 15:31:48 +0000 (08:31 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:29 +0000 (16:32 -0400)
commit1cbaa670355e4a4e339ac97167fb8ecf536045d3
tree4f0741140e90daff26913fc652073a279555be82
parent015e91fbc9c6ab48596aa38fc0f8c8aab44036f9
IB/hfi1: Fix MAD port poll for active cables

A MAD directive to start polling must go through the normal
link tuning and start steps in order to correctly handle
active cables.

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/mad.c