Message ID | cover.1697165821.git.yin31149@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=SkB2kz3V; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4S6K8y1Dw8z1yqj for <incoming@patchwork.ozlabs.org>; Fri, 13 Oct 2023 19:16:34 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1qrDFG-0006pw-H4; Fri, 13 Oct 2023 04:10:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <yin31149@gmail.com>) id 1qrDF4-0006Ji-7D for qemu-devel@nongnu.org; Fri, 13 Oct 2023 04:09:55 -0400 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <yin31149@gmail.com>) id 1qrDF1-0001X0-Tr for qemu-devel@nongnu.org; Fri, 13 Oct 2023 04:09:53 -0400 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1c894e4573bso14205665ad.0 for <qemu-devel@nongnu.org>; Fri, 13 Oct 2023 01:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697184589; x=1697789389; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3mEdymVCxzgYaero7DJNwEE9QTNCmCbBka+B7Fju1hA=; b=SkB2kz3VaeaEyvKFAmNPHRJEPdMFU4jQ7hDGeRDS0Z33KjvUG9e/DbjIc+4Qufh5J9 SL4oLXg7MFM8bU9vCBwMaTG0Ye5rYP8cnAcJXVV7hLmuPXS9HrhgGVR+FM9fNDxflkHe LRJND//4xcy0l5Hq/u9rPeszaJCrlEFO2t68XSPKZX8LaxDu1ecvWXLdiax5bdaSIttl 396VHcMX/nKfnQ9OcPHDFvwSw+nUQGvEbv8ac8kD5wLSUGDNkiMvEsTe87Du/16sAvX1 3GIrhcluf4TTLlO9qiJkkn/S1crE8JlePzJTJKAR9TYlFfmCK9pWZl3v0qqxhtZR3Xw9 ycaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697184589; x=1697789389; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3mEdymVCxzgYaero7DJNwEE9QTNCmCbBka+B7Fju1hA=; b=WtHNKAN0rpfQUIelIb2FMPV8yDsIDLthTqPUIJSeVGwocM7DLsyKPEvZtNukp5D27O D3lUvsF6bkbny0/hAfczeWsZKUkTqcp5aZdzxJGGAyZmCb6sGl1Hta1MGR/JpeluRn4m IUMCUHvEplpPV6xYRm3h4Uduh/pkrPlpDykMaEpjYzPk285JMl3BH+/hrxBbazgkZy6b cNIXzOTrKQtEakK99MuR0ar5E4HBkExVu7gvnVoA0s0prtkqojkP5BYDsj9IQWJo99Lr 15DOAJn3sYe+Mo2l9Sx2bwqgUBAHdO+PgNhZuAaVnPnTUQtkCXI+FwBSQXMZzYOc2vIR ZJIg== X-Gm-Message-State: AOJu0YzmSUU+UtRpVfFVX2TsRWD/vzlGFK6YK1bqd4auUabMCTw4K6Lf dqSs75DrbXQ0q8zqaF08LeU= X-Google-Smtp-Source: AGHT+IF1+ul3SrSo7mu46mBM5PBmnn+nQkCqorpHECHa7JR7BSo5oJvFsgYkZs4B6XQdBPCOTwYAMg== X-Received: by 2002:a17:903:41c1:b0:1c6:30d1:7214 with SMTP id u1-20020a17090341c100b001c630d17214mr26625811ple.55.1697184589067; Fri, 13 Oct 2023 01:09:49 -0700 (PDT) Received: from localhost ([183.242.254.166]) by smtp.gmail.com with ESMTPSA id h14-20020a170902680e00b001b03a1a3151sm3322904plk.70.2023.10.13.01.09.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 01:09:48 -0700 (PDT) From: Hawkins Jiawei <yin31149@gmail.com> To: jasowang@redhat.com, mst@redhat.com, eperezma@redhat.com Cc: qemu-devel@nongnu.org, yin31149@gmail.com, 18801353760@163.com Subject: [PATCH v5 0/7] vdpa: Send all CVQ state load commands in parallel Date: Fri, 13 Oct 2023 16:09:35 +0800 Message-Id: <cover.1697165821.git.yin31149@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=yin31149@gmail.com; helo=mail-pl1-x630.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org |
diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c index 6b958d6363..501b510fd2 100644 --- a/hw/net/vhost_net.c +++ b/hw/net/vhost_net.c @@ -295,7 +295,10 @@ static int vhost_net_start_one(struct vhost_net *net, } if (net->nc->info->load) { + int64_t start_us = g_get_monotonic_time(); r = net->nc->info->load(net->nc); + error_report("vhost_vdpa_net_load() = %ld us", + g_get_monotonic_time() - start_us); if (r < 0) { goto fail; }