Home
last modified time | relevance | path

Searched refs:ohdr (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/include/rdma/
Dib_hdrs.h244 static inline u32 ib_get_qkey(struct ib_other_headers *ohdr) in ib_get_qkey() argument
246 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() argument
251 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() argument
273 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() argument
279 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() argument
284 return ((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_OPCODE_SHIFT) & in ib_bth_get_opcode()
[all …]