Searched refs:pkey1 (Results 1 – 2 of 2) sorted by relevance
88 u16 pkey1; in qib_ud_loopback() local92 pkey1 = qib_get_pkey(ibp, sqp->s_pkey_index); in qib_ud_loopback()94 if (unlikely(!qib_pkey_ok(pkey1, pkey2))) { in qib_ud_loopback()97 qib_bad_pkey(ibp, pkey1, in qib_ud_loopback()468 u16 pkey1, pkey2; in qib_ud_rcv() local470 pkey1 = be32_to_cpu(ohdr->bth[0]); in qib_ud_rcv()472 if (unlikely(!qib_pkey_ok(pkey1, pkey2))) { in qib_ud_rcv()474 pkey1, in qib_ud_rcv()
229 static inline int qib_pkey_ok(u16 pkey1, u16 pkey2) in qib_pkey_ok() argument231 u16 p1 = pkey1 & 0x7FFF; in qib_pkey_ok()238 return p1 && p1 == p2 && ((__s16)pkey1 < 0 || (__s16)pkey2 < 0); in qib_pkey_ok()