diff options
| author | Sebastian Sanchez <[email protected]> | 2016-05-24 19:50:47 +0000 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2016-05-26 16:21:10 +0000 |
| commit | ce8b2fd0950ccc14440b02f05d2c7023608cfa76 (patch) | |
| tree | 39498bb1df0c7bbe446400197c31a54ab00232fb /net/unix/af_unix.c | |
| parent | IB/rdamvt: Fix rdmavt s_ack_queue sizing (diff) | |
| download | kernel-ce8b2fd0950ccc14440b02f05d2c7023608cfa76.tar.gz kernel-ce8b2fd0950ccc14440b02f05d2c7023608cfa76.zip | |
IB/hfi1: Update pkey table properly after link down or FM start
When FM is disabled, and the HFI port on the switch is
changed from MgmtAllowed=YES to MgmtAllowed=NO and the
link is bounced, FULL_MGMT_P_KEY doesn't get cleared
from the pkey table. This also occurs when the QSFP
cable is moved from a switch port with MgmtAllowed=YES
to a MgmtAllowed=NO port. Clear pkey entry properly.
Also, when the driver is loaded and the switch port is
set to MgmtAllowed=NO, FULL_MGMT_P_KEY shouldn't be added
to pkey table after FM is started. Only set FULL_MGMT_P_KEY
in the pkey table if switch port is configured to
MgmtAllowed=YES.
Reviewed-by: Dean Luick <[email protected]>
Signed-off-by: Sebastian Sanchez <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
