Lines Matching refs:sqp

1365 	struct mlx4_ib_demux_pv_qp *sqp;
1382 sqp = &sqp_ctx->qp[0];
1386 sqp = &sqp_ctx->qp[1];
1390 send_qp = sqp->qp;
1406 spin_lock(&sqp->tx_lock);
1407 if (sqp->tx_ix_head - sqp->tx_ix_tail >=
1411 wire_tx_ix = (++sqp->tx_ix_head) & (MLX4_NUM_WIRE_BUFS - 1);
1412 spin_unlock(&sqp->tx_lock);
1416 sqp_mad = (struct mlx4_mad_snd_buf *) (sqp->tx_ring[wire_tx_ix].buf.addr);
1417 kfree(sqp->tx_ring[wire_tx_ix].ah);
1418 sqp->tx_ring[wire_tx_ix].ah = ah;
1420 sqp->tx_ring[wire_tx_ix].buf.map,
1427 sqp->tx_ring[wire_tx_ix].buf.map,
1431 list.addr = sqp->tx_ring[wire_tx_ix].buf.map;
1451 spin_lock(&sqp->tx_lock);
1452 sqp->tx_ix_tail++;
1453 spin_unlock(&sqp->tx_lock);
1454 sqp->tx_ring[wire_tx_ix].ah = NULL;
1498 mlx4_ib_warn(ctx->ib_dev, "can't multiplex bad sqp:%d\n", wc->src_qp);
1503 mlx4_ib_warn(ctx->ib_dev, "can't multiplex bad sqp:%d: "
1790 struct mlx4_ib_demux_pv_ctx *sqp = qp_context;
1794 event->event, sqp->port);
1901 struct mlx4_ib_demux_pv_qp *sqp;
1910 sqp = &ctx->qp[MLX4_TUN_WRID_QPN(wc.wr_id)];
1914 kfree(sqp->tx_ring[wc.wr_id &
1916 sqp->tx_ring[wc.wr_id & (MLX4_NUM_WIRE_BUFS - 1)].ah
1918 spin_lock(&sqp->tx_lock);
1919 sqp->tx_ix_tail++;
1920 spin_unlock(&sqp->tx_lock);
1924 (sqp->ring[wc.wr_id &
1927 (sqp->ring[wc.wr_id &
1930 if (mlx4_ib_post_pv_qp_buf(ctx, sqp, wc.wr_id &
1943 kfree(sqp->tx_ring[wc.wr_id &
1945 sqp->tx_ring[wc.wr_id & (MLX4_NUM_WIRE_BUFS - 1)].ah
1947 spin_lock(&sqp->tx_lock);
1948 sqp->tx_ix_tail++;
1949 spin_unlock(&sqp->tx_lock);
2125 /* for master, destroy real sqp resources */
2139 /* for master, create the real sqp resources */