Lines Matching refs:wr_id

663 	wr.wr.wr_id = ((u64) tun_tx_ix) | MLX4_TUN_SET_WRID_QPN(dest_qpt);  in mlx4_ib_send_to_slave()
1333 recv_wr.wr_id = (u64) index | MLX4_TUN_WRID_RECV | in mlx4_ib_post_pv_qp_buf()
1441 wr.wr.wr_id = ((u64) wire_tx_ix) | MLX4_TUN_SET_WRID_QPN(src_qpnum); in mlx4_ib_send_to_wire()
1480 struct mlx4_ib_demux_pv_qp *tun_qp = &ctx->qp[MLX4_TUN_WRID_QPN(wc->wr_id)]; in mlx4_ib_multiplex_mad()
1481 int wr_ix = wc->wr_id & (MLX4_NUM_TUNNEL_BUFS - 1); in mlx4_ib_multiplex_mad()
1746 tun_qp = &ctx->qp[MLX4_TUN_WRID_QPN(wc.wr_id)]; in mlx4_ib_tunnel_comp_worker()
1752 wc.wr_id & in mlx4_ib_tunnel_comp_worker()
1756 "buf:%lld\n", wc.wr_id); in mlx4_ib_tunnel_comp_worker()
1759 rdma_destroy_ah(tun_qp->tx_ring[wc.wr_id & in mlx4_ib_tunnel_comp_worker()
1761 tun_qp->tx_ring[wc.wr_id & (MLX4_NUM_TUNNEL_BUFS - 1)].ah in mlx4_ib_tunnel_comp_worker()
1774 ctx->slave, wc.status, wc.wr_id); in mlx4_ib_tunnel_comp_worker()
1775 if (!MLX4_TUN_IS_RECV(wc.wr_id)) { in mlx4_ib_tunnel_comp_worker()
1776 rdma_destroy_ah(tun_qp->tx_ring[wc.wr_id & in mlx4_ib_tunnel_comp_worker()
1778 tun_qp->tx_ring[wc.wr_id & (MLX4_NUM_TUNNEL_BUFS - 1)].ah in mlx4_ib_tunnel_comp_worker()
1910 sqp = &ctx->qp[MLX4_TUN_WRID_QPN(wc.wr_id)]; in mlx4_ib_sqp_comp_worker()
1914 kfree(sqp->tx_ring[wc.wr_id & in mlx4_ib_sqp_comp_worker()
1916 sqp->tx_ring[wc.wr_id & (MLX4_NUM_WIRE_BUFS - 1)].ah in mlx4_ib_sqp_comp_worker()
1924 (sqp->ring[wc.wr_id & in mlx4_ib_sqp_comp_worker()
1927 (sqp->ring[wc.wr_id & in mlx4_ib_sqp_comp_worker()
1930 if (mlx4_ib_post_pv_qp_buf(ctx, sqp, wc.wr_id & in mlx4_ib_sqp_comp_worker()
1933 "buf:%lld\n", wc.wr_id); in mlx4_ib_sqp_comp_worker()
1941 ctx->slave, wc.status, wc.wr_id); in mlx4_ib_sqp_comp_worker()
1942 if (!MLX4_TUN_IS_RECV(wc.wr_id)) { in mlx4_ib_sqp_comp_worker()
1943 kfree(sqp->tx_ring[wc.wr_id & in mlx4_ib_sqp_comp_worker()
1945 sqp->tx_ring[wc.wr_id & (MLX4_NUM_WIRE_BUFS - 1)].ah in mlx4_ib_sqp_comp_worker()