Searched refs:pkey1 (Results 1 – 2 of 2) sorted by relevance
83 u16 pkey1; in qib_ud_loopback() local87 pkey1 = qib_get_pkey(ibp, sqp->s_pkey_index); in qib_ud_loopback()89 if (unlikely(!qib_pkey_ok(pkey1, pkey2))) { in qib_ud_loopback()92 qib_bad_pqkey(ibp, IB_NOTICE_TRAP_BAD_PKEY, pkey1, in qib_ud_loopback()470 u16 pkey1, pkey2; in qib_ud_rcv() local472 pkey1 = be32_to_cpu(ohdr->bth[0]); in qib_ud_rcv()474 if (unlikely(!qib_pkey_ok(pkey1, pkey2))) { in qib_ud_rcv()476 pkey1, in qib_ud_rcv()
859 static inline int qib_pkey_ok(u16 pkey1, u16 pkey2) in qib_pkey_ok() argument861 u16 p1 = pkey1 & 0x7FFF; in qib_pkey_ok()868 return p1 && p1 == p2 && ((__s16)pkey1 < 0 || (__s16)pkey2 < 0); in qib_pkey_ok()