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 085B346010; Tue, 7 Jan 2025 19:44:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D341440150; Tue, 7 Jan 2025 19:44:25 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 53CB44014F for ; Tue, 7 Jan 2025 19:44:24 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 507HJI8x016128; Tue, 7 Jan 2025 10:44:23 -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=P dznNNO0AZVp6e8U1qWDjYyM6IIE6yYo4ApeS9Xrdcc=; b=grL/bcmy3j5ejMgfF Ra0xylMZPMyacw9vAz5bm06BkKjYaoKv0EJzUDJXSRINJcZG7IPXHWR2GOrOCVq8 TqSl+uarXoXEIkKX95ZBVN1AeSN+bcpAsGOkhoef60nb/+RUORBJ81JBnUgX9lP0 qMbmcNn8WXyECepcQkDvso2o3o4EJ9UXKl0dcqqb2mTjTHzzFaUjhY++sdrHH2YO 325XcPyUmrng2r1LjXLc3wHFdsyCsD3H4CrZOd2nnC5BfBZSn9Amwbe9YNuNBhZu DEBaBf8ESf3O+TI5SS9AOU03iSbVMOITEGr9L6B4Jw9x/GQPkBi7eIYLH55tI5CN rvHzQ== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 4418hvr6e6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Jan 2025 10:44:23 -0800 (PST) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 7 Jan 2025 10:44:22 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Tue, 7 Jan 2025 10:44:22 -0800 Received: from IN-lckQE5Rwctls.marvell.com (IN-lckQE5Rwctls.marvell.com [10.28.163.68]) by maili.marvell.com (Postfix) with ESMTP id 61B8F3F7099; Tue, 7 Jan 2025 10:44:19 -0800 (PST) From: Gowrishankar Muthukrishnan To: , Akhil Goyal , Maxime Coquelin , Chenbo Xia , Fan Zhang , Jay Zhou CC: , , David Marchand , Gowrishankar Muthukrishnan Subject: [v2 0/4] crypto/virtio: add vDPA backend support Date: Wed, 8 Jan 2025 00:14:05 +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-GUID: 6BVKrm95e92G3bfoJ7leE5QzkDGGCkHE X-Proofpoint-ORIG-GUID: 6BVKrm95e92G3bfoJ7leE5QzkDGGCkHE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_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 series add vDPA backend support in virtio crypto PMD. Depends-on: patch-149672 ("vhost: include AKCIPHER algorithms in crypto_config") Depends-on: patch-148913 ("crypto/virtio: remove redundant crypto queue free") Depends-on: series-34293 ("crypto/virtio: add packed ring support") Depends-on: series-34291 ("crypto/virtio: add RSA support") v2: - split from v1 series. Gowrishankar Muthukrishnan (4): common/virtio: move vDPA to common directory common/virtio: support cryptodev in vdev setup crypto/virtio: add vhost backend to virtio_user test/crypto: test virtio_crypto_user PMD app/test/test_cryptodev.c | 7 + app/test/test_cryptodev.h | 1 + app/test/test_cryptodev_asym.c | 15 + drivers/common/virtio/meson.build | 13 + drivers/common/virtio/version.map | 8 + .../virtio/virtio_user/vhost.h | 4 - .../common/virtio/virtio_user/vhost_logs.h | 15 + .../virtio/virtio_user/vhost_vdpa.c | 31 +- drivers/crypto/virtio/meson.build | 9 +- drivers/crypto/virtio/virtio_cryptodev.c | 57 +- drivers/crypto/virtio/virtio_cryptodev.h | 3 + drivers/crypto/virtio/virtio_pci.h | 7 + drivers/crypto/virtio/virtio_ring.h | 6 - .../crypto/virtio/virtio_user/vhost_vdpa.c | 312 +++++++ .../virtio/virtio_user/virtio_user_dev.c | 776 ++++++++++++++++++ .../virtio/virtio_user/virtio_user_dev.h | 88 ++ drivers/crypto/virtio/virtio_user_cryptodev.c | 587 +++++++++++++ drivers/meson.build | 1 + drivers/net/virtio/meson.build | 3 +- drivers/net/virtio/virtio_user/vhost_kernel.c | 3 +- drivers/net/virtio/virtio_user/vhost_user.c | 3 +- .../net/virtio/virtio_user/virtio_user_dev.c | 5 +- .../net/virtio/virtio_user/virtio_user_dev.h | 24 +- 23 files changed, 1927 insertions(+), 51 deletions(-) create mode 100644 drivers/common/virtio/meson.build create mode 100644 drivers/common/virtio/version.map rename drivers/{net => common}/virtio/virtio_user/vhost.h (97%) create mode 100644 drivers/common/virtio/virtio_user/vhost_logs.h rename drivers/{net => common}/virtio/virtio_user/vhost_vdpa.c (96%) create mode 100644 drivers/crypto/virtio/virtio_user/vhost_vdpa.c create mode 100644 drivers/crypto/virtio/virtio_user/virtio_user_dev.c create mode 100644 drivers/crypto/virtio/virtio_user/virtio_user_dev.h create mode 100644 drivers/crypto/virtio/virtio_user_cryptodev.c -- 2.25.1