Searched refs:rhf (Results 1 – 7 of 7) sorted by relevance
/drivers/infiniband/hw/hfi1/ |
D | common.h | 308 static inline u64 rhf_err_flags(u64 rhf) in rhf_err_flags() argument 310 return rhf & RHF_ERROR_SMASK; in rhf_err_flags() 313 static inline u32 rhf_rcv_type(u64 rhf) in rhf_rcv_type() argument 315 return (rhf >> RHF_RCV_TYPE_SHIFT) & RHF_RCV_TYPE_MASK; in rhf_rcv_type() 318 static inline u32 rhf_rcv_type_err(u64 rhf) in rhf_rcv_type_err() argument 320 return (rhf >> RHF_RCV_TYPE_ERR_SHIFT) & RHF_RCV_TYPE_ERR_MASK; in rhf_rcv_type_err() 324 static inline u32 rhf_pkt_len(u64 rhf) in rhf_pkt_len() argument 326 return ((rhf & RHF_PKT_LEN_SMASK) >> RHF_PKT_LEN_SHIFT) << 2; in rhf_pkt_len() 329 static inline u32 rhf_egr_index(u64 rhf) in rhf_egr_index() argument 331 return (rhf >> RHF_EGR_INDEX_SHIFT) & RHF_EGR_INDEX_MASK; in rhf_egr_index() [all …]
|
D | driver.c | 161 static inline void *get_egrbuf(const struct hfi1_ctxtdata *rcd, u64 rhf, in get_egrbuf() argument 164 u32 idx = rhf_egr_index(rhf), offset = rhf_egr_buf_offset(rhf); in get_egrbuf() 216 u32 rte = rhf_rcv_type_err(packet->rhf); in rcv_hdrerr() 223 if ((packet->rhf & RHF_DC_ERR) && in rcv_hdrerr() 227 if (packet->rhf & RHF_ICRC_ERR) in rcv_hdrerr() 246 if (packet->rhf & RHF_TID_ERR) { in rcv_hdrerr() 248 u32 tlen = rhf_pkt_len(packet->rhf); /* in bytes */ in rcv_hdrerr() 314 if (rhf_use_egr_bfr(packet->rhf)) in rcv_hdrerr() 331 sc5 = hfi1_9B_get_sc5(rhdr, packet->rhf); in rcv_hdrerr() 362 packet->rhf &= ~RHF_RCV_TYPE_ERR_SMASK; in rcv_hdrerr() [all …]
|
D | trace_rx.h | 37 __entry->eflags = rhf_err_flags(packet->rhf); 43 __entry->etail = rhf_egr_index(packet->rhf);
|
D | trace_misc.h | 82 __entry->eflags = rhf_err_flags(packet->rhf); 87 __entry->etail = rhf_egr_index(packet->rhf);
|
D | verbs.c | 350 trace_input_ibhdr(rcd->dd, packet, !!(rhf_dc_info(packet->rhf))); in hfi1_kdeth_eager_rcv() 404 trace_input_ibhdr(rcd->dd, packet, !!(rhf_dc_info(packet->rhf))); in hfi1_kdeth_expected_rcv() 539 trace_input_ibhdr(rcd->dd, packet, !!(rhf_dc_info(packet->rhf))); in hfi1_ib_rcv() 1962 sc5 = hfi1_9B_get_sc5(hdr, packet->rhf); in hfi1_cnp_rcv()
|
D | hfi.h | 343 u64 rhf; member 1608 static inline int hfi1_9B_get_sc5(struct ib_header *hdr, u64 rhf) in hfi1_9B_get_sc5() argument 1610 return ib_get_sc(hdr) | ((!!(rhf_dc_info(rhf))) << 4); in hfi1_9B_get_sc5()
|
D | tid_rdma.c | 2852 u8 rcv_type = rhf_rcv_type(packet->rhf); in hfi1_handle_kdeth_eflags() 2853 u8 rte = rhf_rcv_type_err(packet->rhf); in hfi1_handle_kdeth_eflags() 2870 packet->rhf); in hfi1_handle_kdeth_eflags() 2871 if (packet->rhf & RHF_ICRC_ERR) in hfi1_handle_kdeth_eflags() 2876 trace_input_ibhdr(rcd->dd, packet, !!(rhf_dc_info(packet->rhf))); in hfi1_handle_kdeth_eflags() 2901 if (packet->rhf & RHF_TID_ERR) { in hfi1_handle_kdeth_eflags() 2903 u32 tlen = rhf_pkt_len(packet->rhf); /* in bytes */ in hfi1_handle_kdeth_eflags()
|