Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hfi1/
A Dcommon.h308 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
324 static inline u32 rhf_pkt_len(u64 rhf) in rhf_pkt_len() argument
329 static inline u32 rhf_egr_index(u64 rhf) in rhf_egr_index() argument
334 static inline u32 rhf_rcv_seq(u64 rhf) in rhf_rcv_seq() argument
340 static inline u32 rhf_hdrq_offset(u64 rhf) in rhf_hdrq_offset() argument
345 static inline u64 rhf_use_egr_bfr(u64 rhf) in rhf_use_egr_bfr() argument
347 return rhf & RHF_USE_EGR_BFR_SMASK; in rhf_use_egr_bfr()
350 static inline u64 rhf_dc_info(u64 rhf) in rhf_dc_info() argument
[all …]
A Ddriver.c165 u32 idx = rhf_egr_index(rhf), offset = rhf_egr_buf_offset(rhf); in get_egrbuf()
224 if ((packet->rhf & RHF_DC_ERR) && in rcv_hdrerr()
228 if (packet->rhf & RHF_ICRC_ERR) in rcv_hdrerr()
247 if (packet->rhf & RHF_TID_ERR) { in rcv_hdrerr()
590 u64 rhf = rhf_to_cpu(rhf_addr); in __prescan_rxq() local
594 if (ps_done(&mdata, rhf, rcd)) in __prescan_rxq()
597 if (ps_skip(&mdata, rhf, rcd)) in __prescan_rxq()
1618 rcd->ctxt, packet->rhf, in show_eflags_errs()
1634 if (rhf_err_flags(packet->rhf)) in handle_eflags()
1776 packet->rhf & RHF_DC_ERR))) in process_receive_error()
[all …]
A Dtrace_misc.h82 __entry->eflags = rhf_err_flags(packet->rhf);
87 __entry->etail = rhf_egr_index(packet->rhf);
A Dtrace_rx.h37 __entry->eflags = rhf_err_flags(packet->rhf);
43 __entry->etail = rhf_egr_index(packet->rhf);
A Dverbs.c350 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()
1963 sc5 = hfi1_9B_get_sc5(hdr, packet->rhf); in hfi1_cnp_rcv()
A Dhfi.h343 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()
A Dtid_rdma.c2852 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()
/linux/include/linux/
A Drcupdate.h900 #define kfree_rcu(ptr, rhf...) kvfree_rcu(ptr, ## rhf) argument
932 #define kvfree_rcu_arg_2(ptr, rhf) \ argument
937 BUILD_BUG_ON(!__is_kvfree_rcu_offset(offsetof(typeof(*(ptr)), rhf))); \
938 kvfree_call_rcu(&((___p)->rhf), (rcu_callback_t)(unsigned long) \
939 (offsetof(typeof(*(ptr)), rhf))); \

Completed in 35 milliseconds