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)
commit3ec5fa28c9ea54fb172859d2612a0be6526e4dc1
tree6907e523e70cb7e6ccbbf1a53bb5979f06b1ae23
parentc078f0dd01b73c70b92a660cb1ce3dfc3cbf2903
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
This page took 0.081491 seconds and 5 git commands to generate.