Lines Matching refs:ind
1476 int ind, const struct ib_ud_wr *wr, in build_mlx_header() argument
1532 ind * MTHCA_UD_HEADER_SIZE); in build_mlx_header()
1537 ind * MTHCA_UD_HEADER_SIZE); in build_mlx_header()
1620 int ind; in mthca_tavor_post_send() local
1627 ind = qp->sq.next_ind; in mthca_tavor_post_send()
1640 wqe = get_send_wqe(qp, ind); in mthca_tavor_post_send()
1714 err = build_mlx_header(dev, to_msqp(qp), ind, ud_wr(wr), in mthca_tavor_post_send()
1748 qp->wrid[ind + qp->rq.max] = wr->wr_id; in mthca_tavor_post_send()
1758 cpu_to_be32(((ind << qp->sq.wqe_shift) + in mthca_tavor_post_send()
1774 ++ind; in mthca_tavor_post_send()
1775 if (unlikely(ind >= qp->sq.max)) in mthca_tavor_post_send()
1776 ind -= qp->sq.max; in mthca_tavor_post_send()
1795 qp->sq.next_ind = ind; in mthca_tavor_post_send()
1820 int ind; in mthca_tavor_post_receive() local
1828 ind = qp->rq.next_ind; in mthca_tavor_post_receive()
1841 wqe = get_recv_wqe(qp, ind); in mthca_tavor_post_receive()
1864 qp->wrid[ind] = wr->wr_id; in mthca_tavor_post_receive()
1872 ++ind; in mthca_tavor_post_receive()
1873 if (unlikely(ind >= qp->rq.max)) in mthca_tavor_post_receive()
1874 ind -= qp->rq.max; in mthca_tavor_post_receive()
1886 qp->rq.next_ind = ind; in mthca_tavor_post_receive()
1900 qp->rq.next_ind = ind; in mthca_tavor_post_receive()
1935 int ind; in mthca_arbel_post_send() local
1942 ind = qp->sq.head & (qp->sq.max - 1); in mthca_arbel_post_send()
1981 wqe = get_send_wqe(qp, ind); in mthca_arbel_post_send()
2055 err = build_mlx_header(dev, to_msqp(qp), ind, ud_wr(wr), in mthca_arbel_post_send()
2089 qp->wrid[ind + qp->rq.max] = wr->wr_id; in mthca_arbel_post_send()
2099 cpu_to_be32(((ind << qp->sq.wqe_shift) + in mthca_arbel_post_send()
2115 ++ind; in mthca_arbel_post_send()
2116 if (unlikely(ind >= qp->sq.max)) in mthca_arbel_post_send()
2117 ind -= qp->sq.max; in mthca_arbel_post_send()
2161 int ind; in mthca_arbel_post_receive() local
2169 ind = qp->rq.head & (qp->rq.max - 1); in mthca_arbel_post_receive()
2182 wqe = get_recv_wqe(qp, ind); in mthca_arbel_post_receive()
2202 qp->wrid[ind] = wr->wr_id; in mthca_arbel_post_receive()
2204 ++ind; in mthca_arbel_post_receive()
2205 if (unlikely(ind >= qp->rq.max)) in mthca_arbel_post_receive()
2206 ind -= qp->rq.max; in mthca_arbel_post_receive()