Lines Matching refs:dctc

2734 	void *dctc;  in create_dct()  local
2744 dctc = MLX5_ADDR_OF(create_dct_in, qp->dct.in, dct_context_entry); in create_dct()
2745 MLX5_SET(dctc, dctc, pd, to_mpd(pd)->pdn); in create_dct()
2746 MLX5_SET(dctc, dctc, srqn_xrqn, to_msrq(attr->srq)->msrq.srqn); in create_dct()
2747 MLX5_SET(dctc, dctc, cqn, to_mcq(attr->recv_cq)->mcq.cqn); in create_dct()
2748 MLX5_SET64(dctc, dctc, dc_access_key, ucmd->access_key); in create_dct()
2749 MLX5_SET(dctc, dctc, user_index, uidx); in create_dct()
2751 MLX5_SET(dctc, dctc, ece, ucmd->ece_options); in create_dct()
2757 MLX5_SET(dctc, dctc, cs_res, MLX5_RES_SCAT_DATA64_CQE); in create_dct()
4495 void *dctc; in mlx5_ib_modify_dct() local
4504 dctc = MLX5_ADDR_OF(create_dct_in, qp->dct.in, dct_context_entry); in mlx5_ib_modify_dct()
4512 MLX5_SET(dctc, dctc, ece, ucmd->ece_options); in mlx5_ib_modify_dct()
4528 MLX5_SET(dctc, dctc, rre, 1); in mlx5_ib_modify_dct()
4530 MLX5_SET(dctc, dctc, rwe, 1); in mlx5_ib_modify_dct()
4538 MLX5_SET(dctc, dctc, atomic_mode, atomic_mode); in mlx5_ib_modify_dct()
4539 MLX5_SET(dctc, dctc, rae, 1); in mlx5_ib_modify_dct()
4541 MLX5_SET(dctc, dctc, pkey_index, attr->pkey_index); in mlx5_ib_modify_dct()
4543 MLX5_SET(dctc, dctc, port, in mlx5_ib_modify_dct()
4546 MLX5_SET(dctc, dctc, port, attr->port_num); in mlx5_ib_modify_dct()
4549 MLX5_SET(dctc, dctc, counter_set_id, set_id); in mlx5_ib_modify_dct()
4568 MLX5_SET(dctc, dctc, min_rnr_nak, attr->min_rnr_timer); in mlx5_ib_modify_dct()
4569 MLX5_SET(dctc, dctc, tclass, attr->ah_attr.grh.traffic_class); in mlx5_ib_modify_dct()
4570 MLX5_SET(dctc, dctc, flow_label, attr->ah_attr.grh.flow_label); in mlx5_ib_modify_dct()
4571 MLX5_SET(dctc, dctc, mtu, attr->path_mtu); in mlx5_ib_modify_dct()
4572 MLX5_SET(dctc, dctc, my_addr_index, attr->ah_attr.grh.sgid_index); in mlx5_ib_modify_dct()
4573 MLX5_SET(dctc, dctc, hop_limit, attr->ah_attr.grh.hop_limit); in mlx5_ib_modify_dct()
4575 MLX5_SET(dctc, dctc, eth_prio, attr->ah_attr.sl & 0x7); in mlx5_ib_modify_dct()
4997 void *dctc; in mlx5_ib_dct_query_qp() local
5020 dctc = MLX5_ADDR_OF(query_dct_out, out, dct_context_entry); in mlx5_ib_dct_query_qp()
5026 if (MLX5_GET(dctc, dctc, rre)) in mlx5_ib_dct_query_qp()
5028 if (MLX5_GET(dctc, dctc, rwe)) in mlx5_ib_dct_query_qp()
5030 if (MLX5_GET(dctc, dctc, rae)) in mlx5_ib_dct_query_qp()
5036 qp_attr->port_num = MLX5_GET(dctc, dctc, port); in mlx5_ib_dct_query_qp()
5038 qp_attr->min_rnr_timer = MLX5_GET(dctc, dctc, min_rnr_nak); in mlx5_ib_dct_query_qp()
5040 qp_attr->ah_attr.grh.traffic_class = MLX5_GET(dctc, dctc, tclass); in mlx5_ib_dct_query_qp()
5041 qp_attr->ah_attr.grh.flow_label = MLX5_GET(dctc, dctc, flow_label); in mlx5_ib_dct_query_qp()
5042 qp_attr->ah_attr.grh.sgid_index = MLX5_GET(dctc, dctc, my_addr_index); in mlx5_ib_dct_query_qp()
5043 qp_attr->ah_attr.grh.hop_limit = MLX5_GET(dctc, dctc, hop_limit); in mlx5_ib_dct_query_qp()
5046 qp_attr->path_mtu = MLX5_GET(dctc, dctc, mtu); in mlx5_ib_dct_query_qp()
5048 qp_attr->pkey_index = MLX5_GET(dctc, dctc, pkey_index); in mlx5_ib_dct_query_qp()