Lines Matching defs:pkey
299 pr_warn("%s: failed to find limited mgmt pkey, defaulting 0x%x\n",
968 * @pkeys: the pkey table is placed here
1643 * If the update does not include the management pkey, don't do it.
2515 __be16 pkey;
2523 __be16 pkey;
3403 rsp->port_xmit_constraint_ei.pkey =
3404 cpu_to_be16(dd->err_info_xmit_constraint.pkey);
3410 rsp->port_rcv_constraint_ei.pkey =
3411 cpu_to_be16(dd->err_info_rcv_constraint.pkey);
4382 u16 pkey;
4387 pkey = ppd->pkeys[in_wc->pkey_index];
4391 * - pkey is 0x7fff, or 0xffff
4406 if (pkey == LIM_MGMT_P_KEY || pkey == FULL_MGMT_P_KEY)
4408 ingress_pkey_table_fail(ppd, pkey, in_wc->slid);
4418 * These are all the possible logic rules for validating a pkey:
4420 * a) If pkey neither FULL_MGMT_P_KEY nor LIM_MGMT_P_KEY,
4425 * b) If pkey_index -> FULL_MGMT_P_KEY, and LIM_MGMT_P_KEY in pkey table:
4429 * c) If pkey_index -> FULL_MGMT_P_KEY, and LIM_MGMT_P_KEY is NOT in pkey table:
4430 * Drop the packet as LIM_MGMT_P_KEY should always be in the pkey table.
4433 * d) If pkey_index -> LIM_MGMT_P_KEY and FULL_MGMT_P_KEY is NOT in pkey table:
4437 * e) If pkey_index -> LIM_MGMT_P_KEY and FULL_MGMT_P_KEY in pkey table:
4444 * the driver as LIM_MGMT_P_KEY is always in the pkey table.
4447 * 0 - pkey is okay, -EINVAL it's a bad pkey
4791 pr_warn("failed to find limited mgmt pkey, defaulting 0x%x\n",