Lines Matching refs:wr_id
596 wr.wr_id = ((u64) tun_tx_ix) | MLX4_TUN_SET_WRID_QPN(dest_qpt); in mlx4_ib_send_to_slave()
1135 recv_wr.wr_id = (u64) index | MLX4_TUN_WRID_RECV | in mlx4_ib_post_pv_qp_buf()
1249 wr.wr_id = ((u64) wire_tx_ix) | MLX4_TUN_SET_WRID_QPN(src_qpnum); in mlx4_ib_send_to_wire()
1284 struct mlx4_ib_demux_pv_qp *tun_qp = &ctx->qp[MLX4_TUN_WRID_QPN(wc->wr_id)]; in mlx4_ib_multiplex_mad()
1285 int wr_ix = wc->wr_id & (MLX4_NUM_TUNNEL_BUFS - 1); in mlx4_ib_multiplex_mad()
1532 tun_qp = &ctx->qp[MLX4_TUN_WRID_QPN(wc.wr_id)]; in mlx4_ib_tunnel_comp_worker()
1538 wc.wr_id & in mlx4_ib_tunnel_comp_worker()
1542 "buf:%lld\n", wc.wr_id); in mlx4_ib_tunnel_comp_worker()
1547 wc.wr_id, wc.status); in mlx4_ib_tunnel_comp_worker()
1548 ib_destroy_ah(tun_qp->tx_ring[wc.wr_id & in mlx4_ib_tunnel_comp_worker()
1550 tun_qp->tx_ring[wc.wr_id & (MLX4_NUM_TUNNEL_BUFS - 1)].ah in mlx4_ib_tunnel_comp_worker()
1563 ctx->slave, wc.status, wc.wr_id); in mlx4_ib_tunnel_comp_worker()
1564 if (!MLX4_TUN_IS_RECV(wc.wr_id)) { in mlx4_ib_tunnel_comp_worker()
1565 ib_destroy_ah(tun_qp->tx_ring[wc.wr_id & in mlx4_ib_tunnel_comp_worker()
1567 tun_qp->tx_ring[wc.wr_id & (MLX4_NUM_TUNNEL_BUFS - 1)].ah in mlx4_ib_tunnel_comp_worker()
1698 sqp = &ctx->qp[MLX4_TUN_WRID_QPN(wc.wr_id)]; in mlx4_ib_sqp_comp_worker()
1702 ib_destroy_ah(sqp->tx_ring[wc.wr_id & in mlx4_ib_sqp_comp_worker()
1704 sqp->tx_ring[wc.wr_id & (MLX4_NUM_TUNNEL_BUFS - 1)].ah in mlx4_ib_sqp_comp_worker()
1712 (sqp->ring[wc.wr_id & in mlx4_ib_sqp_comp_worker()
1715 (sqp->ring[wc.wr_id & in mlx4_ib_sqp_comp_worker()
1718 if (mlx4_ib_post_pv_qp_buf(ctx, sqp, wc.wr_id & in mlx4_ib_sqp_comp_worker()
1721 "buf:%lld\n", wc.wr_id); in mlx4_ib_sqp_comp_worker()
1730 ctx->slave, wc.status, wc.wr_id); in mlx4_ib_sqp_comp_worker()
1731 if (!MLX4_TUN_IS_RECV(wc.wr_id)) { in mlx4_ib_sqp_comp_worker()
1732 ib_destroy_ah(sqp->tx_ring[wc.wr_id & in mlx4_ib_sqp_comp_worker()
1734 sqp->tx_ring[wc.wr_id & (MLX4_NUM_TUNNEL_BUFS - 1)].ah in mlx4_ib_sqp_comp_worker()