Lines Matching refs:ind

1485 			    int ind, const struct ib_ud_wr *wr,  in build_mlx_header()  argument
1541 ind * MTHCA_UD_HEADER_SIZE); in build_mlx_header()
1546 ind * MTHCA_UD_HEADER_SIZE); in build_mlx_header()
1629 int ind; in mthca_tavor_post_send() local
1636 ind = qp->sq.next_ind; in mthca_tavor_post_send()
1649 wqe = get_send_wqe(qp, ind); in mthca_tavor_post_send()
1723 err = build_mlx_header(dev, to_msqp(qp), ind, ud_wr(wr), in mthca_tavor_post_send()
1757 qp->wrid[ind + qp->rq.max] = wr->wr_id; in mthca_tavor_post_send()
1767 cpu_to_be32(((ind << qp->sq.wqe_shift) + in mthca_tavor_post_send()
1783 ++ind; in mthca_tavor_post_send()
1784 if (unlikely(ind >= qp->sq.max)) in mthca_tavor_post_send()
1785 ind -= qp->sq.max; in mthca_tavor_post_send()
1804 qp->sq.next_ind = ind; in mthca_tavor_post_send()
1829 int ind; in mthca_tavor_post_receive() local
1837 ind = qp->rq.next_ind; in mthca_tavor_post_receive()
1850 wqe = get_recv_wqe(qp, ind); in mthca_tavor_post_receive()
1873 qp->wrid[ind] = wr->wr_id; in mthca_tavor_post_receive()
1881 ++ind; in mthca_tavor_post_receive()
1882 if (unlikely(ind >= qp->rq.max)) in mthca_tavor_post_receive()
1883 ind -= qp->rq.max; in mthca_tavor_post_receive()
1895 qp->rq.next_ind = ind; in mthca_tavor_post_receive()
1909 qp->rq.next_ind = ind; in mthca_tavor_post_receive()
1944 int ind; in mthca_arbel_post_send() local
1951 ind = qp->sq.head & (qp->sq.max - 1); in mthca_arbel_post_send()
1990 wqe = get_send_wqe(qp, ind); in mthca_arbel_post_send()
2064 err = build_mlx_header(dev, to_msqp(qp), ind, ud_wr(wr), in mthca_arbel_post_send()
2098 qp->wrid[ind + qp->rq.max] = wr->wr_id; in mthca_arbel_post_send()
2108 cpu_to_be32(((ind << qp->sq.wqe_shift) + in mthca_arbel_post_send()
2124 ++ind; in mthca_arbel_post_send()
2125 if (unlikely(ind >= qp->sq.max)) in mthca_arbel_post_send()
2126 ind -= qp->sq.max; in mthca_arbel_post_send()
2170 int ind; in mthca_arbel_post_receive() local
2178 ind = qp->rq.head & (qp->rq.max - 1); in mthca_arbel_post_receive()
2191 wqe = get_recv_wqe(qp, ind); in mthca_arbel_post_receive()
2211 qp->wrid[ind] = wr->wr_id; in mthca_arbel_post_receive()
2213 ++ind; in mthca_arbel_post_receive()
2214 if (unlikely(ind >= qp->rq.max)) in mthca_arbel_post_receive()
2215 ind -= qp->rq.max; in mthca_arbel_post_receive()