Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dcommon.h253 static inline u64 rhf_err_flags(u64 rhf) in rhf_err_flags() argument
255 return rhf & RHF_ERROR_SMASK; in rhf_err_flags()
258 static inline u32 rhf_rcv_type(u64 rhf) in rhf_rcv_type() argument
269 static inline u32 rhf_pkt_len(u64 rhf) in rhf_pkt_len() argument
274 static inline u32 rhf_egr_index(u64 rhf) in rhf_egr_index() argument
279 static inline u32 rhf_rcv_seq(u64 rhf) in rhf_rcv_seq() argument
285 static inline u32 rhf_hdrq_offset(u64 rhf) in rhf_hdrq_offset() argument
290 static inline u64 rhf_use_egr_bfr(u64 rhf) in rhf_use_egr_bfr() argument
292 return rhf & RHF_USE_EGR_BFR_SMASK; in rhf_use_egr_bfr()
295 static inline u64 rhf_dc_info(u64 rhf) in rhf_dc_info() argument
[all …]
H A Ddriver.c159 u32 idx = rhf_egr_index(rhf), offset = rhf_egr_buf_offset(rhf); in get_egrbuf()
218 if ((packet->rhf & RHF_DC_ERR) && in rcv_hdrerr()
222 if (packet->rhf & RHF_ICRC_ERR) in rcv_hdrerr()
241 if (packet->rhf & RHF_TID_ERR) { in rcv_hdrerr()
584 u64 rhf = rhf_to_cpu(rhf_addr); in __prescan_rxq() local
588 if (ps_done(&mdata, rhf, rcd)) in __prescan_rxq()
591 if (ps_skip(&mdata, rhf, rcd)) in __prescan_rxq()
1612 rcd->ctxt, packet->rhf, in show_eflags_errs()
1628 if (rhf_err_flags(packet->rhf)) in handle_eflags()
1770 packet->rhf & RHF_DC_ERR))) in process_receive_error()
[all …]
H A Dtrace_misc.h82 __entry->eflags = rhf_err_flags(packet->rhf);
87 __entry->etail = rhf_egr_index(packet->rhf);
H A Dtrace_rx.h37 __entry->eflags = rhf_err_flags(packet->rhf);
43 __entry->etail = rhf_egr_index(packet->rhf);
H 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()
1943 sc5 = hfi1_9B_get_sc5(hdr, packet->rhf); in hfi1_cnp_rcv()
H A Dhfi.h343 u64 rhf; member
1606 static inline int hfi1_9B_get_sc5(struct ib_header *hdr, u64 rhf) in hfi1_9B_get_sc5() argument
1608 return ib_get_sc(hdr) | ((!!(rhf_dc_info(rhf))) << 4); in hfi1_9B_get_sc5()
H 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()
/openbmc/linux/include/linux/
H A Drcupdate.h999 #define kfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) argument
1000 #define kvfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) argument
1022 #define kvfree_rcu_arg_2(ptr, rhf) \ argument
1027 BUILD_BUG_ON(!__is_kvfree_rcu_offset(offsetof(typeof(*(ptr)), rhf))); \
1028 kvfree_call_rcu(&((___p)->rhf), (void *) (___p)); \