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

/drivers/infiniband/hw/qib/
H A Dqib_ud.c76 u16 pkey1; local
80 pkey1 = qib_get_pkey(ibp, sqp->s_pkey_index);
82 if (unlikely(!qib_pkey_ok(pkey1, pkey2))) {
85 qib_bad_pqkey(ibp, IB_NOTICE_TRAP_BAD_PKEY, pkey1,
467 u16 pkey1, pkey2; local
469 pkey1 = be32_to_cpu(ohdr->bth[0]);
471 if (unlikely(!qib_pkey_ok(pkey1, pkey2))) {
473 pkey1,
H A Dqib_verbs.h822 static inline int qib_pkey_ok(u16 pkey1, u16 pkey2) argument
824 u16 p1 = pkey1 & 0x7FFF;
831 return p1 && p1 == p2 && ((__s16)pkey1 < 0 || (__s16)pkey2 < 0);

Completed in 48 milliseconds