Lines Matching refs:pkey
440 u16 pkey; in hfi1_do_pkey_check() local
447 pkey = hfi1_16B_get_pkey(hdr); in hfi1_do_pkey_check()
448 return ingress_pkey_check(ppd, pkey, packet->sc, in hfi1_do_pkey_check()
1084 static inline int egress_pkey_matches_entry(u16 pkey, u16 ent) in egress_pkey_matches_entry() argument
1086 u16 mkey = pkey & PKEY_LOW_15_MASK; in egress_pkey_matches_entry()
1095 if (pkey & PKEY_MEMBER_MASK) in egress_pkey_matches_entry()
1116 int egress_pkey_check(struct hfi1_pportdata *ppd, u32 slid, u16 pkey, in egress_pkey_check() argument
1127 if ((sc5 == 0xf) && ((pkey & PKEY_LOW_15_MASK) != PKEY_LOW_15_MASK)) in egress_pkey_check()
1131 if ((pkey & PKEY_LOW_15_MASK) == 0) in egress_pkey_check()
1139 egress_pkey_matches_entry(pkey, ppd->pkeys[s_pkey_index])) { in egress_pkey_check()
1144 if (egress_pkey_matches_entry(pkey, ppd->pkeys[i])) in egress_pkey_check()
1161 dd->err_info_xmit_constraint.pkey = pkey; in egress_pkey_check()
1220 u16 pkey; in hfi1_verbs_send() local
1235 pkey = hfi1_16B_get_pkey(hdr); in hfi1_verbs_send()
1245 pkey = ib_bth_get_pkey(ohdr); in hfi1_verbs_send()
1254 ret = egress_pkey_check(dd->pport, slid, pkey, in hfi1_verbs_send()