Searched refs:ohdr (Results 1 – 1 of 1) sorted by relevance
244 static inline u32 ib_get_qkey(struct ib_other_headers *ohdr) in ib_get_qkey() argument246 return be32_to_cpu(ohdr->u.ud.deth[0]); in ib_get_qkey()249 static inline u32 ib_get_sqpn(struct ib_other_headers *ohdr) in ib_get_sqpn() argument251 return ((be32_to_cpu(ohdr->u.ud.deth[1])) & IB_QPN_MASK); in ib_get_sqpn()271 static inline u8 ib_bth_get_pad(struct ib_other_headers *ohdr) in ib_bth_get_pad() argument273 return ((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_PAD_SHIFT) & in ib_bth_get_pad()277 static inline u16 ib_bth_get_pkey(struct ib_other_headers *ohdr) in ib_bth_get_pkey() argument279 return (be32_to_cpu(ohdr->bth[0]) & IB_BTH_PKEY_MASK); in ib_bth_get_pkey()282 static inline u8 ib_bth_get_opcode(struct ib_other_headers *ohdr) in ib_bth_get_opcode() argument284 return ((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_OPCODE_SHIFT) & in ib_bth_get_opcode()[all …]