Lines Matching refs:ads
3502 MLX5_SET(ads, path, udp_sport, rdma_flow_label_to_udp_sport(fl)); in mlx5_set_path_udp_sport()
3517 MLX5_SET(ads, path, pkey_index, in mlx5_set_path()
3536 ether_addr_copy(MLX5_ADDR_OF(ads, path, rmac_47_32), in mlx5_set_path()
3547 MLX5_SET(ads, path, eth_prio, sl & 0x7); in mlx5_set_path()
3550 MLX5_SET(ads, path, dscp, grh->traffic_class >> 2); in mlx5_set_path()
3552 MLX5_SET(ads, path, fl, !!(path_flags & MLX5_PATH_FLAG_FL)); in mlx5_set_path()
3553 MLX5_SET(ads, path, free_ar, in mlx5_set_path()
3555 MLX5_SET(ads, path, rlid, rdma_ah_get_dlid(ah)); in mlx5_set_path()
3556 MLX5_SET(ads, path, mlid, rdma_ah_get_path_bits(ah)); in mlx5_set_path()
3557 MLX5_SET(ads, path, grh, !!(ah_flags & IB_AH_GRH)); in mlx5_set_path()
3558 MLX5_SET(ads, path, sl, sl); in mlx5_set_path()
3562 MLX5_SET(ads, path, src_addr_index, grh->sgid_index); in mlx5_set_path()
3563 MLX5_SET(ads, path, hop_limit, grh->hop_limit); in mlx5_set_path()
3564 MLX5_SET(ads, path, tclass, grh->traffic_class); in mlx5_set_path()
3565 MLX5_SET(ads, path, flow_label, grh->flow_label); in mlx5_set_path()
3566 memcpy(MLX5_ADDR_OF(ads, path, rgid_rip), grh->dgid.raw, in mlx5_set_path()
3573 MLX5_SET(ads, path, stat_rate, err); in mlx5_set_path()
3574 MLX5_SET(ads, path, vhca_port_num, port); in mlx5_set_path()
3577 MLX5_SET(ads, path, ack_timeout, in mlx5_set_path()
4187 MLX5_SET(ads, pri_path, pkey_index, attr->pkey_index); in __mlx5_ib_modify_qp()
4192 MLX5_SET(ads, pri_path, vhca_port_num, qp->port); in __mlx5_ib_modify_qp()
4195 MLX5_SET(ads, pri_path, vhca_port_num, attr->port_num); in __mlx5_ib_modify_qp()
4207 MLX5_SET(ads, pri_path, ack_timeout, attr->timeout); in __mlx5_ib_modify_qp()
4753 int port = MLX5_GET(ads, path, vhca_port_num); in to_rdma_ah_attr()
4764 rdma_ah_set_sl(ah_attr, MLX5_GET(ads, path, sl)); in to_rdma_ah_attr()
4766 rdma_ah_set_dlid(ah_attr, MLX5_GET(ads, path, rlid)); in to_rdma_ah_attr()
4767 rdma_ah_set_path_bits(ah_attr, MLX5_GET(ads, path, mlid)); in to_rdma_ah_attr()
4769 static_rate = MLX5_GET(ads, path, stat_rate); in to_rdma_ah_attr()
4771 if (MLX5_GET(ads, path, grh) || in to_rdma_ah_attr()
4773 rdma_ah_set_grh(ah_attr, NULL, MLX5_GET(ads, path, flow_label), in to_rdma_ah_attr()
4774 MLX5_GET(ads, path, src_addr_index), in to_rdma_ah_attr()
4775 MLX5_GET(ads, path, hop_limit), in to_rdma_ah_attr()
4776 MLX5_GET(ads, path, tclass)); in to_rdma_ah_attr()
4777 rdma_ah_set_dgid_raw(ah_attr, MLX5_ADDR_OF(ads, path, rgid_rip)); in to_rdma_ah_attr()
4945 qp_attr->alt_pkey_index = MLX5_GET(ads, alt_path, pkey_index); in query_qp_attr()
4946 qp_attr->alt_port_num = MLX5_GET(ads, alt_path, vhca_port_num); in query_qp_attr()
4949 qp_attr->pkey_index = MLX5_GET(ads, pri_path, pkey_index); in query_qp_attr()
4950 qp_attr->port_num = MLX5_GET(ads, pri_path, vhca_port_num); in query_qp_attr()
4951 qp_attr->timeout = MLX5_GET(ads, pri_path, ack_timeout); in query_qp_attr()
4952 qp_attr->alt_timeout = MLX5_GET(ads, alt_path, ack_timeout); in query_qp_attr()