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 F0489462D7; Thu, 27 Feb 2025 15:00:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C1C35402E1; Thu, 27 Feb 2025 15:00:04 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 1D34740287 for ; Thu, 27 Feb 2025 15:00:03 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 51RDdIaZ013775; Thu, 27 Feb 2025 06:00:02 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pfpt0220; bh=i U6BNWQy2x9b/kn+tKyUT7X7UZUHZu5sKPBmw2ycSC8=; b=eBnCtMtnVOeXp71yP M3B78C/QPhrL1uYVQ2Mt+bODqSQAAv+b4mgdmVxj6IeYXPZTsK8DxjPgTKJhXjKm j4PlX8K7/EDM+vv6YIP1/HleakHlYPHItt6lzETJb68uXREqRWJBBEbS4k8lu5Ih FWTLlPOC3VHVbeSIvRhWVGNtx5iqbCQqZ71ZpcGMGzKszdyccYhRGVop3XLOZIGP rR2Z8W79+Jd0s+r6H2w9ozxpbpojZOetpQj1wGYmGChRe+lY2KIFc1wRrFMXmNv2 Bm/7pArr6Wbs8RME38WMPuB8hcYrSTLX/DURf3Ma6DIxslzYEjVvVJs/fsuOfJlO m6j1Q== Received: from dc6wp-exch02.marvell.com ([4.21.29.225]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 452s4dg10b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Feb 2025 06:00:01 -0800 (PST) Received: from DC6WP-EXCH02.marvell.com (10.76.176.209) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Thu, 27 Feb 2025 06:00:00 -0800 Received: from maili.marvell.com (10.69.176.80) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Thu, 27 Feb 2025 06:00:00 -0800 Received: from IN-lckQE5Rwctls.marvell.com (IN-lckQE5Rwctls.marvell.com [10.28.163.68]) by maili.marvell.com (Postfix) with ESMTP id 42ECC5B6927; Thu, 27 Feb 2025 05:59:58 -0800 (PST) From: Gowrishankar Muthukrishnan To: , , Chenbo Xia CC: , Akhil Goyal , "Gowrishankar Muthukrishnan" Subject: [v7 0/5] vhost: add RSA support Date: Thu, 27 Feb 2025 19:29:44 +0530 Message-ID: X-Mailer: git-send-email 2.37.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: U33YQiLbi9GA0bYH6gcruYilWB7euG_t X-Authority-Analysis: v=2.4 cv=Kqy32XWN c=1 sm=1 tr=0 ts=67c06fe1 cx=c_pps a=gIfcoYsirJbf48DBMSPrZA==:117 a=gIfcoYsirJbf48DBMSPrZA==:17 a=T2h4t0Lz3GQA:10 a=SSEcSf4z2q0PDGKyEI4A:9 a=0lgtpPvCYYIA:10 X-Proofpoint-GUID: U33YQiLbi9GA0bYH6gcruYilWB7euG_t X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-27_06,2025-02-27_01,2024-11-22_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patch series supports asymmetric RSA in vhost crypto library. It also includes changes to improve vhost crypto library: * support newer QEMU versions. * fix broken vhost_crypto example application. * stabilize crypto fastpath operations. Gowrishankar Muthukrishnan (5): vhost: skip crypto op fetch before vring init vhost: update vhost_user crypto session parameters examples/vhost_crypto: fix user callbacks vhost: support asymmetric RSA crypto ops examples/vhost_crypto: support asymmetric crypto doc/guides/rel_notes/release_25_03.rst | 3 + doc/guides/sample_app_ug/vhost_crypto.rst | 5 + examples/vhost_crypto/main.c | 54 ++- lib/vhost/vhost_crypto.c | 524 ++++++++++++++++++++-- lib/vhost/vhost_user.h | 33 +- lib/vhost/virtio_crypto.h | 67 +++ 6 files changed, 623 insertions(+), 63 deletions(-) -- 2.25.1