Lines Matching refs:ads
3195 MLX5_SET(ads, path, udp_sport, rdma_flow_label_to_udp_sport(fl)); in mlx5_set_path_udp_sport()
3210 MLX5_SET(ads, path, pkey_index, in mlx5_set_path()
3227 ether_addr_copy(MLX5_ADDR_OF(ads, path, rmac_47_32), in mlx5_set_path()
3238 MLX5_SET(ads, path, eth_prio, sl & 0x7); in mlx5_set_path()
3241 MLX5_SET(ads, path, dscp, grh->traffic_class >> 2); in mlx5_set_path()
3243 MLX5_SET(ads, path, fl, !!(path_flags & MLX5_PATH_FLAG_FL)); in mlx5_set_path()
3244 MLX5_SET(ads, path, free_ar, in mlx5_set_path()
3246 MLX5_SET(ads, path, rlid, rdma_ah_get_dlid(ah)); in mlx5_set_path()
3247 MLX5_SET(ads, path, mlid, rdma_ah_get_path_bits(ah)); in mlx5_set_path()
3248 MLX5_SET(ads, path, grh, !!(ah_flags & IB_AH_GRH)); in mlx5_set_path()
3249 MLX5_SET(ads, path, sl, sl); in mlx5_set_path()
3253 MLX5_SET(ads, path, src_addr_index, grh->sgid_index); in mlx5_set_path()
3254 MLX5_SET(ads, path, hop_limit, grh->hop_limit); in mlx5_set_path()
3255 MLX5_SET(ads, path, tclass, grh->traffic_class); in mlx5_set_path()
3256 MLX5_SET(ads, path, flow_label, grh->flow_label); in mlx5_set_path()
3257 memcpy(MLX5_ADDR_OF(ads, path, rgid_rip), grh->dgid.raw, in mlx5_set_path()
3264 MLX5_SET(ads, path, stat_rate, err); in mlx5_set_path()
3265 MLX5_SET(ads, path, vhca_port_num, port); in mlx5_set_path()
3268 MLX5_SET(ads, path, ack_timeout, in mlx5_set_path()
3866 MLX5_SET(ads, pri_path, pkey_index, attr->pkey_index); in __mlx5_ib_modify_qp()
3871 MLX5_SET(ads, pri_path, vhca_port_num, qp->port); in __mlx5_ib_modify_qp()
3874 MLX5_SET(ads, pri_path, vhca_port_num, attr->port_num); in __mlx5_ib_modify_qp()
3886 MLX5_SET(ads, pri_path, ack_timeout, attr->timeout); in __mlx5_ib_modify_qp()
4418 int port = MLX5_GET(ads, path, vhca_port_num); in to_rdma_ah_attr()
4429 rdma_ah_set_sl(ah_attr, MLX5_GET(ads, path, sl)); in to_rdma_ah_attr()
4431 rdma_ah_set_dlid(ah_attr, MLX5_GET(ads, path, rlid)); in to_rdma_ah_attr()
4432 rdma_ah_set_path_bits(ah_attr, MLX5_GET(ads, path, mlid)); in to_rdma_ah_attr()
4434 static_rate = MLX5_GET(ads, path, stat_rate); in to_rdma_ah_attr()
4436 if (MLX5_GET(ads, path, grh) || in to_rdma_ah_attr()
4438 rdma_ah_set_grh(ah_attr, NULL, MLX5_GET(ads, path, flow_label), in to_rdma_ah_attr()
4439 MLX5_GET(ads, path, src_addr_index), in to_rdma_ah_attr()
4440 MLX5_GET(ads, path, hop_limit), in to_rdma_ah_attr()
4441 MLX5_GET(ads, path, tclass)); in to_rdma_ah_attr()
4442 rdma_ah_set_dgid_raw(ah_attr, MLX5_ADDR_OF(ads, path, rgid_rip)); in to_rdma_ah_attr()
4608 qp_attr->alt_pkey_index = MLX5_GET(ads, alt_path, pkey_index); in query_qp_attr()
4609 qp_attr->alt_port_num = MLX5_GET(ads, alt_path, vhca_port_num); in query_qp_attr()
4612 qp_attr->pkey_index = MLX5_GET(ads, pri_path, pkey_index); in query_qp_attr()
4613 qp_attr->port_num = MLX5_GET(ads, pri_path, vhca_port_num); in query_qp_attr()
4614 qp_attr->timeout = MLX5_GET(ads, pri_path, ack_timeout); in query_qp_attr()
4615 qp_attr->alt_timeout = MLX5_GET(ads, alt_path, ack_timeout); in query_qp_attr()