Lines Matching refs:pri_path
4039 void *qpc, *pri_path, *alt_path; in __mlx5_ib_modify_qp() local
4106 pri_path = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in __mlx5_ib_modify_qp()
4110 MLX5_SET(ads, pri_path, pkey_index, attr->pkey_index); in __mlx5_ib_modify_qp()
4115 MLX5_SET(ads, pri_path, vhca_port_num, qp->port); in __mlx5_ib_modify_qp()
4118 MLX5_SET(ads, pri_path, vhca_port_num, attr->port_num); in __mlx5_ib_modify_qp()
4121 err = mlx5_set_path(dev, qp, &attr->ah_attr, pri_path, in __mlx5_ib_modify_qp()
4130 MLX5_SET(ads, pri_path, ack_timeout, attr->timeout); in __mlx5_ib_modify_qp()
4822 void *qpc, *pri_path, *alt_path; in query_qp_attr() local
4860 pri_path = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in query_qp_attr()
4865 to_rdma_ah_attr(dev, &qp_attr->ah_attr, pri_path); in query_qp_attr()
4871 qp_attr->pkey_index = MLX5_GET(ads, pri_path, pkey_index); in query_qp_attr()
4872 qp_attr->port_num = MLX5_GET(ads, pri_path, vhca_port_num); in query_qp_attr()
4873 qp_attr->timeout = MLX5_GET(ads, pri_path, ack_timeout); in query_qp_attr()