Lines Matching refs:wr_id
591 wr.wr.wr_id = ((u64) tun_tx_ix) | MLX4_TUN_SET_WRID_QPN(dest_qpt); in mlx4_ib_send_to_slave()
1153 recv_wr.wr_id = (u64) index | MLX4_TUN_WRID_RECV | in mlx4_ib_post_pv_qp_buf()
1268 wr.wr.wr_id = ((u64) wire_tx_ix) | MLX4_TUN_SET_WRID_QPN(src_qpnum); in mlx4_ib_send_to_wire()
1306 struct mlx4_ib_demux_pv_qp *tun_qp = &ctx->qp[MLX4_TUN_WRID_QPN(wc->wr_id)]; in mlx4_ib_multiplex_mad()
1307 int wr_ix = wc->wr_id & (MLX4_NUM_TUNNEL_BUFS - 1); in mlx4_ib_multiplex_mad()
1558 tun_qp = &ctx->qp[MLX4_TUN_WRID_QPN(wc.wr_id)]; in mlx4_ib_tunnel_comp_worker()
1564 wc.wr_id & in mlx4_ib_tunnel_comp_worker()
1568 "buf:%lld\n", wc.wr_id); in mlx4_ib_tunnel_comp_worker()
1573 wc.wr_id, wc.status); in mlx4_ib_tunnel_comp_worker()
1574 ib_destroy_ah(tun_qp->tx_ring[wc.wr_id & in mlx4_ib_tunnel_comp_worker()
1576 tun_qp->tx_ring[wc.wr_id & (MLX4_NUM_TUNNEL_BUFS - 1)].ah in mlx4_ib_tunnel_comp_worker()
1589 ctx->slave, wc.status, wc.wr_id); in mlx4_ib_tunnel_comp_worker()
1590 if (!MLX4_TUN_IS_RECV(wc.wr_id)) { in mlx4_ib_tunnel_comp_worker()
1591 ib_destroy_ah(tun_qp->tx_ring[wc.wr_id & in mlx4_ib_tunnel_comp_worker()
1593 tun_qp->tx_ring[wc.wr_id & (MLX4_NUM_TUNNEL_BUFS - 1)].ah in mlx4_ib_tunnel_comp_worker()
1724 sqp = &ctx->qp[MLX4_TUN_WRID_QPN(wc.wr_id)]; in mlx4_ib_sqp_comp_worker()
1728 ib_destroy_ah(sqp->tx_ring[wc.wr_id & in mlx4_ib_sqp_comp_worker()
1730 sqp->tx_ring[wc.wr_id & (MLX4_NUM_TUNNEL_BUFS - 1)].ah in mlx4_ib_sqp_comp_worker()
1738 (sqp->ring[wc.wr_id & in mlx4_ib_sqp_comp_worker()
1741 (sqp->ring[wc.wr_id & in mlx4_ib_sqp_comp_worker()
1744 if (mlx4_ib_post_pv_qp_buf(ctx, sqp, wc.wr_id & in mlx4_ib_sqp_comp_worker()
1747 "buf:%lld\n", wc.wr_id); in mlx4_ib_sqp_comp_worker()
1756 ctx->slave, wc.status, wc.wr_id); in mlx4_ib_sqp_comp_worker()
1757 if (!MLX4_TUN_IS_RECV(wc.wr_id)) { in mlx4_ib_sqp_comp_worker()
1758 ib_destroy_ah(sqp->tx_ring[wc.wr_id & in mlx4_ib_sqp_comp_worker()
1760 sqp->tx_ring[wc.wr_id & (MLX4_NUM_TUNNEL_BUFS - 1)].ah in mlx4_ib_sqp_comp_worker()