Lines Matching refs:ind
1479 int ind, struct ib_ud_wr *wr, in build_mlx_header() argument
1535 ind * MTHCA_UD_HEADER_SIZE); in build_mlx_header()
1540 ind * MTHCA_UD_HEADER_SIZE); in build_mlx_header()
1623 int ind; in mthca_tavor_post_send() local
1630 ind = qp->sq.next_ind; in mthca_tavor_post_send()
1643 wqe = get_send_wqe(qp, ind); in mthca_tavor_post_send()
1717 err = build_mlx_header(dev, to_msqp(qp), ind, ud_wr(wr), in mthca_tavor_post_send()
1751 qp->wrid[ind + qp->rq.max] = wr->wr_id; in mthca_tavor_post_send()
1761 cpu_to_be32(((ind << qp->sq.wqe_shift) + in mthca_tavor_post_send()
1777 ++ind; in mthca_tavor_post_send()
1778 if (unlikely(ind >= qp->sq.max)) in mthca_tavor_post_send()
1779 ind -= qp->sq.max; in mthca_tavor_post_send()
1798 qp->sq.next_ind = ind; in mthca_tavor_post_send()
1823 int ind; in mthca_tavor_post_receive() local
1831 ind = qp->rq.next_ind; in mthca_tavor_post_receive()
1844 wqe = get_recv_wqe(qp, ind); in mthca_tavor_post_receive()
1867 qp->wrid[ind] = wr->wr_id; in mthca_tavor_post_receive()
1875 ++ind; in mthca_tavor_post_receive()
1876 if (unlikely(ind >= qp->rq.max)) in mthca_tavor_post_receive()
1877 ind -= qp->rq.max; in mthca_tavor_post_receive()
1889 qp->rq.next_ind = ind; in mthca_tavor_post_receive()
1903 qp->rq.next_ind = ind; in mthca_tavor_post_receive()
1938 int ind; in mthca_arbel_post_send() local
1945 ind = qp->sq.head & (qp->sq.max - 1); in mthca_arbel_post_send()
1984 wqe = get_send_wqe(qp, ind); in mthca_arbel_post_send()
2058 err = build_mlx_header(dev, to_msqp(qp), ind, ud_wr(wr), in mthca_arbel_post_send()
2092 qp->wrid[ind + qp->rq.max] = wr->wr_id; in mthca_arbel_post_send()
2102 cpu_to_be32(((ind << qp->sq.wqe_shift) + in mthca_arbel_post_send()
2118 ++ind; in mthca_arbel_post_send()
2119 if (unlikely(ind >= qp->sq.max)) in mthca_arbel_post_send()
2120 ind -= qp->sq.max; in mthca_arbel_post_send()
2164 int ind; in mthca_arbel_post_receive() local
2172 ind = qp->rq.head & (qp->rq.max - 1); in mthca_arbel_post_receive()
2185 wqe = get_recv_wqe(qp, ind); in mthca_arbel_post_receive()
2205 qp->wrid[ind] = wr->wr_id; in mthca_arbel_post_receive()
2207 ++ind; in mthca_arbel_post_receive()
2208 if (unlikely(ind >= qp->rq.max)) in mthca_arbel_post_receive()
2209 ind -= qp->rq.max; in mthca_arbel_post_receive()