Home
last modified time | relevance | path

Searched refs:sqp_ctx (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dmad.c1192 struct mlx4_ib_demux_pv_ctx *sqp_ctx; in mlx4_ib_send_to_wire() local
1204 sqp_ctx = dev->sriov.sqps[port-1]; in mlx4_ib_send_to_wire()
1207 if (!sqp_ctx || sqp_ctx->state != DEMUX_PV_STATE_ACTIVE) in mlx4_ib_send_to_wire()
1212 sqp = &sqp_ctx->qp[0]; in mlx4_ib_send_to_wire()
1216 sqp = &sqp_ctx->qp[1]; in mlx4_ib_send_to_wire()
1225 ah = ib_create_ah(sqp_ctx->pd, attr); in mlx4_ib_send_to_wire()
1260 list.lkey = sqp_ctx->pd->local_dma_lkey; in mlx4_ib_send_to_wire()
2044 static void mlx4_ib_free_sqp_ctx(struct mlx4_ib_demux_pv_ctx *sqp_ctx) in mlx4_ib_free_sqp_ctx() argument
2046 if (sqp_ctx->state > DEMUX_PV_STATE_DOWN) { in mlx4_ib_free_sqp_ctx()
2047 sqp_ctx->state = DEMUX_PV_STATE_DOWNING; in mlx4_ib_free_sqp_ctx()
[all …]