Searched refs:mqp (Results 1 – 5 of 5) sorted by relevance
| /NextBSD/sys/ofed/drivers/infiniband/hw/mlx4/ |
| HD | mlx4_exp.c | 82 struct mlx4_ib_qp *mqp; in mlx4_ib_exp_create_qp() local 110 mqp = to_mqp(qp); in mlx4_ib_exp_create_qp() 111 mqp->max_inlr_data = 1 << mqp->rq.wqe_shift; in mlx4_ib_exp_create_qp() 112 init_attr->max_inl_recv = mqp->max_inlr_data; in mlx4_ib_exp_create_qp()
|
| HD | main.c | 985 struct mlx4_ib_qp *mqp = to_mqp(ibqp); in add_gid_entry() local 994 if (mlx4_ib_add_mc(mdev, mqp, gid)) { in add_gid_entry() 995 ge->port = mqp->port; in add_gid_entry() 999 mutex_lock(&mqp->mutex); in add_gid_entry() 1000 list_add_tail(&ge->list, &mqp->gid_list); in add_gid_entry() 1001 mutex_unlock(&mqp->mutex); in add_gid_entry() 1006 int mlx4_ib_add_mc(struct mlx4_ib_dev *mdev, struct mlx4_ib_qp *mqp, in mlx4_ib_add_mc() argument 1013 if (!mqp->port) in mlx4_ib_add_mc() 1017 ndev = mdev->iboe.netdevs[mqp->port - 1]; in mlx4_ib_add_mc() 1025 dev_mc_add(mdev->iboe.netdevs[mqp->port - 1], mac, 6, 0); in mlx4_ib_add_mc() [all …]
|
| HD | qp.c | 128 static struct mlx4_ib_sqp *to_msqp(struct mlx4_ib_qp *mqp) in to_msqp() argument 130 return container_of(mqp, struct mlx4_ib_sqp, qp); in to_msqp() 138 return qp->mqp.qpn >= dev->dev->phys_caps.base_tunnel_sqpn && in is_tunnel_qp() 139 qp->mqp.qpn < dev->dev->phys_caps.base_tunnel_sqpn + in is_tunnel_qp() 150 qp->mqp.qpn >= dev->dev->phys_caps.base_sqpn && in is_sqp() 151 qp->mqp.qpn <= dev->dev->phys_caps.base_sqpn + 3); in is_sqp() 157 if (qp->mqp.qpn == dev->dev->caps.qp0_proxy[i] || in is_sqp() 158 qp->mqp.qpn == dev->dev->caps.qp1_proxy[i]) { in is_sqp() 175 qp->mqp.qpn >= dev->dev->phys_caps.base_sqpn && in is_qp0() 176 qp->mqp.qpn <= dev->dev->phys_caps.base_sqpn + 1); in is_qp0() [all …]
|
| HD | mlx4_ib.h | 303 struct mlx4_qp mqp; member 658 static inline struct mlx4_ib_qp *to_mibqp(struct mlx4_qp *mqp) in to_mibqp() argument 660 return container_of(mqp, struct mlx4_ib_qp, mqp); in to_mibqp() 807 int mlx4_ib_add_mc(struct mlx4_ib_dev *mdev, struct mlx4_ib_qp *mqp, 860 int mlx4_ib_steer_qp_reg(struct mlx4_ib_dev *mdev, struct mlx4_ib_qp *mqp,
|
| HD | cq.c | 659 struct mlx4_qp *mqp; in mlx4_ib_poll_one() local 714 (be32_to_cpu(cqe->vlan_my_qpn) & MLX4_CQE_QPN_MASK) != (*cur_qp)->mqp.qpn) { in mlx4_ib_poll_one() 720 mqp = __mlx4_qp_lookup(to_mdev(cq->ibcq.device)->dev, in mlx4_ib_poll_one() 722 if (unlikely(!mqp)) { in mlx4_ib_poll_one() 728 *cur_qp = to_mibqp(mqp); in mlx4_ib_poll_one()
|