From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5C7B041D8D for ; Mon, 27 Feb 2023 08:10:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5519041143; Mon, 27 Feb 2023 08:10:18 +0100 (CET) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2081.outbound.protection.outlook.com [40.107.102.81]) by mails.dpdk.org (Postfix) with ESMTP id E700C40A7D for ; Mon, 27 Feb 2023 08:10:16 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KNRWQuzvdSehCXXg47NDM1jJVffgHZDaecW/B3PI2MmU3B0FGGPtttk0MWlfDSnZqoW3UtvEUqlzFOzYJbVvhQXVqcmYAPVR1jpERyw5xKXOflYsasCcApwckhTC9CmXhIlIuTjY7l+pI2+iDMPa0YYvUXYI4iRnsp+JxDW+746YOAoSAiEDB14NWG/nR8Ei7MGeVecT2FdOFxumzc6/cBXZqjDswx0dZ+5QJxM1bk32T3LsjoUm0KS9qrx+ZB14WCNBDEaavfemM1LUWpZbBtC81yspL+e0I6rLtcouCk2RAF5Mg9g3L9JwaAUx8nqBuUbyIrEzkxJi8DYXi8ITDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7dUXNsLTieqOKzeUt9iCBZAgIF1no1OBzcgsH91sHUE=; b=T+qsVZ8tSW5sqAuki2C39arorhfIV8aD3XVRBZtsyvO2Q+LtQdClxf259bRbvjhsORNWlaCW51/cds18wjyDmQCT9AsNq68gtQfWcLgLN61avN9jn/wl3znJROuaV+ZmK25j6HNcdMQl15rOywk2tLx4gjl/OUjnoVSi7vN5PDTSPRv7UaSzGE6f59S0HDKWd+miDaT3IItFY6+LfTCoz1zZfc5XJvs6Z3jvEG+KyLhnCQJ9d+C3MtXfVR1rdx924ONVwhOXvJ2v/CxjumjbrDpDNlH4ogY5JS8LLt3I5r7Pm7y9NMysjHL6NqfCnQnnpQ5ihUToggw2UarDKj+7kg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=redhat.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7dUXNsLTieqOKzeUt9iCBZAgIF1no1OBzcgsH91sHUE=; b=FRUofe6CdFxIrmTcjtw11qm4EMyG0yKhBBmxZdJZimACrbxi5a85N1wvNHVBh2rRW4h+AF5/tF6gWbP892jJuU9uKutmRz6gSbtUhaajww1oZYjyorukFulg2uaoVR9aJDTcGBBAiUYHYNapvTUuorsNUSDzU7wP46wc2RVPbUieRVe5GOQ5kJQbw2nv3zrKygA4ZBWYIjUCa4vqDESstYocqLE1xB9HFxlm5P/5c6SFWzI6+3KmgbXUEbvH4UHXwB8m5OQlpbUUfYi+9u7mTWeVhG0a/CkdUHinAl00HMDHkVxXamQfDvxrF3KtC3KTyq8EdmquaQAxVMBmti52og== Received: from DM6PR14CA0041.namprd14.prod.outlook.com (2603:10b6:5:18f::18) by DS7PR12MB6141.namprd12.prod.outlook.com (2603:10b6:8:9b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29; Mon, 27 Feb 2023 07:10:15 +0000 Received: from DM6NAM11FT082.eop-nam11.prod.protection.outlook.com (2603:10b6:5:18f:cafe::f) by DM6PR14CA0041.outlook.office365.com (2603:10b6:5:18f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29 via Frontend Transport; Mon, 27 Feb 2023 07:10:15 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by DM6NAM11FT082.mail.protection.outlook.com (10.13.173.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16 via Frontend Transport; Mon, 27 Feb 2023 07:10:15 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Sun, 26 Feb 2023 23:10:06 -0800 Received: from nvidia.com (10.126.230.37) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Sun, 26 Feb 2023 23:10:02 -0800 From: Xueming Li To: Maxime Coquelin CC: Chenbo Xia , Kevin Traynor , dpdk stable Subject: patch 'vhost: decrease log level for unimplemented requests' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 14:59:52 +0800 Message-ID: <20230227070107.15664-84-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230227070107.15664-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230227070107.15664-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.37] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT082:EE_|DS7PR12MB6141:EE_ X-MS-Office365-Filtering-Correlation-Id: 4a4063a1-e87f-469e-6fa1-08db1891acd7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Q9+LH/qJhEy/+OWDXbdwiu8SLLQKztIfcQHk9SsFhPcKf4wKY1mtzRcZKFrMAg95qe3Gxg+8tRnMhaOP2uOrEnyOHKz2wOLYm1KPM/tMTytxGCDJF6kkvJ0n6NUiVTk0mhTwIsArXQQ6Xk/7ZonTxyzXe90peYLTZVkAHARQpb2Q0QahQT0x1dGJpEGi6ZjKC5ztOuubFJ+ps7BoF2vSPYT+MFn64/BX6zXh9Ybyas9RK39FLqdXI+5IGZpP/PuKAMjNWchjb261rmsMsz0y/a/oQL5VFbjDZe9klEZQXJZyGHQy+Ked7308jjP58AKXFJewiu1HjWC1TJECmcXTWTzXL77+M2RIaOLCZBCALJmKYySbBRQvoELSGmMDZeTAVQiG8XCK4wTyiV61eL2VtwIDum7Bq4kCWQH8H2datdMA78m8QnuVkVyY98VwAZX+RnVZKQkq+sHf0yzCiOFo8sTP5KnRddr1RRi+hpJp2A4EizOsljXplbm2d3PRhxdC71FHTvQB8XsrFwCuvQYruGxrvt083NekZAHPIwbVpQWajqicvdqfOfINypHRcW0+3BwC59b6DXqCBxF/pfjojitkJ5uWJEcn/O/cruMczxbYRlEU3qjdUs7/h4nod6taRFPH9HqbfB+tJhk2lxgFvIUQegqBXa35eabscgKeS7yvx88MPkn8kKA0mK0swwKihsLPPlzYxLhvDqJ8EXUV+u8dlW5THwH6LAl5K3SuwvjpN2aYRxZ8VeLepT4Q1ItBP2Cc3RFQ3Zft6tV3UxbGQuVf+KcNEEXRPbDfTKv+43e5pcBJVXmlw3JPOdKlpW6q X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230025)(4636009)(396003)(346002)(376002)(39860400002)(136003)(451199018)(46966006)(40470700004)(36840700001)(2616005)(336012)(426003)(47076005)(478600001)(7696005)(40460700003)(316002)(186003)(26005)(6286002)(1076003)(54906003)(16526019)(6666004)(53546011)(966005)(8676002)(83380400001)(6916009)(4326008)(70586007)(70206006)(41300700001)(356005)(34020700004)(5660300002)(8936002)(55016003)(36860700001)(82740400003)(36756003)(7636003)(86362001)(82310400005)(40480700001)(2906002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:10:15.0619 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4a4063a1-e87f-469e-6fa1-08db1891acd7 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT082.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB6141 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 22.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/01/23. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=cf313170bf580ef921b9c3df614f2fd57542c49e Thanks. Xueming Li --- >From cf313170bf580ef921b9c3df614f2fd57542c49e Mon Sep 17 00:00:00 2001 From: Maxime Coquelin Date: Mon, 6 Feb 2023 16:07:33 +0100 Subject: [PATCH] vhost: decrease log level for unimplemented requests Cc: Xueming Li [ upstream commit 43ccd55fdd6ab34b55060045594cc21aefa74383 ] This patch changes VHOST_USER_SET_VRING_ERR and VHOST_USER_SET_LOG_FD "not implemented" log levels from INFO to DEBUG, as implementing these requests is not mandatory. Having them being displayed at INFO level may induce some confusion to the end-user. Fixes: fd29c33b651a ("vhost: handle unsupported message types in functions") Signed-off-by: Maxime Coquelin Reviewed-by: Chenbo Xia Acked-by: Kevin Traynor --- lib/vhost/vhost_user.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vhost/vhost_user.c b/lib/vhost/vhost_user.c index 9902ae9944..76058c3ee5 100644 --- a/lib/vhost/vhost_user.c +++ b/lib/vhost/vhost_user.c @@ -1809,7 +1809,7 @@ static int vhost_user_set_vring_err(struct virtio_net **pdev, if (!(ctx->msg.payload.u64 & VHOST_USER_VRING_NOFD_MASK)) close(ctx->fds[0]); - VHOST_LOG_CONFIG(dev->ifname, INFO, "not implemented\n"); + VHOST_LOG_CONFIG(dev->ifname, DEBUG, "not implemented\n"); return RTE_VHOST_MSG_RESULT_OK; } @@ -2326,7 +2326,7 @@ static int vhost_user_set_log_fd(struct virtio_net **pdev, return RTE_VHOST_MSG_RESULT_ERR; close(ctx->fds[0]); - VHOST_LOG_CONFIG(dev->ifname, INFO, "not implemented.\n"); + VHOST_LOG_CONFIG(dev->ifname, DEBUG, "not implemented.\n"); return RTE_VHOST_MSG_RESULT_OK; } -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:43.622360000 +0800 +++ 0085-vhost-decrease-log-level-for-unimplemented-requests.patch 2023-02-27 14:08:40.809237000 +0800 @@ -1 +1 @@ -From 43ccd55fdd6ab34b55060045594cc21aefa74383 Mon Sep 17 00:00:00 2001 +From cf313170bf580ef921b9c3df614f2fd57542c49e Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 43ccd55fdd6ab34b55060045594cc21aefa74383 ] @@ -13 +15,0 @@ -Cc: stable@dpdk.org @@ -23 +25 @@ -index 8c1d60b76b..b4236820a2 100644 +index 9902ae9944..76058c3ee5 100644 @@ -26 +28 @@ -@@ -1818,7 +1818,7 @@ static int vhost_user_set_vring_err(struct virtio_net **pdev, +@@ -1809,7 +1809,7 @@ static int vhost_user_set_vring_err(struct virtio_net **pdev, @@ -35 +37 @@ -@@ -2340,7 +2340,7 @@ static int vhost_user_set_log_fd(struct virtio_net **pdev, +@@ -2326,7 +2326,7 @@ static int vhost_user_set_log_fd(struct virtio_net **pdev,