Searched refs:to_seg (Results 1 – 1 of 1) sorted by relevance
3414 static u32 hfi1_compute_tid_rnr_timeout(struct rvt_qp *qp, u32 to_seg) in hfi1_compute_tid_rnr_timeout() argument3422 timeout = (to_seg * TID_RDMA_MAX_SEGMENT_SIZE) / bytes_per_us; in hfi1_compute_tid_rnr_timeout()3459 u32 npkts, to_seg; in hfi1_tid_write_alloc_resources() local3523 to_seg = hfi1_compute_tid_rdma_flow_wt(qp) * in hfi1_tid_write_alloc_resources()3551 to_seg = MAX_FLOWS >> 1; in hfi1_tid_write_alloc_resources()3559 to_seg = position_in_queue(qpriv, &rcd->rarr_queue); in hfi1_tid_write_alloc_resources()3587 qp->r_nak_state = hfi1_compute_tid_rnr_timeout(qp, to_seg) | IB_RNR_NAK; in hfi1_tid_write_alloc_resources()