Lines Matching refs:qpc

1024 	void *qpc;  in mlx5vf_create_rc_qp()  local
1059 qpc = MLX5_ADDR_OF(create_qp_in, in, qpc); in mlx5vf_create_rc_qp()
1060 MLX5_SET(qpc, qpc, st, MLX5_QP_ST_RC); in mlx5vf_create_rc_qp()
1061 MLX5_SET(qpc, qpc, pm_state, MLX5_QP_PM_MIGRATED); in mlx5vf_create_rc_qp()
1062 MLX5_SET(qpc, qpc, pd, tracker->pdn); in mlx5vf_create_rc_qp()
1063 MLX5_SET(qpc, qpc, uar_page, tracker->uar->index); in mlx5vf_create_rc_qp()
1064 MLX5_SET(qpc, qpc, log_page_size, in mlx5vf_create_rc_qp()
1066 MLX5_SET(qpc, qpc, ts_format, mlx5_get_qp_default_ts(mdev)); in mlx5vf_create_rc_qp()
1068 MLX5_SET(qpc, qpc, user_index, 0xFFFFFF); in mlx5vf_create_rc_qp()
1069 MLX5_SET(qpc, qpc, no_sq, 1); in mlx5vf_create_rc_qp()
1071 MLX5_SET(qpc, qpc, cqn_rcv, tracker->cq.mcq.cqn); in mlx5vf_create_rc_qp()
1072 MLX5_SET(qpc, qpc, log_rq_stride, log_rq_stride - 4); in mlx5vf_create_rc_qp()
1073 MLX5_SET(qpc, qpc, log_rq_size, log_rq_sz); in mlx5vf_create_rc_qp()
1074 MLX5_SET(qpc, qpc, rq_type, MLX5_NON_ZERO_RQ); in mlx5vf_create_rc_qp()
1075 MLX5_SET64(qpc, qpc, dbr_addr, qp->db.dma); in mlx5vf_create_rc_qp()
1080 MLX5_SET(qpc, qpc, rq_type, MLX5_ZERO_LEN_RQ); in mlx5vf_create_rc_qp()
1126 void *qpc; in mlx5vf_activate_qp() local
1130 qpc = MLX5_ADDR_OF(rst2init_qp_in, init_in, qpc); in mlx5vf_activate_qp()
1131 MLX5_SET(qpc, qpc, primary_address_path.vhca_port_num, 1); in mlx5vf_activate_qp()
1132 MLX5_SET(qpc, qpc, pm_state, MLX5_QPC_PM_STATE_MIGRATED); in mlx5vf_activate_qp()
1133 MLX5_SET(qpc, qpc, rre, 1); in mlx5vf_activate_qp()
1134 MLX5_SET(qpc, qpc, rwe, 1); in mlx5vf_activate_qp()
1152 qpc = MLX5_ADDR_OF(init2rtr_qp_in, rtr_in, qpc); in mlx5vf_activate_qp()
1154 MLX5_SET(qpc, qpc, mtu, IB_MTU_4096); in mlx5vf_activate_qp()
1155 MLX5_SET(qpc, qpc, log_msg_max, MLX5_CAP_GEN(mdev, log_max_msg)); in mlx5vf_activate_qp()
1156 MLX5_SET(qpc, qpc, remote_qpn, remote_qpn); in mlx5vf_activate_qp()
1157 MLX5_SET(qpc, qpc, primary_address_path.vhca_port_num, 1); in mlx5vf_activate_qp()
1158 MLX5_SET(qpc, qpc, primary_address_path.fl, 1); in mlx5vf_activate_qp()
1159 MLX5_SET(qpc, qpc, min_rnr_nak, 1); in mlx5vf_activate_qp()
1167 qpc = MLX5_ADDR_OF(rtr2rts_qp_in, rts_in, qpc); in mlx5vf_activate_qp()
1169 MLX5_SET(qpc, qpc, retry_count, 7); in mlx5vf_activate_qp()
1170 MLX5_SET(qpc, qpc, rnr_retry, 7); /* Infinite retry if RNR NACK */ in mlx5vf_activate_qp()
1171 MLX5_SET(qpc, qpc, primary_address_path.ack_timeout, 0x8); /* ~1ms */ in mlx5vf_activate_qp()