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 C030FA034F for ; Wed, 10 Nov 2021 07:38:42 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA51140142; Wed, 10 Nov 2021 07:38:42 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2085.outbound.protection.outlook.com [40.107.223.85]) by mails.dpdk.org (Postfix) with ESMTP id 9C9C340142 for ; Wed, 10 Nov 2021 07:38:41 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iwPAAMO0bi75jHxSVWBlJSQkO7Wfv+iwQmjr2y1XLw+Pr7AHC675fzLfWEf8WuDe+dvQIvvt6e71DZGrbrs1C9B/nFH16Luc3JQKPa3pXonsRdLvt/7Egd2uXEbvObLx2f210CQTq0URWaYvh8qB+M1CHW98Gt0l1cgsprhkD9STRXn9Z5ZsIwByS16AQd4IjP6Ki2yyzBgxVnovhpK8yfHoYzCvg+nPrxw8IFMK0+UM+NXKLP1MIEWbfCemX3R+YuRSr/WYLw0XCFbVMcgkXEIkY6endd9+yPp++9AO1cEAtzct8b1aMS6eNG2u2QHRq0Js6H6EvFjpC6RvVkXLZQ== 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=QzUI1zuScFxn7Y/ytGTW8rXPsg3V/mkf6xwkCsEMhEE=; b=kO5Xu8u6Lhzo7bcFm3FySmJsHreDO1KDBER6T471yrju/cqfNlEOq/mTB+X4E2jCJ7zv4ETMerDZumyKofpSO04+7cVVS4rOXN+yel0HSZAeTzddiuNVD6gUeaKDhuYvJ0kDsv+yOmrW4F4gPMa1J7FTtdS9RhoWs1hYu5fB33LbX5Jmpdorua5C96u7rwPbZrL+HfZEGKoybucy/bH2/4VTHU0Lx/lwqIWYa7WICg+oMLrtw61VsdqNLyASFD34jRkkpz/sEGLvgHVRDix73Qavu/cWhJ5bwTSj3kDCudDxuSVZHOyTktwqyNsDqJ+ZEVEbFgXUN8uG1vaiX4KuQg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine 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=QzUI1zuScFxn7Y/ytGTW8rXPsg3V/mkf6xwkCsEMhEE=; b=bqp3NVCYVNNCN9qJM+D0f+wcdlVft3UPEGWGnFsX2u23/l6yNhzKP8rRrO0uolaCTXFmYuclhxgebZYUsJq0m5OObudj3B1oEOZLWzebID6Nu8JuyOo2ray+u0iREA595cgbxqpMLBOyElmNmQOYvVwimoEpKISTJxQY76bnHmHfeql8ds0NXsKOevy4Gj1o81DW9grIh6+xqM9V9pTlNbSaaZs8dmlQ2kq+cTTpODJ1N2UWO7csGXGyownu8SEUROdS038Vms831Pr6BbMsOv3rb+EF3inUokqAmnocgdNrgyBjS+e0axr4MSqJKgpmjKOsCw0Nrn71H7oerIVJAQ== Received: from DM6PR01CA0028.prod.exchangelabs.com (2603:10b6:5:296::33) by CY4PR12MB1782.namprd12.prod.outlook.com (2603:10b6:903:123::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15; Wed, 10 Nov 2021 06:38:40 +0000 Received: from DM6NAM11FT044.eop-nam11.prod.protection.outlook.com (2603:10b6:5:296:cafe::9) by DM6PR01CA0028.outlook.office365.com (2603:10b6:5:296::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11 via Frontend Transport; Wed, 10 Nov 2021 06:38:40 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) 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.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT044.mail.protection.outlook.com (10.13.173.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 10 Nov 2021 06:38:39 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:38:34 +0000 From: Xueming Li To: Gaoxiang Liu CC: Luca Boccassi , Chenbo Xia , dpdk stable Date: Wed, 10 Nov 2021 14:28:59 +0800 Message-ID: <20211110063216.2744012-56-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e8073571-2cd0-4ff9-11f0-08d9a414bb17 X-MS-TrafficTypeDiagnostic: CY4PR12MB1782: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cGF4LOY//HRfUV8lPyRaswLE+fDzqeetFh9E2nukhfO8xNvdzqoXNPAbfX9XlcnfGoZaP5QugbVaEfQrAZKYWz9t9asLbmVX//UMsuPRuVHmGgwXatfsLi1aTAoyBCGG27KI435dthcBzT2//Nn4MvZiFrvWfbI49gXe5Bn1cnvlbVT2DULOFE2uA3aap36egkorLZSqcTlVEnyF2OEWNNyw5uLUVYAmcjHS2DS+9ANRP/7XW6ggX3QR9PfctFFbAHQfCTFXwLpNwxfKmybVzvBl/0NyUxyGEiqZH3CwrdTMqcPOHkibGAcgu3kbMfrVnqvDv8dyGETfW4fdVxIQmkRUgUkSnsByujf/uUsUBlzjg6OhfqAdPBZ7yh/a15oPxFH2e2g9tdOLsHFZYZoe3MHXCC3dqVaU8wikl27U9isKUSHI125MazyQIyBg6Xh1plo8z/QPt+jAIE8fYnNKmNsR6ib8S8smK0oWP1xcruP+vXoNRkdRiDdLvRNcCNdQkkjBrCEFPAAfmAJp0mG/zX4jgrIoqKLtuHDanq60Rsb5QXlqgYuvV7/HyoLT4ITKF7esQ6/gE3qIVHEC9LEvdyiPhZ5KVqFIU5p78aJWvyHQ5Scl9+QP1dlsVo0THFC2QZAJWLkkJxwQosKeCSsiuywUEGEfRgvSGj6KzObuO0BZ1Voe+RSK+iIxRT6oSpoc9e1S5QX08ynvg2nB3RefeavU5ny2aL8XVMYkozrzHYlpzC+vkXb+bLbZ+b+lF0MbTmwcy7w+AAtCDGP9gewDmsfrS6VvnIu4qNuRC40J7qSbMPcjDlu+65iV6maUGq6JhtJ4Z4Mi9J3D+LbqL0Dhgw== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(6286002)(8936002)(16526019)(2616005)(1076003)(83380400001)(508600001)(966005)(356005)(7696005)(4326008)(5660300002)(36756003)(336012)(8676002)(6916009)(4001150100001)(6666004)(316002)(55016002)(426003)(2906002)(54906003)(70586007)(26005)(7636003)(47076005)(36906005)(70206006)(186003)(53546011)(82310400003)(86362001)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:38:39.3728 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e8073571-2cd0-4ff9-11f0-08d9a414bb17 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT044.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1782 Subject: [dpdk-stable] patch 'vhost: log socket path on adding connection' has been queued to stable release 20.11.4 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/12/21. 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://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/aafb232afb5115716500219bb5cdd884a4fe39e6 Thanks. Xueming Li --- >From aafb232afb5115716500219bb5cdd884a4fe39e6 Mon Sep 17 00:00:00 2001 From: Gaoxiang Liu Date: Tue, 7 Sep 2021 08:51:27 +0800 Subject: [PATCH] vhost: log socket path on adding connection Cc: Xueming Li [ upstream commit e53084d84b0f2ae67df8d785e8d79df530b21a50 ] Add log print of socket path in vhost_user_add_connection. It's useful when adding a mass of socket connections, because the information of every connection is clearer. Fixes: 8f972312b8f4 ("vhost: support vhost-user") Signed-off-by: Gaoxiang Liu Reviewed-by: Chenbo Xia --- lib/librte_vhost/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_vhost/socket.c b/lib/librte_vhost/socket.c index d6f9414c4d..c6548608a3 100644 --- a/lib/librte_vhost/socket.c +++ b/lib/librte_vhost/socket.c @@ -243,7 +243,7 @@ vhost_user_add_connection(int fd, struct vhost_user_socket *vsocket) dev->async_copy = 1; } - VHOST_LOG_CONFIG(INFO, "new device, handle is %d\n", vid); + VHOST_LOG_CONFIG(INFO, "new device, handle is %d, path is %s\n", vid, vsocket->path); if (vsocket->notify_ops->new_connection) { ret = vsocket->notify_ops->new_connection(vid); -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:04.545642285 +0800 +++ 0055-vhost-log-socket-path-on-adding-connection.patch 2021-11-10 14:17:01.807413276 +0800 @@ -1 +1 @@ -From e53084d84b0f2ae67df8d785e8d79df530b21a50 Mon Sep 17 00:00:00 2001 +From aafb232afb5115716500219bb5cdd884a4fe39e6 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit e53084d84b0f2ae67df8d785e8d79df530b21a50 ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org @@ -16 +18 @@ - lib/vhost/socket.c | 2 +- + lib/librte_vhost/socket.c | 2 +- @@ -19 +21 @@ -diff --git a/lib/vhost/socket.c b/lib/vhost/socket.c +diff --git a/lib/librte_vhost/socket.c b/lib/librte_vhost/socket.c @@ -21,2 +23,2 @@ ---- a/lib/vhost/socket.c -+++ b/lib/vhost/socket.c +--- a/lib/librte_vhost/socket.c ++++ b/lib/librte_vhost/socket.c