Searched refs:rhf (Results 1 – 5 of 5) sorted by relevance
344 static inline u64 rhf_err_flags(u64 rhf) in rhf_err_flags() argument346 return rhf & RHF_ERROR_SMASK; in rhf_err_flags()349 static inline u32 rhf_rcv_type(u64 rhf) in rhf_rcv_type() argument351 return (rhf >> RHF_RCV_TYPE_SHIFT) & RHF_RCV_TYPE_MASK; in rhf_rcv_type()354 static inline u32 rhf_rcv_type_err(u64 rhf) in rhf_rcv_type_err() argument356 return (rhf >> RHF_RCV_TYPE_ERR_SHIFT) & RHF_RCV_TYPE_ERR_MASK; in rhf_rcv_type_err()360 static inline u32 rhf_pkt_len(u64 rhf) in rhf_pkt_len() argument362 return ((rhf & RHF_PKT_LEN_SMASK) >> RHF_PKT_LEN_SHIFT) << 2; in rhf_pkt_len()365 static inline u32 rhf_egr_index(u64 rhf) in rhf_egr_index() argument367 return (rhf >> RHF_EGR_INDEX_SHIFT) & RHF_EGR_INDEX_MASK; in rhf_egr_index()[all …]
216 static inline void *get_egrbuf(const struct hfi1_ctxtdata *rcd, u64 rhf, in get_egrbuf() argument219 u32 idx = rhf_egr_index(rhf), offset = rhf_egr_buf_offset(rhf); in get_egrbuf()271 u32 rte = rhf_rcv_type_err(packet->rhf); in rcv_hdrerr()277 if (packet->rhf & (RHF_VCRC_ERR | RHF_ICRC_ERR)) in rcv_hdrerr()296 if (packet->rhf & RHF_TID_ERR) { in rcv_hdrerr()298 u32 tlen = rhf_pkt_len(packet->rhf); /* in bytes */ in rcv_hdrerr()364 if (rhf_use_egr_bfr(packet->rhf)) in rcv_hdrerr()381 sc5 = hfi1_9B_get_sc5(rhdr, packet->rhf); in rcv_hdrerr()411 packet->rhf &= ~RHF_RCV_TYPE_ERR_SMASK; in rcv_hdrerr()431 packet->rhf = rhf_to_cpu(packet->rhf_addr); in init_packet()[all …]
123 __entry->eflags = rhf_err_flags(packet->rhf);128 __entry->etail = rhf_egr_index(packet->rhf);
338 u64 rhf; member1441 static inline int hfi1_9B_get_sc5(struct ib_header *hdr, u64 rhf) in hfi1_9B_get_sc5() argument1443 return ib_get_sc(hdr) | ((!!(rhf_dc_info(rhf))) << 4); in hfi1_9B_get_sc5()
657 trace_input_ibhdr(rcd->dd, packet, !!(rhf_dc_info(packet->rhf))); in hfi1_ib_rcv()2044 sc5 = hfi1_9B_get_sc5(hdr, packet->rhf); in hfi1_cnp_rcv()