Searched refs:ohdr (Results 1 – 1 of 1) sorted by relevance
209 static inline u32 ib_get_qkey(struct ib_other_headers *ohdr) in ib_get_qkey() argument211 return be32_to_cpu(ohdr->u.ud.deth[0]); in ib_get_qkey()216 return ((be32_to_cpu(ohdr->u.ud.deth[1])) & IB_QPN_MASK); in ib_get_sqpn()239 return ((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_PAD_SHIFT) & in ib_bth_get_pad()245 return (be32_to_cpu(ohdr->bth[0]) & IB_BTH_PKEY_MASK); in ib_bth_get_pkey()274 return (u32)(be32_to_cpu(ohdr->bth[2])); in ib_bth_get_psn()279 return (u32)((be32_to_cpu(ohdr->bth[1])) & IB_QPN_MASK); in ib_bth_get_qpn()284 return (ohdr->bth[1]) & cpu_to_be32(IB_BECN_SMASK); in ib_bth_get_becn()289 return (ohdr->bth[1]) & cpu_to_be32(IB_FECN_SMASK); in ib_bth_get_fecn()300 return ohdr->bth[0] & cpu_to_be32(IB_BTH_SOLICITED); in ib_bth_is_solicited()[all …]
Completed in 4 milliseconds