Lines Matching refs:ind
1500 int ind, const struct ib_ud_wr *wr, in build_mlx_header() argument
1556 ind * MTHCA_UD_HEADER_SIZE); in build_mlx_header()
1561 ind * MTHCA_UD_HEADER_SIZE); in build_mlx_header()
1644 int ind; in mthca_tavor_post_send() local
1651 ind = qp->sq.next_ind; in mthca_tavor_post_send()
1664 wqe = get_send_wqe(qp, ind); in mthca_tavor_post_send()
1738 err = build_mlx_header(dev, to_msqp(qp), ind, ud_wr(wr), in mthca_tavor_post_send()
1772 qp->wrid[ind + qp->rq.max] = wr->wr_id; in mthca_tavor_post_send()
1782 cpu_to_be32(((ind << qp->sq.wqe_shift) + in mthca_tavor_post_send()
1798 ++ind; in mthca_tavor_post_send()
1799 if (unlikely(ind >= qp->sq.max)) in mthca_tavor_post_send()
1800 ind -= qp->sq.max; in mthca_tavor_post_send()
1814 qp->sq.next_ind = ind; in mthca_tavor_post_send()
1839 int ind; in mthca_tavor_post_receive() local
1847 ind = qp->rq.next_ind; in mthca_tavor_post_receive()
1860 wqe = get_recv_wqe(qp, ind); in mthca_tavor_post_receive()
1883 qp->wrid[ind] = wr->wr_id; in mthca_tavor_post_receive()
1891 ++ind; in mthca_tavor_post_receive()
1892 if (unlikely(ind >= qp->rq.max)) in mthca_tavor_post_receive()
1893 ind -= qp->rq.max; in mthca_tavor_post_receive()
1905 qp->rq.next_ind = ind; in mthca_tavor_post_receive()
1919 qp->rq.next_ind = ind; in mthca_tavor_post_receive()
1948 int ind; in mthca_arbel_post_send() local
1955 ind = qp->sq.head & (qp->sq.max - 1); in mthca_arbel_post_send()
1994 wqe = get_send_wqe(qp, ind); in mthca_arbel_post_send()
2068 err = build_mlx_header(dev, to_msqp(qp), ind, ud_wr(wr), in mthca_arbel_post_send()
2102 qp->wrid[ind + qp->rq.max] = wr->wr_id; in mthca_arbel_post_send()
2112 cpu_to_be32(((ind << qp->sq.wqe_shift) + in mthca_arbel_post_send()
2128 ++ind; in mthca_arbel_post_send()
2129 if (unlikely(ind >= qp->sq.max)) in mthca_arbel_post_send()
2130 ind -= qp->sq.max; in mthca_arbel_post_send()
2168 int ind; in mthca_arbel_post_receive() local
2176 ind = qp->rq.head & (qp->rq.max - 1); in mthca_arbel_post_receive()
2189 wqe = get_recv_wqe(qp, ind); in mthca_arbel_post_receive()
2209 qp->wrid[ind] = wr->wr_id; in mthca_arbel_post_receive()
2211 ++ind; in mthca_arbel_post_receive()
2212 if (unlikely(ind >= qp->rq.max)) in mthca_arbel_post_receive()
2213 ind -= qp->rq.max; in mthca_arbel_post_receive()