Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/mlx5/
H A Dgsi.c47 static void generate_completions(struct mlx5_ib_qp *mqp) in generate_completions() argument
49 struct mlx5_ib_gsi_qp *gsi = &mqp->gsi; in generate_completions()
50 struct ib_cq *gsi_cq = mqp->ibqp.send_cq; in generate_completions()
73 struct mlx5_ib_qp *mqp = container_of(gsi, struct mlx5_ib_qp, gsi); in handle_single_completion() local
82 wr->wc.qp = &mqp->ibqp; in handle_single_completion()
84 generate_completions(mqp); in handle_single_completion()
88 int mlx5_ib_create_gsi(struct ib_pd *pd, struct mlx5_ib_qp *mqp, in mlx5_ib_create_gsi() argument
106 gsi = &mqp->gsi; in mlx5_ib_create_gsi()
169 int mlx5_ib_destroy_gsi(struct mlx5_ib_qp *mqp) in mlx5_ib_destroy_gsi() argument
171 struct mlx5_ib_dev *dev = to_mdev(mqp->ibqp.device); in mlx5_ib_destroy_gsi()
[all …]
H A Dwr.c766 ctrl->qpn_ds = cpu_to_be32(size | (qp->trans_qp.base.mqp.qpn << 8)); in mlx5r_finish_wqe()
/linux/drivers/scsi/arm/
H A Dmsgqueue.c121 struct msgqueue_entry **mqp; in msgqueue_addmsg() local
133 mqp = &msgq->qe; in msgqueue_addmsg()
134 while (*mqp) in msgqueue_addmsg()
135 mqp = &(*mqp)->next; in msgqueue_addmsg()
137 *mqp = mq; in msgqueue_addmsg()
/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c85 struct mlx5_core_qp mqp; member
461 vqp->mqp.uid = ndev->mvdev.res.uid; in qp_create()
462 vqp->mqp.qpn = MLX5_GET(create_qp_out, out, qpn); in qp_create()
484 MLX5_SET(destroy_qp_in, in, qpn, vqp->mqp.qpn); in qp_destroy()
487 mlx5_vdpa_warn(&ndev->mvdev, "destroy qp 0x%x\n", vqp->mqp.qpn); in qp_destroy()
926 MLX5_SET(virtio_q, vq_ctx, event_qpn_or_msix, mvq->fwqp.mqp.qpn); in create_virtqueue()
1028 return fw ? mvq->vqqp.mqp.qpn : mvq->fwqp.mqp.qpn; in get_rqpn()
1033 return fw ? mvq->fwqp.mqp.qpn : mvq->vqqp.mqp.qpn; in get_qpn()