Lines Matching refs:ads

3513 	MLX5_SET(ads, path, udp_sport, rdma_flow_label_to_udp_sport(fl));  in mlx5_set_path_udp_sport()
3528 MLX5_SET(ads, path, pkey_index, in mlx5_set_path()
3547 ether_addr_copy(MLX5_ADDR_OF(ads, path, rmac_47_32), in mlx5_set_path()
3558 MLX5_SET(ads, path, eth_prio, sl & 0x7); in mlx5_set_path()
3561 MLX5_SET(ads, path, dscp, grh->traffic_class >> 2); in mlx5_set_path()
3563 MLX5_SET(ads, path, fl, !!(path_flags & MLX5_PATH_FLAG_FL)); in mlx5_set_path()
3564 MLX5_SET(ads, path, free_ar, in mlx5_set_path()
3566 MLX5_SET(ads, path, rlid, rdma_ah_get_dlid(ah)); in mlx5_set_path()
3567 MLX5_SET(ads, path, mlid, rdma_ah_get_path_bits(ah)); in mlx5_set_path()
3568 MLX5_SET(ads, path, grh, !!(ah_flags & IB_AH_GRH)); in mlx5_set_path()
3569 MLX5_SET(ads, path, sl, sl); in mlx5_set_path()
3573 MLX5_SET(ads, path, src_addr_index, grh->sgid_index); in mlx5_set_path()
3574 MLX5_SET(ads, path, hop_limit, grh->hop_limit); in mlx5_set_path()
3575 MLX5_SET(ads, path, tclass, grh->traffic_class); in mlx5_set_path()
3576 MLX5_SET(ads, path, flow_label, grh->flow_label); in mlx5_set_path()
3577 memcpy(MLX5_ADDR_OF(ads, path, rgid_rip), grh->dgid.raw, in mlx5_set_path()
3584 MLX5_SET(ads, path, stat_rate, err); in mlx5_set_path()
3585 MLX5_SET(ads, path, vhca_port_num, port); in mlx5_set_path()
3588 MLX5_SET(ads, path, ack_timeout, in mlx5_set_path()
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()
4245 MLX5_SET(ads, pri_path, ack_timeout, attr->timeout); in __mlx5_ib_modify_qp()
4791 int port = MLX5_GET(ads, path, vhca_port_num); in to_rdma_ah_attr()
4802 rdma_ah_set_sl(ah_attr, MLX5_GET(ads, path, sl)); in to_rdma_ah_attr()
4804 rdma_ah_set_dlid(ah_attr, MLX5_GET(ads, path, rlid)); in to_rdma_ah_attr()
4805 rdma_ah_set_path_bits(ah_attr, MLX5_GET(ads, path, mlid)); in to_rdma_ah_attr()
4807 static_rate = MLX5_GET(ads, path, stat_rate); in to_rdma_ah_attr()
4809 if (MLX5_GET(ads, path, grh) || in to_rdma_ah_attr()
4811 rdma_ah_set_grh(ah_attr, NULL, MLX5_GET(ads, path, flow_label), in to_rdma_ah_attr()
4812 MLX5_GET(ads, path, src_addr_index), in to_rdma_ah_attr()
4813 MLX5_GET(ads, path, hop_limit), in to_rdma_ah_attr()
4814 MLX5_GET(ads, path, tclass)); in to_rdma_ah_attr()
4815 rdma_ah_set_dgid_raw(ah_attr, MLX5_ADDR_OF(ads, path, rgid_rip)); in to_rdma_ah_attr()
4983 qp_attr->alt_pkey_index = MLX5_GET(ads, alt_path, pkey_index); in query_qp_attr()
4984 qp_attr->alt_port_num = MLX5_GET(ads, alt_path, vhca_port_num); 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()
4990 qp_attr->alt_timeout = MLX5_GET(ads, alt_path, ack_timeout); in query_qp_attr()