Searched refs:tnl_init (Results 1 – 1 of 1) sorted by relevance
675 struct mlx4_ib_qp_tunnel_init_attr *tnl_init = in create_qp_common() local678 if ((tnl_init->proxy_qp_type != IB_QPT_SMI && in create_qp_common()679 tnl_init->proxy_qp_type != IB_QPT_GSI) || in create_qp_common()682 if (tnl_init->proxy_qp_type == IB_QPT_GSI) in create_qp_common()684 else if (tnl_init->slave == mlx4_master_func_num(dev->dev) || in create_qp_common()685 mlx4_vf_smi_enabled(dev->dev, tnl_init->slave, in create_qp_common()686 tnl_init->port)) in create_qp_common()692 qpn = dev->dev->phys_caps.base_tunnel_sqpn + 8 * tnl_init->slave in create_qp_common()693 + tnl_init->proxy_qp_type * 2 + tnl_init->port - 1; in create_qp_common()