Lines Matching refs:qp_ctx

709 	struct mlx4_qp_context	*qp_ctx = inbox->buf + 8;  in update_gid()  local
711 u32 ts = (be32_to_cpu(qp_ctx->flags) >> 16) & 0xff; in update_gid()
715 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in update_gid()
717 qp_ctx->pri_path.mgid_index = in update_gid()
720 qp_ctx->pri_path.mgid_index = slave | 0x80; in update_gid()
724 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in update_gid()
726 qp_ctx->pri_path.mgid_index += in update_gid()
728 qp_ctx->pri_path.mgid_index &= 0x7f; in update_gid()
730 qp_ctx->pri_path.mgid_index = slave & 0x7F; in update_gid()
734 port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; in update_gid()
736 qp_ctx->alt_path.mgid_index += in update_gid()
738 qp_ctx->alt_path.mgid_index &= 0x7f; in update_gid()
740 qp_ctx->alt_path.mgid_index = slave & 0x7F; in update_gid()
3190 struct mlx4_qp_context *qp_ctx; in verify_qp_parameters() local
3195 qp_ctx = inbox->buf + 8; in verify_qp_parameters()
3196 qp_type = (be32_to_cpu(qp_ctx->flags) >> 16) & 0xff; in verify_qp_parameters()
3200 qp_ctx->params2 &= ~cpu_to_be32(MLX4_QP_BIT_FPP); in verify_qp_parameters()
3202 if (qp_ctx->rate_limit_params) in verify_qp_parameters()
3218 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in verify_qp_parameters()
3223 if (qp_ctx->pri_path.mgid_index >= num_gids) in verify_qp_parameters()
3227 port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; in verify_qp_parameters()
3232 if (qp_ctx->alt_path.mgid_index >= num_gids) in verify_qp_parameters()
3244 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in verify_qp_parameters()