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 7AB7446364 for ; Fri, 7 Mar 2025 13:24:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6FC3640E35; Fri, 7 Mar 2025 13:24:55 +0100 (CET) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by mails.dpdk.org (Postfix) with ESMTP id 2AA4C4029E for ; Fri, 7 Mar 2025 13:24:54 +0100 (CET) Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-38f2f391864so999728f8f.3 for ; Fri, 07 Mar 2025 04:24:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741350294; x=1741955094; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Vw8F+e9ygeHMRYako7nP0Yq7r9m9kFuLvL5M+N8Hi40=; b=MKq80itTTziM5XWPx22/jDr6U2d6PjVKQLnmtYSRS92Cddz9twV3nqtQV1QcGETsFH W3LeM1dUxRm4IzATajYlYnjK0TsTHIWfa+b8uL8WIFZm+ADJvfFxs1lFakKLhv2dTlKh CbZtL2PLq019lqldo21wIy7DPHYxOkRTglJQQpHN329NZFLP9vOwy0s+5n/5m/7YAlRp FQBo+R5IZ9ZfXNoJeXzQut/c15xthv1Art+IJvmw9ATlWvvtwFMGb8hjeiJFRB3fZQLV DX6jqVFG/Oxf3SVAno6PIXCV2DzKsDQN6PqvscwQumzZJNfS2KrznNUTX4HGfTJ8Je+g mBeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741350294; x=1741955094; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Vw8F+e9ygeHMRYako7nP0Yq7r9m9kFuLvL5M+N8Hi40=; b=gSCA2dl+RfH2D6oDskGMj1DGo/MZ31xnfI0gR+YroiKcSH7BxlRItHWwXR+U0Yx0/q SQ1KNEhB7TC1nfhIYRwZVwIKMuHRIJ+95jSSWlFuh4EkvnYG575FpfCm7gaFaqCcST4S nq7TpxBIiL2Bk7w06uu9xYIEd8N+YkB0Q/Grw+m0dyqolvMGnNMgr32dJu2tJ96neL4b xFDQlrk7wH/x6Ad3y7F0X2rLMvRTHa9V7p/5G5CL15jT0rOVltaa4DRX/MATwDD9PdAs XwIpEHeEH0k6Hc6Bhgckc4oFQcycPv9nBr7ASCZclns/7crgowPlWLcpkXM/zgcyRH+i fkTw== X-Forwarded-Encrypted: i=1; AJvYcCVLvSMaZZWwCXppcFAv910EUMwfKgF5IUPyZhk2t+strTYMPq5W69CZterR62wasz2Z3KMJASs=@dpdk.org X-Gm-Message-State: AOJu0YyfGvY7XCPENjX0vv61w9xBRvwdrx3LgXvU64kOQA1M0zZ5MMgZ j5wJ+/OWWmRh7M/BNwN4U5be2NIZ3eQaegU1pygLsaDH+se7Z/IA+wz90QQO X-Gm-Gg: ASbGncsPorxQvb66H0H1bS7rB8K3U/sd+WkZrlr+ztkvMA+FzrAiC8cX1zpky/91xWi AkpvWB7zBDwbXi1rg+02ba0HEE7bTLWq8RyVGBcHkO3ycupiI11FToUTXvliG/h+0dvhYqEbJ1q p0ZVvgd4y4+6WxV+1azFw6IsbbHOM1b/ZrxNCTBpVj+INHtuF3BV33TE4K0/yobU/dTX3AoD839 +q+J1yGSwfdZwlJ5dpDWZTMjiFxYC9mXXXwc+Y32MTa0zowPFRlVKEtI2h1OlsYvQ9ilKBOwurB LvJ73rlr458orE16z8Cc1fJwZ0w153wuuus2uvcIKQgkWcVJecE= X-Google-Smtp-Source: AGHT+IH0IPomG9sPDqozuVUPjW0QqrmsaoMKqjk4sPV8RdWXC3ixEmKYDLLcZPFqyih/e6KMIPJ2ww== X-Received: by 2002:a05:6000:4718:b0:390:e8d4:6517 with SMTP id ffacd0b85a97d-39132d29464mr2191917f8f.21.1741350293668; Fri, 07 Mar 2025 04:24:53 -0800 (PST) Received: from localhost ([2a01:4b00:d036:ae00:ff31:f049:bd38:f7cf]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-3912bfb7aefsm5143658f8f.20.2025.03.07.04.24.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Mar 2025 04:24:53 -0800 (PST) From: luca.boccassi@gmail.com To: Gowrishankar Muthukrishnan Cc: Akhil Goyal , Maxime Coquelin , dpdk stable Subject: patch 'examples/vhost_crypto: fix user callbacks' has been queued to stable release 22.11.8 Date: Fri, 7 Mar 2025 12:24:08 +0000 Message-ID: <20250307122431.1415551-9-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250307122431.1415551-1-luca.boccassi@gmail.com> References: <20250217170456.1068278-79-luca.boccassi@gmail.com> <20250307122431.1415551-1-luca.boccassi@gmail.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 22.11.8 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/09/25. 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/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/6816d998b04e26ca4468356e0a3c10daf65412eb Thanks. Luca Boccassi --- >From 6816d998b04e26ca4468356e0a3c10daf65412eb Mon Sep 17 00:00:00 2001 From: Gowrishankar Muthukrishnan Date: Fri, 28 Feb 2025 19:17:11 +0530 Subject: [PATCH] examples/vhost_crypto: fix user callbacks [ upstream commit f7cf44d49b1115238a87c5852db4b47290bfdc25 ] In order to handle new vhost user connection, use new_connection and destroy_connection callbacks. Fixes: f5188211c721 ("examples/vhost_crypto: add sample application") Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Akhil Goyal Reviewed-by: Maxime Coquelin --- examples/vhost_crypto/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c index 02987ebd76..b00daf74e7 100644 --- a/examples/vhost_crypto/main.c +++ b/examples/vhost_crypto/main.c @@ -362,8 +362,8 @@ destroy_device(int vid) } static const struct rte_vhost_device_ops virtio_crypto_device_ops = { - .new_device = new_device, - .destroy_device = destroy_device, + .new_connection = new_device, + .destroy_connection = destroy_device, }; static int -- 2.47.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-03-07 12:23:38.361858825 +0000 +++ 0009-examples-vhost_crypto-fix-user-callbacks.patch 2025-03-07 12:23:37.998838059 +0000 @@ -1 +1 @@ -From f7cf44d49b1115238a87c5852db4b47290bfdc25 Mon Sep 17 00:00:00 2001 +From 6816d998b04e26ca4468356e0a3c10daf65412eb Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit f7cf44d49b1115238a87c5852db4b47290bfdc25 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 558c09a60f..b1fe4120b9 100644 +index 02987ebd76..b00daf74e7 100644