|
@@ -1405,12 +1405,6 @@ static int set_pkeys(struct hfi1_devdata *dd, u8 port, u16 *pkeys)
|
|
|
|
|
|
if (key == okey)
|
|
if (key == okey)
|
|
continue;
|
|
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
|
|
* The SM gives us the complete PKey table. We have
|
|
* to ensure that we put the PKeys in the matching
|
|
* to ensure that we put the PKeys in the matching
|