Searched refs:pkey2 (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_ud.c84 u16 pkey2; qib_ud_loopback() local
88 pkey2 = qib_get_pkey(ibp, qp->s_pkey_index); qib_ud_loopback()
89 if (unlikely(!qib_pkey_ok(pkey1, pkey2))) { qib_ud_loopback()
470 u16 pkey1, pkey2; qib_ud_rcv() local
473 pkey2 = qib_get_pkey(ibp, qp->s_pkey_index); qib_ud_rcv()
474 if (unlikely(!qib_pkey_ok(pkey1, pkey2))) { qib_ud_rcv()
H A Dqib_verbs.h859 static inline int qib_pkey_ok(u16 pkey1, u16 pkey2) qib_pkey_ok() argument
862 u16 p2 = pkey2 & 0x7FFF; qib_pkey_ok()
868 return p1 && p1 == p2 && ((__s16)pkey1 < 0 || (__s16)pkey2 < 0); qib_pkey_ok()

Completed in 142 milliseconds