Lines Matching refs:pri_path
4154 void *qpc, *pri_path, *alt_path; in __mlx5_ib_modify_qp() local
4221 pri_path = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in __mlx5_ib_modify_qp()
4225 MLX5_SET(ads, pri_path, pkey_index, attr->pkey_index); in __mlx5_ib_modify_qp()
4230 MLX5_SET(ads, pri_path, vhca_port_num, qp->port); in __mlx5_ib_modify_qp()
4233 MLX5_SET(ads, pri_path, vhca_port_num, attr->port_num); in __mlx5_ib_modify_qp()
4236 err = mlx5_set_path(dev, qp, &attr->ah_attr, pri_path, in __mlx5_ib_modify_qp()
4245 MLX5_SET(ads, pri_path, ack_timeout, attr->timeout); in __mlx5_ib_modify_qp()
4937 void *qpc, *pri_path, *alt_path; in query_qp_attr() local
4976 pri_path = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in query_qp_attr()
4981 to_rdma_ah_attr(dev, &qp_attr->ah_attr, pri_path); in query_qp_attr()
4987 qp_attr->pkey_index = MLX5_GET(ads, pri_path, pkey_index); in query_qp_attr()
4988 qp_attr->port_num = MLX5_GET(ads, pri_path, vhca_port_num); in query_qp_attr()
4989 qp_attr->timeout = MLX5_GET(ads, pri_path, ack_timeout); in query_qp_attr()