mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
IB/hfi1: Remove filtering of Set(PkeyTable) in HFI SMA
The FM should have full control to set the pkeys in the driver pkey table. Remove filtering done by the driver. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
84b3adc243
commit
c08d57a30a
1 changed files with 0 additions and 6 deletions
|
|
@ -1405,12 +1405,6 @@ static int set_pkeys(struct hfi1_devdata *dd, u8 port, u16 *pkeys)
|
|||
|
||||
if (key == okey)
|
||||
continue;
|
||||
/*
|
||||
* Don't update pkeys[2], if an HFI port without MgmtAllowed
|
||||
* by neighbor is a switch.
|
||||
*/
|
||||
if (i == 2 && !ppd->mgmt_allowed && ppd->neighbor_type == 1)
|
||||
continue;
|
||||
/*
|
||||
* The SM gives us the complete PKey table. We have
|
||||
* to ensure that we put the PKeys in the matching
|
||||
|
|
|
|||
Loading…
Reference in a new issue