]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Remove FULL_MGMT_P_KEY from pkey table at link up
authorSebastian Sanchez <sebastian.sanchez@intel.com>
Thu, 9 Jun 2016 14:51:57 +0000 (07:51 -0700)
committerDoug Ledford <dledford@redhat.com>
Sat, 18 Jun 2016 00:11:27 +0000 (20:11 -0400)
commit4f217bd4b369d14a1d5b5c9e2da63251abeaf23c
tree6907e523e70cb7e6ccbbf1a53bb5979f06b1ae23
parenta9664976dcaa16f34b0da9b3768b36ee00ec9def
IB/hfi1: Remove FULL_MGMT_P_KEY from pkey table at link up

FULL_MGMT_P_KEY doesn't get cleared from the pkey table at link bounce
because the link down and link bounce code paths are different when
moving a QSFP cable on a switch. This causes an HFI unit connected to a
switch to try to be initialized to an FM node when the QSFP cable is
moved from a MgmtAllowed=NO port to a MgmtAllowed=YES port and back to a
MgmtAllowed=NO port. Remove FULL_MGMT_P_KEY from pkey table at link up.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/chip.c