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 AC31346010; Tue, 7 Jan 2025 19:08:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4DB6340150; Tue, 7 Jan 2025 19:08:44 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 6C6104014F for ; Tue, 7 Jan 2025 19:08:42 +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 507HICwW014392; Tue, 7 Jan 2025 10:08:41 -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=S iS6u64xVOySOAp0q4+pbeESw0bcmoStnVT7pHJCejM=; b=UNu9x+/7bM5vhl1kv /o8s537jiTUc3ROMcbvP+lnPN/5w0QMm7shSkCg3cni61SMkpHd5KZByi+C+k56a 7vEi2YTuADUF5d3u3B4Vmc8YTOzeW9x0Y+ohhSC4nHZ8vszd6Bn0PKkfiZOQ7B6l /AVGs4v+FkbM+Img/LE10sm8+uKCnx6VIO07CX6hHMwFnFwUpJgwR67sxs8riqjR TgWLN6Pqo1rK1gZbnKYtz4VBJxg7Fi9nOUkcCLNoihx87tB4tTLAPgtL5sHGJaAT QdzIypS5erkaw8g89tYAS6p1u7SwXxaJoFD/29SynW4y5OTQvRWcidmTy6I+uIz8 S9hKg== Received: from dc6wp-exch02.marvell.com ([4.21.29.225]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 4418hvr3uq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Jan 2025 10:08:41 -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; Tue, 7 Jan 2025 10:08:40 -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; Tue, 7 Jan 2025 10:08:40 -0800 Received: from IN-lckQE5Rwctls.marvell.com (IN-lckQE5Rwctls.marvell.com [10.28.163.68]) by maili.marvell.com (Postfix) with ESMTP id 0FE713F70B1; Tue, 7 Jan 2025 10:08:36 -0800 (PST) From: Gowrishankar Muthukrishnan To: , Akhil Goyal , Maxime Coquelin , Chenbo Xia , Fan Zhang , Jay Zhou CC: , , Gowrishankar Muthukrishnan Subject: [v2 0/2] crypto/virtio: add packed ring support Date: Tue, 7 Jan 2025 23:38:27 +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: Uj_y9o8qT-shtwooLekdxqK7_QDGuWDR X-Proofpoint-ORIG-GUID: Uj_y9o8qT-shtwooLekdxqK7_QDGuWDR 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 adds packed ring support in virtio crypto PMD. Depends-on: series-34291 ("crypto/virtio: add RSA support") v2: - split from v1 series. Gowrishankar Muthukrishnan (2): crypto/virtio: refactor queue operations crypto/virtio: add packed ring support drivers/crypto/virtio/meson.build | 1 + drivers/crypto/virtio/virtio_crypto_algs.h | 2 +- drivers/crypto/virtio/virtio_cryptodev.c | 698 +++++++++++---------- drivers/crypto/virtio/virtio_cryptodev.h | 13 +- drivers/crypto/virtio/virtio_cvq.c | 228 +++++++ drivers/crypto/virtio/virtio_cvq.h | 33 + drivers/crypto/virtio/virtio_pci.h | 31 +- drivers/crypto/virtio/virtio_ring.h | 71 ++- drivers/crypto/virtio/virtio_rxtx.c | 484 ++++++++++++-- drivers/crypto/virtio/virtio_rxtx.h | 13 + drivers/crypto/virtio/virtqueue.c | 229 ++++++- drivers/crypto/virtio/virtqueue.h | 221 ++++++- 12 files changed, 1617 insertions(+), 407 deletions(-) create mode 100644 drivers/crypto/virtio/virtio_cvq.c create mode 100644 drivers/crypto/virtio/virtio_cvq.h create mode 100644 drivers/crypto/virtio/virtio_rxtx.h -- 2.25.1