Lines Matching refs:MLX5_GET
1300 MLX5_SET(sqc, sqc, user_index, MLX5_GET(qpc, qpc, user_index)); in create_raw_packet_qp_sq()
1301 MLX5_SET(sqc, sqc, cqn, MLX5_GET(qpc, qpc, cqn_snd)); in create_raw_packet_qp_sq()
1310 MLX5_SET(wq, wq, pd, MLX5_GET(qpc, qpc, pd)); in create_raw_packet_qp_sq()
1311 MLX5_SET(wq, wq, uar_page, MLX5_GET(qpc, qpc, uar_page)); in create_raw_packet_qp_sq()
1314 MLX5_SET(wq, wq, log_wq_sz, MLX5_GET(qpc, qpc, log_sq_size)); in create_raw_packet_qp_sq()
1388 MLX5_SET(rqc, rqc, user_index, MLX5_GET(qpc, qpc, user_index)); in create_raw_packet_qp_rq()
1389 MLX5_SET(rqc, rqc, cqn, MLX5_GET(qpc, qpc, cqn_rcv)); in create_raw_packet_qp_rq()
1399 MLX5_SET(wq, wq, pd, MLX5_GET(qpc, qpc, pd)); in create_raw_packet_qp_rq()
1401 MLX5_SET(wq, wq, log_wq_stride, MLX5_GET(qpc, qpc, log_rq_stride) + 4); in create_raw_packet_qp_rq()
1404 MLX5_SET(wq, wq, log_wq_sz, MLX5_GET(qpc, qpc, log_rq_size)); in create_raw_packet_qp_rq()
1471 rq->tirn = MLX5_GET(create_tir_out, out, tirn); in create_raw_packet_qp_tir()
1472 if (!err && MLX5_GET(tirc, tirc, self_lb_block)) { in create_raw_packet_qp_tir()
1546 resp->tir_icm_addr = MLX5_GET( in create_raw_packet_qp()
1549 (u64)MLX5_GET(create_tir_out, out, in create_raw_packet_qp()
1553 (u64)MLX5_GET(create_tir_out, out, in create_raw_packet_qp()
1792 qp->rss_qp.tirn = MLX5_GET(create_tir_out, out, tirn); in create_rss_raw_qp_tir()
1793 if (!err && MLX5_GET(tirc, tirc, self_lb_block)) { in create_rss_raw_qp_tir()
1810 MLX5_GET(create_tir_out, out, icm_address_31_0); in create_rss_raw_qp_tir()
1812 (u64)MLX5_GET(create_tir_out, out, in create_rss_raw_qp_tir()
1816 (u64)MLX5_GET(create_tir_out, out, in create_rss_raw_qp_tir()
1972 params->resp.ece_options = MLX5_GET(create_qp_out, out, ece); in create_xrc_tgt_qp()
2117 params->resp.ece_options = MLX5_GET(create_qp_out, out, ece); in create_dci()
2320 params->resp.ece_options = MLX5_GET(create_qp_out, out, ece); in create_user_qp()
4471 resp.ece_options = MLX5_GET(create_dct_out, out, ece); in mlx5_ib_modify_dct()
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()
4714 *rq_state = MLX5_GET(rqc, rqc, state); in query_raw_packet_qp_rq_state()
4812 qp->state = to_ib_qp_state(MLX5_GET(qpc, qpc, state)); in query_qp_attr()
4813 if (MLX5_GET(qpc, qpc, state) == MLX5_QP_STATE_SQ_DRAINING) in query_qp_attr()
4816 qp_attr->path_mtu = MLX5_GET(qpc, qpc, mtu); in query_qp_attr()
4817 qp_attr->path_mig_state = to_ib_mig_state(MLX5_GET(qpc, qpc, pm_state)); in query_qp_attr()
4818 qp_attr->qkey = MLX5_GET(qpc, qpc, q_key); in query_qp_attr()
4819 qp_attr->rq_psn = MLX5_GET(qpc, qpc, next_rcv_psn); in query_qp_attr()
4820 qp_attr->sq_psn = MLX5_GET(qpc, qpc, next_send_psn); in query_qp_attr()
4821 qp_attr->dest_qp_num = MLX5_GET(qpc, qpc, remote_qpn); in query_qp_attr()
4823 if (MLX5_GET(qpc, qpc, rre)) in query_qp_attr()
4825 if (MLX5_GET(qpc, qpc, rwe)) in query_qp_attr()
4827 if (MLX5_GET(qpc, qpc, rae)) in query_qp_attr()
4830 qp_attr->max_rd_atomic = 1 << MLX5_GET(qpc, qpc, log_sra_max); in query_qp_attr()
4831 qp_attr->max_dest_rd_atomic = 1 << MLX5_GET(qpc, qpc, log_rra_max); in query_qp_attr()
4832 qp_attr->min_rnr_timer = MLX5_GET(qpc, qpc, min_rnr_nak); in query_qp_attr()
4833 qp_attr->retry_cnt = MLX5_GET(qpc, qpc, retry_count); in query_qp_attr()
4834 qp_attr->rnr_retry = MLX5_GET(qpc, qpc, rnr_retry); in query_qp_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()
4894 if (MLX5_GET(dctc, dctc, rre)) in mlx5_ib_dct_query_qp()
4896 if (MLX5_GET(dctc, dctc, rwe)) in mlx5_ib_dct_query_qp()
4898 if (MLX5_GET(dctc, dctc, rae)) in mlx5_ib_dct_query_qp()
4904 qp_attr->port_num = MLX5_GET(dctc, dctc, port); in mlx5_ib_dct_query_qp()
4906 qp_attr->min_rnr_timer = MLX5_GET(dctc, dctc, min_rnr_nak); in mlx5_ib_dct_query_qp()
4908 qp_attr->ah_attr.grh.traffic_class = MLX5_GET(dctc, dctc, tclass); in mlx5_ib_dct_query_qp()
4909 qp_attr->ah_attr.grh.flow_label = MLX5_GET(dctc, dctc, flow_label); in mlx5_ib_dct_query_qp()
4910 qp_attr->ah_attr.grh.sgid_index = MLX5_GET(dctc, dctc, my_addr_index); in mlx5_ib_dct_query_qp()
4911 qp_attr->ah_attr.grh.hop_limit = MLX5_GET(dctc, dctc, hop_limit); in mlx5_ib_dct_query_qp()
4914 qp_attr->path_mtu = MLX5_GET(dctc, dctc, mtu); in mlx5_ib_dct_query_qp()
4916 qp_attr->pkey_index = MLX5_GET(dctc, dctc, pkey_index); in mlx5_ib_dct_query_qp()