Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx4/
H A Dmad.c1362 struct mlx4_ib_demux_pv_ctx *sqp_ctx; in mlx4_ib_send_to_wire() local
1372 sqp_ctx = dev->sriov.sqps[port-1]; in mlx4_ib_send_to_wire()
1375 if (!sqp_ctx || sqp_ctx->state != DEMUX_PV_STATE_ACTIVE) in mlx4_ib_send_to_wire()
1380 sqp = &sqp_ctx->qp[0]; in mlx4_ib_send_to_wire()
1384 sqp = &sqp_ctx->qp[1]; in mlx4_ib_send_to_wire()
1390 ah = rdma_zalloc_drv_obj(sqp_ctx->pd->device, ib_ah); in mlx4_ib_send_to_wire()
1394 ah->device = sqp_ctx->pd->device; in mlx4_ib_send_to_wire()
1395 ah->pd = sqp_ctx->pd; in mlx4_ib_send_to_wire()
1431 list.lkey = sqp_ctx->pd->local_dma_lkey; in mlx4_ib_send_to_wire()
2238 static void mlx4_ib_free_sqp_ctx(struct mlx4_ib_demux_pv_ctx *sqp_ctx) in mlx4_ib_free_sqp_ctx() argument
[all …]