Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_trace.h158 __entry->region0_hopnum = attr->region[0].hopnum;
160 __entry->region1_hopnum = attr->region[1].hopnum;
162 __entry->region2_hopnum = attr->region[2].hopnum;
H A Dhns_roce_device.h273 int hopnum; /* addressing hop num */ member
294 int hopnum; /* multi-hop addressing hop num */ member
1139 static inline u32 to_hr_hem_hopnum(u32 hopnum, u32 count) in to_hr_hem_hopnum() argument
1142 return hopnum == HNS_ROCE_HOP_NUM_0 ? 0 : hopnum; in to_hr_hem_hopnum()
H A Dhns_roce_srq.c178 buf_attr.region[0].hopnum = hr_dev->caps.idx_hop_num; in alloc_srq_idx()
233 buf_attr.region[0].hopnum = hr_dev->caps.srqwqe_hop_num; in alloc_srq_wqe_buf()
H A Dhns_roce_qp.c683 buf_attr->region[idx].hopnum = hr_dev->caps.wqe_sq_hop_num; in set_wqe_buf_attr()
694 buf_attr->region[idx].hopnum = hr_dev->caps.wqe_sge_hop_num; in set_wqe_buf_attr()
705 buf_attr->region[idx].hopnum = hr_dev->caps.wqe_rq_hop_num; in set_wqe_buf_attr()
H A Dhns_roce_cq.c259 buf_attr.region[0].hopnum = hr_dev->caps.cqe_hop_num; in alloc_cq_buf()
H A Dhns_roce_hw_v2.c6721 buf_attr.region[0].hopnum = eq->hop_num; in alloc_eq_buf()