Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/mlx4/
Dqp.c1023 struct mlx4_ib_qp_tunnel_init_attr *tnl_init = in create_qp_common() local
1026 if ((tnl_init->proxy_qp_type != IB_QPT_SMI && in create_qp_common()
1027 tnl_init->proxy_qp_type != IB_QPT_GSI) || in create_qp_common()
1030 if (tnl_init->proxy_qp_type == IB_QPT_GSI) in create_qp_common()
1032 else if (tnl_init->slave == mlx4_master_func_num(dev->dev) || in create_qp_common()
1033 mlx4_vf_smi_enabled(dev->dev, tnl_init->slave, in create_qp_common()
1034 tnl_init->port)) in create_qp_common()
1040 qpn = dev->dev->phys_caps.base_tunnel_sqpn + 8 * tnl_init->slave in create_qp_common()
1041 + tnl_init->proxy_qp_type * 2 + tnl_init->port - 1; in create_qp_common()