Lines Matching refs:MLX5_SET
971 MLX5_SET(create_qp_in, *in, uid, uid); in _create_user_qp()
978 MLX5_SET(qpc, qpc, log_page_size, page_shift - MLX5_ADAPTER_PAGE_SHIFT); in _create_user_qp()
979 MLX5_SET(qpc, qpc, page_offset, offset); in _create_user_qp()
981 MLX5_SET(qpc, qpc, uar_page, uar_index); in _create_user_qp()
1104 MLX5_SET(qpc, qpc, uar_page, uar_index); in _create_kernel_qp()
1105 MLX5_SET(qpc, qpc, log_page_size, qp->buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in _create_kernel_qp()
1108 MLX5_SET(qpc, qpc, fre, 1); in _create_kernel_qp()
1109 MLX5_SET(qpc, qpc, rlky, 1); in _create_kernel_qp()
1112 MLX5_SET(qpc, qpc, deth_sqpn, 1); in _create_kernel_qp()
1178 MLX5_SET(create_tis_in, in, uid, to_mpd(pd)->uid); in create_raw_packet_qp_tis()
1179 MLX5_SET(tisc, tisc, transport_domain, tdn); in create_raw_packet_qp_tis()
1181 MLX5_SET(tisc, tisc, underlay_qpn, qp->underlay_qpn); in create_raw_packet_qp_tis()
1230 MLX5_SET(create_sq_in, in, uid, to_mpd(pd)->uid); in create_raw_packet_qp_sq()
1232 MLX5_SET(sqc, sqc, flush_in_error_en, 1); in create_raw_packet_qp_sq()
1234 MLX5_SET(sqc, sqc, allow_multi_pkt_send_wqe, 1); in create_raw_packet_qp_sq()
1235 MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RST); in create_raw_packet_qp_sq()
1236 MLX5_SET(sqc, sqc, user_index, MLX5_GET(qpc, qpc, user_index)); in create_raw_packet_qp_sq()
1237 MLX5_SET(sqc, sqc, cqn, MLX5_GET(qpc, qpc, cqn_snd)); in create_raw_packet_qp_sq()
1238 MLX5_SET(sqc, sqc, tis_lst_sz, 1); in create_raw_packet_qp_sq()
1239 MLX5_SET(sqc, sqc, tis_num_0, sq->tisn); in create_raw_packet_qp_sq()
1242 MLX5_SET(sqc, sqc, allow_swp, 1); in create_raw_packet_qp_sq()
1245 MLX5_SET(wq, wq, wq_type, MLX5_WQ_TYPE_CYCLIC); in create_raw_packet_qp_sq()
1246 MLX5_SET(wq, wq, pd, MLX5_GET(qpc, qpc, pd)); in create_raw_packet_qp_sq()
1247 MLX5_SET(wq, wq, uar_page, MLX5_GET(qpc, qpc, uar_page)); in create_raw_packet_qp_sq()
1249 MLX5_SET(wq, wq, log_wq_stride, ilog2(MLX5_SEND_WQE_BB)); in create_raw_packet_qp_sq()
1250 MLX5_SET(wq, wq, log_wq_sz, MLX5_GET(qpc, qpc, log_sq_size)); in create_raw_packet_qp_sq()
1251 MLX5_SET(wq, wq, log_wq_pg_sz, page_shift - MLX5_ADAPTER_PAGE_SHIFT); in create_raw_packet_qp_sq()
1252 MLX5_SET(wq, wq, page_offset, offset); in create_raw_packet_qp_sq()
1319 MLX5_SET(create_rq_in, in, uid, to_mpd(pd)->uid); in create_raw_packet_qp_rq()
1322 MLX5_SET(rqc, rqc, vsd, 1); in create_raw_packet_qp_rq()
1323 MLX5_SET(rqc, rqc, mem_rq_type, MLX5_RQC_MEM_RQ_TYPE_MEMORY_RQ_INLINE); in create_raw_packet_qp_rq()
1324 MLX5_SET(rqc, rqc, state, MLX5_RQC_STATE_RST); in create_raw_packet_qp_rq()
1325 MLX5_SET(rqc, rqc, flush_in_error_en, 1); in create_raw_packet_qp_rq()
1326 MLX5_SET(rqc, rqc, user_index, MLX5_GET(qpc, qpc, user_index)); in create_raw_packet_qp_rq()
1327 MLX5_SET(rqc, rqc, cqn, MLX5_GET(qpc, qpc, cqn_rcv)); in create_raw_packet_qp_rq()
1330 MLX5_SET(rqc, rqc, scatter_fcs, 1); in create_raw_packet_qp_rq()
1333 MLX5_SET(wq, wq, wq_type, MLX5_WQ_TYPE_CYCLIC); in create_raw_packet_qp_rq()
1335 MLX5_SET(wq, wq, end_padding_mode, MLX5_WQ_END_PAD_MODE_ALIGN); in create_raw_packet_qp_rq()
1336 MLX5_SET(wq, wq, page_offset, MLX5_GET(qpc, qpc, page_offset)); in create_raw_packet_qp_rq()
1337 MLX5_SET(wq, wq, pd, MLX5_GET(qpc, qpc, pd)); in create_raw_packet_qp_rq()
1339 MLX5_SET(wq, wq, log_wq_stride, MLX5_GET(qpc, qpc, log_rq_stride) + 4); in create_raw_packet_qp_rq()
1340 MLX5_SET(wq, wq, log_wq_pg_sz, MLX5_GET(qpc, qpc, log_page_size)); in create_raw_packet_qp_rq()
1341 MLX5_SET(wq, wq, log_wq_sz, MLX5_GET(qpc, qpc, log_rq_size)); in create_raw_packet_qp_rq()
1387 MLX5_SET(create_tir_in, in, uid, to_mpd(pd)->uid); in create_raw_packet_qp_tir()
1389 MLX5_SET(tirc, tirc, disp_type, MLX5_TIRC_DISP_TYPE_DIRECT); in create_raw_packet_qp_tir()
1390 MLX5_SET(tirc, tirc, inline_rqn, rq->base.mqp.qpn); in create_raw_packet_qp_tir()
1391 MLX5_SET(tirc, tirc, transport_domain, tdn); in create_raw_packet_qp_tir()
1393 MLX5_SET(tirc, tirc, tunneled_offload_en, 1); in create_raw_packet_qp_tir()
1406 MLX5_SET(tirc, tirc, self_lb_block, lb_flag); in create_raw_packet_qp_tir()
1407 MLX5_SET(create_tir_in, in, opcode, MLX5_CMD_OP_CREATE_TIR); in create_raw_packet_qp_tir()
1613 MLX5_SET(create_tir_in, in, uid, to_mpd(pd)->uid); in create_rss_raw_qp_tir()
1615 MLX5_SET(tirc, tirc, disp_type, in create_rss_raw_qp_tir()
1617 MLX5_SET(tirc, tirc, indirect_table, in create_rss_raw_qp_tir()
1619 MLX5_SET(tirc, tirc, transport_domain, tdn); in create_rss_raw_qp_tir()
1624 MLX5_SET(tirc, tirc, tunneled_offload_en, 1); in create_rss_raw_qp_tir()
1626 MLX5_SET(tirc, tirc, self_lb_block, lb_flag); in create_rss_raw_qp_tir()
1644 MLX5_SET(tirc, tirc, rx_hash_fn, MLX5_RX_HASH_FN_TOEPLITZ); in create_rss_raw_qp_tir()
1672 MLX5_SET(rx_hash_field_select, hfso, l3_prot_type, in create_rss_raw_qp_tir()
1676 MLX5_SET(rx_hash_field_select, hfso, l3_prot_type, in create_rss_raw_qp_tir()
1696 MLX5_SET(rx_hash_field_select, hfso, l4_prot_type, in create_rss_raw_qp_tir()
1700 MLX5_SET(rx_hash_field_select, hfso, l4_prot_type, in create_rss_raw_qp_tir()
1722 MLX5_SET(rx_hash_field_select, hfso, selected_fields, selected_fields); in create_rss_raw_qp_tir()
1725 MLX5_SET(create_tir_in, in, opcode, MLX5_CMD_OP_CREATE_TIR); in create_rss_raw_qp_tir()
1786 MLX5_SET(qpc, qpc, cs_req, MLX5_REQ_SCAT_DATA64_CQE); in configure_requester_scat_cqe()
1792 MLX5_SET(qpc, qpc, cs_req, MLX5_REQ_SCAT_DATA32_CQE); in configure_requester_scat_cqe()
1866 MLX5_SET(qpc, qpc, st, MLX5_QP_ST_XRC); in create_xrc_tgt_qp()
1867 MLX5_SET(qpc, qpc, pm_state, MLX5_QP_PM_MIGRATED); in create_xrc_tgt_qp()
1868 MLX5_SET(qpc, qpc, pd, to_mpd(devr->p0)->pdn); in create_xrc_tgt_qp()
1871 MLX5_SET(qpc, qpc, block_lb_mc, 1); in create_xrc_tgt_qp()
1873 MLX5_SET(qpc, qpc, cd_master, 1); in create_xrc_tgt_qp()
1875 MLX5_SET(qpc, qpc, cd_slave_send, 1); in create_xrc_tgt_qp()
1877 MLX5_SET(qpc, qpc, cd_slave_receive, 1); in create_xrc_tgt_qp()
1879 MLX5_SET(qpc, qpc, rq_type, MLX5_SRQ_RQ); in create_xrc_tgt_qp()
1880 MLX5_SET(qpc, qpc, no_sq, 1); in create_xrc_tgt_qp()
1881 MLX5_SET(qpc, qpc, cqn_rcv, to_mcq(devr->c0)->mcq.cqn); in create_xrc_tgt_qp()
1882 MLX5_SET(qpc, qpc, cqn_snd, to_mcq(devr->c0)->mcq.cqn); in create_xrc_tgt_qp()
1883 MLX5_SET(qpc, qpc, srqn_rmpn_xrqn, to_msrq(devr->s0)->msrq.srqn); in create_xrc_tgt_qp()
1884 MLX5_SET(qpc, qpc, xrcd, to_mxrcd(attr->xrcd)->xrcdn); in create_xrc_tgt_qp()
1889 MLX5_SET(qpc, qpc, user_index, uidx); in create_xrc_tgt_qp()
1892 MLX5_SET(qpc, qpc, end_padding_mode, in create_xrc_tgt_qp()
1979 MLX5_SET(create_qp_in, in, ece, ucmd->ece_options); in create_user_qp()
1982 MLX5_SET(qpc, qpc, st, mlx5_st); in create_user_qp()
1983 MLX5_SET(qpc, qpc, pm_state, MLX5_QP_PM_MIGRATED); in create_user_qp()
1984 MLX5_SET(qpc, qpc, pd, to_mpd(pd)->pdn); in create_user_qp()
1987 MLX5_SET(qpc, qpc, wq_signature, 1); in create_user_qp()
1990 MLX5_SET(qpc, qpc, block_lb_mc, 1); in create_user_qp()
1993 MLX5_SET(qpc, qpc, cd_master, 1); in create_user_qp()
1995 MLX5_SET(qpc, qpc, cd_slave_send, 1); in create_user_qp()
1997 MLX5_SET(qpc, qpc, cd_slave_receive, 1); in create_user_qp()
1999 MLX5_SET(qpc, qpc, req_e2e_credit_mode, 1); in create_user_qp()
2005 MLX5_SET(qpc, qpc, cs_res, in create_user_qp()
2014 MLX5_SET(qpc, qpc, log_rq_stride, qp->rq.wqe_shift - 4); in create_user_qp()
2015 MLX5_SET(qpc, qpc, log_rq_size, ilog2(qp->rq.wqe_cnt)); in create_user_qp()
2018 MLX5_SET(qpc, qpc, rq_type, get_rx_type(qp, init_attr)); in create_user_qp()
2021 MLX5_SET(qpc, qpc, log_sq_size, ilog2(qp->sq.wqe_cnt)); in create_user_qp()
2023 MLX5_SET(qpc, qpc, no_sq, 1); in create_user_qp()
2026 MLX5_SET(qpc, qpc, offload_type, in create_user_qp()
2033 MLX5_SET(qpc, qpc, cqn_rcv, to_mcq(devr->c0)->mcq.cqn); in create_user_qp()
2034 MLX5_SET(qpc, qpc, xrcd, devr->xrcdn1); in create_user_qp()
2035 MLX5_SET(qpc, qpc, srqn_rmpn_xrqn, to_msrq(devr->s0)->msrq.srqn); in create_user_qp()
2039 MLX5_SET(qpc, qpc, xrcd, devr->xrcdn0); in create_user_qp()
2040 MLX5_SET(qpc, qpc, srqn_rmpn_xrqn, to_msrq(init_attr->srq)->msrq.srqn); in create_user_qp()
2042 MLX5_SET(qpc, qpc, xrcd, devr->xrcdn1); in create_user_qp()
2043 MLX5_SET(qpc, qpc, srqn_rmpn_xrqn, to_msrq(devr->s1)->msrq.srqn); in create_user_qp()
2048 MLX5_SET(qpc, qpc, cqn_snd, to_mcq(init_attr->send_cq)->mcq.cqn); in create_user_qp()
2051 MLX5_SET(qpc, qpc, cqn_rcv, to_mcq(init_attr->recv_cq)->mcq.cqn); in create_user_qp()
2057 MLX5_SET(qpc, qpc, user_index, uidx); in create_user_qp()
2061 MLX5_SET(qpc, qpc, end_padding_mode, in create_user_qp()
2156 MLX5_SET(qpc, qpc, st, mlx5_st); in create_kernel_qp()
2157 MLX5_SET(qpc, qpc, pm_state, MLX5_QP_PM_MIGRATED); in create_kernel_qp()
2160 MLX5_SET(qpc, qpc, pd, to_mpd(pd ? pd : devr->p0)->pdn); in create_kernel_qp()
2162 MLX5_SET(qpc, qpc, latency_sensitive, 1); in create_kernel_qp()
2166 MLX5_SET(qpc, qpc, block_lb_mc, 1); in create_kernel_qp()
2169 MLX5_SET(qpc, qpc, log_rq_stride, qp->rq.wqe_shift - 4); in create_kernel_qp()
2170 MLX5_SET(qpc, qpc, log_rq_size, ilog2(qp->rq.wqe_cnt)); in create_kernel_qp()
2173 MLX5_SET(qpc, qpc, rq_type, get_rx_type(qp, attr)); in create_kernel_qp()
2176 MLX5_SET(qpc, qpc, log_sq_size, ilog2(qp->sq.wqe_cnt)); in create_kernel_qp()
2178 MLX5_SET(qpc, qpc, no_sq, 1); in create_kernel_qp()
2181 MLX5_SET(qpc, qpc, xrcd, devr->xrcdn0); in create_kernel_qp()
2182 MLX5_SET(qpc, qpc, srqn_rmpn_xrqn, in create_kernel_qp()
2185 MLX5_SET(qpc, qpc, xrcd, devr->xrcdn1); in create_kernel_qp()
2186 MLX5_SET(qpc, qpc, srqn_rmpn_xrqn, in create_kernel_qp()
2191 MLX5_SET(qpc, qpc, cqn_snd, to_mcq(attr->send_cq)->mcq.cqn); in create_kernel_qp()
2194 MLX5_SET(qpc, qpc, cqn_rcv, to_mcq(attr->recv_cq)->mcq.cqn); in create_kernel_qp()
2200 MLX5_SET(qpc, qpc, user_index, uidx); in create_kernel_qp()
2204 MLX5_SET(qpc, qpc, ulp_stateless_offload_mode, 1); in create_kernel_qp()
2418 MLX5_SET(create_dct_in, qp->dct.in, uid, to_mpd(pd)->uid); in create_dct()
2420 MLX5_SET(dctc, dctc, pd, to_mpd(pd)->pdn); in create_dct()
2421 MLX5_SET(dctc, dctc, srqn_xrqn, to_msrq(attr->srq)->msrq.srqn); in create_dct()
2422 MLX5_SET(dctc, dctc, cqn, to_mcq(attr->recv_cq)->mcq.cqn); in create_dct()
2424 MLX5_SET(dctc, dctc, user_index, uidx); in create_dct()
2426 MLX5_SET(dctc, dctc, ece, ucmd->ece_options); in create_dct()
2432 MLX5_SET(dctc, dctc, cs_res, MLX5_RES_SCAT_DATA64_CQE); in create_dct()
3056 MLX5_SET(qpc, qpc, rre, !!(access_flags & IB_ACCESS_REMOTE_READ)); in set_qpc_atomic_flags()
3065 MLX5_SET(qpc, qpc, rae, 1); in set_qpc_atomic_flags()
3066 MLX5_SET(qpc, qpc, atomic_mode, atomic_mode); in set_qpc_atomic_flags()
3069 MLX5_SET(qpc, qpc, rwe, !!(access_flags & IB_ACCESS_REMOTE_WRITE)); in set_qpc_atomic_flags()
3146 MLX5_SET(modify_tis_in, in, bitmask.prio, 1); in modify_raw_packet_eth_prio()
3147 MLX5_SET(modify_tis_in, in, uid, to_mpd(pd)->uid); in modify_raw_packet_eth_prio()
3150 MLX5_SET(tisc, tisc, prio, ((sl & 0x7) << 1)); in modify_raw_packet_eth_prio()
3173 MLX5_SET(modify_tis_in, in, bitmask.lag_tx_port_affinity, 1); in modify_raw_packet_tx_affinity()
3174 MLX5_SET(modify_tis_in, in, uid, to_mpd(pd)->uid); in modify_raw_packet_tx_affinity()
3177 MLX5_SET(tisc, tisc, lag_tx_port_affinity, tx_affinity); in modify_raw_packet_tx_affinity()
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()
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()
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()
3463 MLX5_SET(modify_rq_in, in, rq_state, rq->state); in modify_raw_packet_qp_rq()
3464 MLX5_SET(modify_rq_in, in, uid, to_mpd(pd)->uid); in modify_raw_packet_qp_rq()
3467 MLX5_SET(rqc, rqc, state, new_state); in modify_raw_packet_qp_rq()
3473 MLX5_SET(rqc, rqc, counter_set_id, raw_qp_param->rq_q_ctr_id); in modify_raw_packet_qp_rq()
3510 MLX5_SET(modify_sq_in, in, uid, to_mpd(pd)->uid); in modify_raw_packet_qp_sq()
3511 MLX5_SET(modify_sq_in, in, sq_state, sq->state); in modify_raw_packet_qp_sq()
3514 MLX5_SET(sqc, sqc, state, new_state); in modify_raw_packet_qp_sq()
3540 MLX5_SET(sqc, sqc, packet_pacing_rate_limit_index, rl_index); in modify_raw_packet_qp_sq()
3733 MLX5_SET(rts2rts_qp_in, in, opcode, MLX5_CMD_OP_RTS2RTS_QP); in __mlx5_ib_qp_set_counter()
3734 MLX5_SET(rts2rts_qp_in, in, qpn, base->mqp.qpn); in __mlx5_ib_qp_set_counter()
3735 MLX5_SET(rts2rts_qp_in, in, uid, base->mqp.uid); in __mlx5_ib_qp_set_counter()
3736 MLX5_SET(rts2rts_qp_in, in, opt_param_mask, in __mlx5_ib_qp_set_counter()
3740 MLX5_SET(qpc, qpc, counter_set_id, set_id); in __mlx5_ib_qp_set_counter()
3812 MLX5_SET(qpc, qpc, st, mlx5_st); in __mlx5_ib_modify_qp()
3815 MLX5_SET(qpc, qpc, pm_state, MLX5_QP_PM_MIGRATED); in __mlx5_ib_modify_qp()
3819 MLX5_SET(qpc, qpc, pm_state, MLX5_QP_PM_MIGRATED); in __mlx5_ib_modify_qp()
3822 MLX5_SET(qpc, qpc, pm_state, MLX5_QP_PM_REARM); in __mlx5_ib_modify_qp()
3825 MLX5_SET(qpc, qpc, pm_state, MLX5_QP_PM_ARMED); in __mlx5_ib_modify_qp()
3834 MLX5_SET(qpc, qpc, lag_tx_port_affinity, tx_affinity); in __mlx5_ib_modify_qp()
3840 MLX5_SET(qpc, qpc, mtu, IB_MTU_256); in __mlx5_ib_modify_qp()
3841 MLX5_SET(qpc, qpc, log_msg_max, 8); in __mlx5_ib_modify_qp()
3845 MLX5_SET(qpc, qpc, mtu, IB_MTU_4096); in __mlx5_ib_modify_qp()
3846 MLX5_SET(qpc, qpc, log_msg_max, 12); in __mlx5_ib_modify_qp()
3854 MLX5_SET(qpc, qpc, mtu, attr->path_mtu); in __mlx5_ib_modify_qp()
3855 MLX5_SET(qpc, qpc, log_msg_max, in __mlx5_ib_modify_qp()
3860 MLX5_SET(qpc, qpc, remote_qpn, attr->dest_qp_num); in __mlx5_ib_modify_qp()
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()
3901 MLX5_SET(qpc, qpc, pd, pd ? pd->pdn : to_mpd(dev->devr.p0)->pdn); in __mlx5_ib_modify_qp()
3903 MLX5_SET(qpc, qpc, cqn_snd, send_cq->mcq.cqn); in __mlx5_ib_modify_qp()
3905 MLX5_SET(qpc, qpc, cqn_rcv, recv_cq->mcq.cqn); in __mlx5_ib_modify_qp()
3907 MLX5_SET(qpc, qpc, log_ack_req_freq, MLX5_IB_ACK_REQ_FREQ); in __mlx5_ib_modify_qp()
3910 MLX5_SET(qpc, qpc, rnr_retry, attr->rnr_retry); in __mlx5_ib_modify_qp()
3913 MLX5_SET(qpc, qpc, retry_count, attr->retry_cnt); in __mlx5_ib_modify_qp()
3916 MLX5_SET(qpc, qpc, log_sra_max, ilog2(attr->max_rd_atomic)); in __mlx5_ib_modify_qp()
3919 MLX5_SET(qpc, qpc, next_send_psn, attr->sq_psn); in __mlx5_ib_modify_qp()
3922 MLX5_SET(qpc, qpc, log_rra_max, in __mlx5_ib_modify_qp()
3932 MLX5_SET(qpc, qpc, min_rnr_nak, attr->min_rnr_timer); in __mlx5_ib_modify_qp()
3935 MLX5_SET(qpc, qpc, next_rcv_psn, attr->rq_psn); in __mlx5_ib_modify_qp()
3938 MLX5_SET(qpc, qpc, q_key, attr->qkey); in __mlx5_ib_modify_qp()
3955 MLX5_SET(qpc, qpc, counter_set_id, set_id); in __mlx5_ib_modify_qp()
3959 MLX5_SET(qpc, qpc, rlky, 1); in __mlx5_ib_modify_qp()
3962 MLX5_SET(qpc, qpc, deth_sqpn, 1); in __mlx5_ib_modify_qp()
4157 MLX5_SET(dctc, dctc, ece, ucmd->ece_options); in mlx5_ib_modify_dct()
4173 MLX5_SET(dctc, dctc, rre, 1); in mlx5_ib_modify_dct()
4175 MLX5_SET(dctc, dctc, rwe, 1); in mlx5_ib_modify_dct()
4183 MLX5_SET(dctc, dctc, atomic_mode, atomic_mode); in mlx5_ib_modify_dct()
4184 MLX5_SET(dctc, dctc, rae, 1); in mlx5_ib_modify_dct()
4186 MLX5_SET(dctc, dctc, pkey_index, attr->pkey_index); in mlx5_ib_modify_dct()
4188 MLX5_SET(dctc, dctc, port, in mlx5_ib_modify_dct()
4191 MLX5_SET(dctc, dctc, port, attr->port_num); in mlx5_ib_modify_dct()
4194 MLX5_SET(dctc, dctc, counter_set_id, set_id); in mlx5_ib_modify_dct()
4213 MLX5_SET(dctc, dctc, min_rnr_nak, attr->min_rnr_timer); in mlx5_ib_modify_dct()
4214 MLX5_SET(dctc, dctc, tclass, attr->ah_attr.grh.traffic_class); in mlx5_ib_modify_dct()
4215 MLX5_SET(dctc, dctc, flow_label, attr->ah_attr.grh.flow_label); in mlx5_ib_modify_dct()
4216 MLX5_SET(dctc, dctc, mtu, attr->path_mtu); in mlx5_ib_modify_dct()
4217 MLX5_SET(dctc, dctc, my_addr_index, attr->ah_attr.grh.sgid_index); in mlx5_ib_modify_dct()
4218 MLX5_SET(dctc, dctc, hop_limit, attr->ah_attr.grh.hop_limit); in mlx5_ib_modify_dct()
4220 MLX5_SET(dctc, dctc, eth_prio, attr->ah_attr.sl & 0x7); in mlx5_ib_modify_dct()
4838 MLX5_SET(create_rq_in, in, uid, to_mpd(pd)->uid); in create_rq()
4840 MLX5_SET(rqc, rqc, mem_rq_type, in create_rq()
4842 MLX5_SET(rqc, rqc, user_index, rwq->user_index); in create_rq()
4843 MLX5_SET(rqc, rqc, cqn, to_mcq(init_attr->cq)->mcq.cqn); in create_rq()
4844 MLX5_SET(rqc, rqc, state, MLX5_RQC_STATE_RST); in create_rq()
4845 MLX5_SET(rqc, rqc, flush_in_error_en, 1); in create_rq()
4847 MLX5_SET(wq, wq, wq_type, in create_rq()
4856 MLX5_SET(wq, wq, end_padding_mode, MLX5_WQ_END_PAD_MODE_ALIGN); in create_rq()
4859 MLX5_SET(wq, wq, log_wq_stride, rwq->log_rq_stride); in create_rq()
4869 MLX5_SET(wq, wq, two_byte_shift_en, rwq->two_byte_shift_en); in create_rq()
4870 MLX5_SET(wq, wq, log_wqe_stride_size, in create_rq()
4873 MLX5_SET(wq, wq, log_wqe_num_of_strides, in create_rq()
4877 MLX5_SET(wq, wq, log_wq_sz, rwq->log_rq_size); in create_rq()
4878 MLX5_SET(wq, wq, pd, to_mpd(pd)->pdn); in create_rq()
4879 MLX5_SET(wq, wq, page_offset, rwq->rq_page_offset); in create_rq()
4880 MLX5_SET(wq, wq, log_wq_pg_sz, rwq->log_page_size); in create_rq()
4881 MLX5_SET(wq, wq, wq_signature, rwq->wq_sig); in create_rq()
4891 MLX5_SET(rqc, rqc, vsd, 1); in create_rq()
4899 MLX5_SET(rqc, rqc, scatter_fcs, 1); in create_rq()
4908 MLX5_SET(rqc, rqc, delay_drop_en, 1); in create_rq()
5163 MLX5_SET(rqtc, rqtc, rqt_actual_size, sz); in mlx5_ib_create_rwq_ind_table()
5164 MLX5_SET(rqtc, rqtc, rqt_max_size, sz); in mlx5_ib_create_rwq_ind_table()
5167 MLX5_SET(rqtc, rqtc, rq_num[i], init_attr->ind_tbl[i]->wq_num); in mlx5_ib_create_rwq_ind_table()
5170 MLX5_SET(create_rqt_in, in, uid, rwq_ind_tbl->uid); in mlx5_ib_create_rwq_ind_table()
5244 MLX5_SET(modify_rq_in, in, rq_state, curr_wq_state); in mlx5_ib_modify_wq()
5245 MLX5_SET(modify_rq_in, in, uid, to_mpd(wq->pd)->uid); in mlx5_ib_modify_wq()
5246 MLX5_SET(rqc, rqc, state, wq_state); in mlx5_ib_modify_wq()
5259 MLX5_SET(rqc, rqc, vsd, in mlx5_ib_modify_wq()
5277 MLX5_SET(rqc, rqc, counter_set_id, set_id); in mlx5_ib_modify_wq()