Lines Matching refs:pkey
341 pr_warn("%s: failed to find limited mgmt pkey, defaulting 0x%x\n",
1010 * @pkeys: the pkey table is placed here
1685 * If the update does not include the management pkey, don't do it.
2557 __be16 pkey;
2565 __be16 pkey;
3445 rsp->port_xmit_constraint_ei.pkey =
3446 cpu_to_be16(dd->err_info_xmit_constraint.pkey);
3452 rsp->port_rcv_constraint_ei.pkey =
3453 cpu_to_be16(dd->err_info_rcv_constraint.pkey);
4424 u16 pkey;
4429 pkey = ppd->pkeys[in_wc->pkey_index];
4433 * - pkey is 0x7fff, or 0xffff
4448 if (pkey == LIM_MGMT_P_KEY || pkey == FULL_MGMT_P_KEY)
4450 ingress_pkey_table_fail(ppd, pkey, in_wc->slid);
4460 * These are all the possible logic rules for validating a pkey:
4462 * a) If pkey neither FULL_MGMT_P_KEY nor LIM_MGMT_P_KEY,
4467 * b) If pkey_index -> FULL_MGMT_P_KEY, and LIM_MGMT_P_KEY in pkey table:
4471 * c) If pkey_index -> FULL_MGMT_P_KEY, and LIM_MGMT_P_KEY is NOT in pkey table:
4472 * Drop the packet as LIM_MGMT_P_KEY should always be in the pkey table.
4475 * d) If pkey_index -> LIM_MGMT_P_KEY and FULL_MGMT_P_KEY is NOT in pkey table:
4479 * e) If pkey_index -> LIM_MGMT_P_KEY and FULL_MGMT_P_KEY in pkey table:
4486 * the driver as LIM_MGMT_P_KEY is always in the pkey table.
4489 * 0 - pkey is okay, -EINVAL it's a bad pkey
4833 pr_warn("failed to find limited mgmt pkey, defaulting 0x%x\n",