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 9F850A0C41 for ; Tue, 30 Nov 2021 17:37:41 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 940F7410F7; Tue, 30 Nov 2021 17:37:41 +0100 (CET) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id 81B1D411CB for ; Tue, 30 Nov 2021 17:37:39 +0100 (CET) Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 9C8843FFE1 for ; Tue, 30 Nov 2021 16:37:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638290258; bh=W7kcy9xLpqZH9oap0luW7++lngkPuib8QZWUzHZiQoU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=HggAkRkspxdNFxaIYKZLy8fYmfZRFudjQ3DWK3DTPLmVP2Bt6+K6RkYF2WehCfkas I76Vc9h8o069XWvTD+k2bMCLk5VOrtDaraQ93ejRKQiir9SY8yigD0joutZoRAfmOI rOZTgzedCSQvqcH3fo9Mmp45YoOnURHf348IGdCvg/HXCK0LCgQBgn+IFXJm/URDiz XJJZ8OD7slgYH9PqKjmzR6LcTROt+Jm+jzD5S2KBbojlt9inBldevhgDXIawEGp20v 14eGC2u4dOhYtGUn9eFlSXpZ8L4o6Z10uvqlt/mVoc5jJIedkctTR4Ey81cRj2cGVy NLyvXdzh4zcCg== Received: by mail-ed1-f69.google.com with SMTP id m17-20020aa7d351000000b003e7c0bc8523so17444957edr.1 for ; Tue, 30 Nov 2021 08:37:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=W7kcy9xLpqZH9oap0luW7++lngkPuib8QZWUzHZiQoU=; b=M5WTSLAxk7AEZS7zlAnhd2CgedIW/iBs50cY7SmgudJb3h3KSBwpUFA/6jFZM7l/M0 i+QUldGk0zTBLJGgkoCOWYdsnOpf3ThKeunKDv/CxNVjbkt9vYCgcnlofNjWkt0yCWcy l5kUpphtXzOX5ZYfETNUxB7vLrTlSPBBAlq0ctV0KwM2G3BeD/NM6L4f878vqHY9i045 FNvZR2BYd8hhftq9ibB6c380WfjhMcfr69F8SD65RpMRbAmdVExCO0YKLhtqHr9jsApl tpznamsIfJE5ipJLwjdHH1g/yTPeEoxU+1pv+DQeSsn6iHe1puwNB5XUZct6RiTWG+v2 Hd7w== X-Gm-Message-State: AOAM531YimkbeLfQSDFtodDK4qNVw99gsb6lD6ftkeW+aMgjmGnQhPZp zAzOLQJnaGkQ0BlWreNz93rpaMRwIrlWdzFPgIG7XOv1I7/mALF1aI57xfFiMpy691FUzfqukrE 3ItmHJJfNDD+fdM+UbcV4VKI3 X-Received: by 2002:a05:6402:2067:: with SMTP id bd7mr90340edb.240.1638290258381; Tue, 30 Nov 2021 08:37:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbQ4hygLJFplQDjX3RrEtuc07dU/dpMBdyqK6JrOMquJA1WYjg1nKyGlwQ7VUg3CNDPi7I+Q== X-Received: by 2002:a05:6402:2067:: with SMTP id bd7mr90324edb.240.1638290258255; Tue, 30 Nov 2021 08:37:38 -0800 (PST) Received: from localhost.localdomain ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id sd28sm10442587ejc.37.2021.11.30.08.37.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 08:37:37 -0800 (PST) From: christian.ehrhardt@canonical.com To: Gaoxiang Liu Cc: Chenbo Xia , dpdk stable Subject: patch 'vhost: log socket path on adding connection' has been queued to stable release 19.11.11 Date: Tue, 30 Nov 2021 17:33:54 +0100 Message-Id: <20211130163605.2460997-30-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> References: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 19.11.11 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before December 10th 2021. 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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/8c58b366d1f66a59f9d01307dae1750ff768e5da Thanks. Christian Ehrhardt --- >From 8c58b366d1f66a59f9d01307dae1750ff768e5da 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 [ 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 dc3ee1e99d..dc70ce154f 100644 --- a/lib/librte_vhost/socket.c +++ b/lib/librte_vhost/socket.c @@ -241,7 +241,7 @@ vhost_user_add_connection(int fd, struct vhost_user_socket *vsocket) if (vsocket->linearbuf) vhost_enable_linearbuf(vid); - RTE_LOG(INFO, VHOST_CONFIG, "new device, handle is %d\n", vid); + RTE_LOG(INFO, VHOST_CONFIG, "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.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-30 16:50:07.829917289 +0100 +++ 0030-vhost-log-socket-path-on-adding-connection.patch 2021-11-30 16:50:05.614872238 +0100 @@ -1 +1 @@ -From e53084d84b0f2ae67df8d785e8d79df530b21a50 Mon Sep 17 00:00:00 2001 +From 8c58b366d1f66a59f9d01307dae1750ff768e5da Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit e53084d84b0f2ae67df8d785e8d79df530b21a50 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -16 +17 @@ - lib/vhost/socket.c | 2 +- + lib/librte_vhost/socket.c | 2 +- @@ -19,7 +20,7 @@ -diff --git a/lib/vhost/socket.c b/lib/vhost/socket.c -index d6f9414c4d..c6548608a3 100644 ---- a/lib/vhost/socket.c -+++ b/lib/vhost/socket.c -@@ -243,7 +243,7 @@ vhost_user_add_connection(int fd, struct vhost_user_socket *vsocket) - dev->async_copy = 1; - } +diff --git a/lib/librte_vhost/socket.c b/lib/librte_vhost/socket.c +index dc3ee1e99d..dc70ce154f 100644 +--- a/lib/librte_vhost/socket.c ++++ b/lib/librte_vhost/socket.c +@@ -241,7 +241,7 @@ vhost_user_add_connection(int fd, struct vhost_user_socket *vsocket) + if (vsocket->linearbuf) + vhost_enable_linearbuf(vid); @@ -27,2 +28,2 @@ -- 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); +- RTE_LOG(INFO, VHOST_CONFIG, "new device, handle is %d\n", vid); ++ RTE_LOG(INFO, VHOST_CONFIG, "new device, handle is %d, path is %s\n", vid, vsocket->path);