Searched refs:to_seg (Results 1 – 1 of 1) sorted by relevance
3426 static u32 hfi1_compute_tid_rnr_timeout(struct rvt_qp *qp, u32 to_seg) in hfi1_compute_tid_rnr_timeout() argument3434 timeout = (to_seg * TID_RDMA_MAX_SEGMENT_SIZE) / bytes_per_us; in hfi1_compute_tid_rnr_timeout()3471 u32 npkts, to_seg; in hfi1_tid_write_alloc_resources() local3535 to_seg = hfi1_compute_tid_rdma_flow_wt(qp) * in hfi1_tid_write_alloc_resources()3563 to_seg = MAX_FLOWS >> 1; in hfi1_tid_write_alloc_resources()3571 to_seg = position_in_queue(qpriv, &rcd->rarr_queue); in hfi1_tid_write_alloc_resources()3599 qp->r_nak_state = hfi1_compute_tid_rnr_timeout(qp, to_seg) | IB_RNR_NAK; in hfi1_tid_write_alloc_resources()