Lines Matching refs:ads

3423 	MLX5_SET(ads, path, udp_sport, rdma_flow_label_to_udp_sport(fl));  in mlx5_set_path_udp_sport()
3438 MLX5_SET(ads, path, pkey_index, in mlx5_set_path()
3457 ether_addr_copy(MLX5_ADDR_OF(ads, path, rmac_47_32), in mlx5_set_path()
3468 MLX5_SET(ads, path, eth_prio, sl & 0x7); in mlx5_set_path()
3471 MLX5_SET(ads, path, dscp, grh->traffic_class >> 2); in mlx5_set_path()
3473 MLX5_SET(ads, path, fl, !!(path_flags & MLX5_PATH_FLAG_FL)); in mlx5_set_path()
3474 MLX5_SET(ads, path, free_ar, in mlx5_set_path()
3476 MLX5_SET(ads, path, rlid, rdma_ah_get_dlid(ah)); in mlx5_set_path()
3477 MLX5_SET(ads, path, mlid, rdma_ah_get_path_bits(ah)); in mlx5_set_path()
3478 MLX5_SET(ads, path, grh, !!(ah_flags & IB_AH_GRH)); in mlx5_set_path()
3479 MLX5_SET(ads, path, sl, sl); in mlx5_set_path()
3483 MLX5_SET(ads, path, src_addr_index, grh->sgid_index); in mlx5_set_path()
3484 MLX5_SET(ads, path, hop_limit, grh->hop_limit); in mlx5_set_path()
3485 MLX5_SET(ads, path, tclass, grh->traffic_class); in mlx5_set_path()
3486 MLX5_SET(ads, path, flow_label, grh->flow_label); in mlx5_set_path()
3487 memcpy(MLX5_ADDR_OF(ads, path, rgid_rip), grh->dgid.raw, in mlx5_set_path()
3494 MLX5_SET(ads, path, stat_rate, err); in mlx5_set_path()
3495 MLX5_SET(ads, path, vhca_port_num, port); in mlx5_set_path()
3498 MLX5_SET(ads, path, ack_timeout, in mlx5_set_path()
4108 MLX5_SET(ads, pri_path, pkey_index, attr->pkey_index); in __mlx5_ib_modify_qp()
4113 MLX5_SET(ads, pri_path, vhca_port_num, qp->port); in __mlx5_ib_modify_qp()
4116 MLX5_SET(ads, pri_path, vhca_port_num, attr->port_num); in __mlx5_ib_modify_qp()
4128 MLX5_SET(ads, pri_path, ack_timeout, attr->timeout); in __mlx5_ib_modify_qp()
4652 int port = MLX5_GET(ads, path, vhca_port_num); in to_rdma_ah_attr()
4663 rdma_ah_set_sl(ah_attr, MLX5_GET(ads, path, sl)); in to_rdma_ah_attr()
4665 rdma_ah_set_dlid(ah_attr, MLX5_GET(ads, path, rlid)); in to_rdma_ah_attr()
4666 rdma_ah_set_path_bits(ah_attr, MLX5_GET(ads, path, mlid)); in to_rdma_ah_attr()
4668 static_rate = MLX5_GET(ads, path, stat_rate); in to_rdma_ah_attr()
4670 if (MLX5_GET(ads, path, grh) || in to_rdma_ah_attr()
4672 rdma_ah_set_grh(ah_attr, NULL, MLX5_GET(ads, path, flow_label), in to_rdma_ah_attr()
4673 MLX5_GET(ads, path, src_addr_index), in to_rdma_ah_attr()
4674 MLX5_GET(ads, path, hop_limit), in to_rdma_ah_attr()
4675 MLX5_GET(ads, path, tclass)); in to_rdma_ah_attr()
4676 rdma_ah_set_dgid_raw(ah_attr, MLX5_ADDR_OF(ads, path, rgid_rip)); in to_rdma_ah_attr()
4843 qp_attr->alt_pkey_index = MLX5_GET(ads, alt_path, pkey_index); in query_qp_attr()
4844 qp_attr->alt_port_num = MLX5_GET(ads, alt_path, vhca_port_num); in query_qp_attr()
4847 qp_attr->pkey_index = MLX5_GET(ads, pri_path, pkey_index); in query_qp_attr()
4848 qp_attr->port_num = MLX5_GET(ads, pri_path, vhca_port_num); in query_qp_attr()
4849 qp_attr->timeout = MLX5_GET(ads, pri_path, ack_timeout); in query_qp_attr()
4850 qp_attr->alt_timeout = MLX5_GET(ads, alt_path, ack_timeout); in query_qp_attr()