Lines Matching refs:src_qp
157 ext_info->rqpn = cpu_to_be32(in_wc->src_qp); in mlx4_MAD_IFC()
464 struct ib_qp *src_qp = NULL; in mlx4_ib_send_to_slave() local
506 src_qp = tun_qp->qp; in mlx4_ib_send_to_slave()
545 tun_mad->hdr.flags_src_qp = cpu_to_be32(wc->src_qp & 0xFFFFFF); in mlx4_ib_send_to_slave()
568 ret = ib_post_send(src_qp, &wr, &bad_wr); in mlx4_ib_send_to_slave()
651 in_wc->slid, in_wc->src_qp, in ib_process_mad()
1189 if (wc->src_qp < dev->dev->phys_caps.base_proxy_sqpn || in mlx4_ib_multiplex_mad()
1190 wc->src_qp >= dev->dev->phys_caps.base_proxy_sqpn + 8 * MLX4_MFUNC_MAX || in mlx4_ib_multiplex_mad()
1191 (wc->src_qp & 0x1) != ctx->port - 1 || in mlx4_ib_multiplex_mad()
1192 wc->src_qp & 0x4) { in mlx4_ib_multiplex_mad()
1193 mlx4_ib_warn(ctx->ib_dev, "can't multiplex bad sqp:%d\n", wc->src_qp); in mlx4_ib_multiplex_mad()
1196 slave = ((wc->src_qp & ~0x7) - dev->dev->phys_caps.base_proxy_sqpn) / 8; in mlx4_ib_multiplex_mad()
1199 "belongs to another slave\n", wc->src_qp); in mlx4_ib_multiplex_mad()
1202 if (slave != mlx4_master_func_num(dev->dev) && !(wc->src_qp & 0x2)) { in mlx4_ib_multiplex_mad()
1204 "non-master trying to send QP0 packets\n", wc->src_qp); in mlx4_ib_multiplex_mad()
1271 is_proxy_qp0(dev, wc->src_qp, slave) ? in mlx4_ib_multiplex_mad()