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 9150D45D3F; Tue, 19 Nov 2024 09:41:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 817CA40268; Tue, 19 Nov 2024 09:41:55 +0100 (CET) Received: from mx0a-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id B6313400D5 for ; Tue, 19 Nov 2024 09:41:53 +0100 (CET) Received: from pps.filterd (m0431384.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4AJ37mn1024499; Tue, 19 Nov 2024 00:41:53 -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=f tcl/UIeTiHZC7ZfLQmr45sfgw0yEQ4DwL8iCjraaHU=; b=Y1dVlwMnlf3pnmeNE MC53q3YMyuWOFTfXuusk35usAzC4Nvh927BOJiXpAVkO7E0K2fMD0mPylPsDy+co 6QTd/KEryaRAXDQG8zR8uOab6JEKtfisT3014i0Jg1CI+x55gHTkHhXUZICyzLI8 QslM8Ci6pv5G5YVetJe+e2Q9jFLF6DiJJVGLCQ2ppiUXmvi57va6jqHDl0jUGl6e MmBsU1OYwEDPKufahxI2Y98vdmfs6s37pbe8gbEfqBmN76CUpzby1Tnl3NH95iJ9 Lrxu4lePexZVsIJZ9SO2JLW8ydlAqrysD/w2wbtzVIklzKLHGVFArfRa8ZWDXq+y UJtxw== Received: from dc6wp-exch02.marvell.com ([4.21.29.225]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 430jgd0frn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Nov 2024 00:41:52 -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, 19 Nov 2024 00:41:51 -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, 19 Nov 2024 00:41:51 -0800 Received: from IN-lckQE5Rwctls.marvell.com (IN-lckQE5Rwctls.marvell.com [10.28.163.68]) by maili.marvell.com (Postfix) with ESMTP id 2E4183F703F; Tue, 19 Nov 2024 00:41:48 -0800 (PST) From: Gowrishankar Muthukrishnan To: , Maxime Coquelin , Chenbo Xia CC: Anoob Joseph , Akhil Goyal , Gowrishankar Muthukrishnan Subject: [PATCH v2] vhost: include AKCIPHER algorithms in crypto_config Date: Tue, 19 Nov 2024 14:11:42 +0530 Message-ID: <20241119084145.1047-1-gmuthukrishn@marvell.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20241119083413.964-1-gmuthukrishn@marvell.com> References: <20241119083413.964-1-gmuthukrishn@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: KTLOVut35kZfLwyeaQwJwHjqGb6QfyDd X-Proofpoint-ORIG-GUID: KTLOVut35kZfLwyeaQwJwHjqGb6QfyDd X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.687,Hydra:6.0.235,FMLib:17.0.607.475 definitions=2020-10-13_15,2020-10-13_02,2020-04-07_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 Update virtio_crypto_config structure to include AKCIPHER algorithms, as per VirtIO standard. Signed-off-by: Gowrishankar Muthukrishnan --- v1: - updated patch description. --- lib/vhost/virtio_crypto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vhost/virtio_crypto.h b/lib/vhost/virtio_crypto.h index e3b93573c8..28877a5da3 100644 --- a/lib/vhost/virtio_crypto.h +++ b/lib/vhost/virtio_crypto.h @@ -410,7 +410,7 @@ struct virtio_crypto_config { uint32_t max_cipher_key_len; /* Maximum length of authenticated key */ uint32_t max_auth_key_len; - uint32_t reserve; + uint32_t akcipher_algo; /* Maximum size of each crypto request's content */ uint64_t max_size; }; -- 2.37.1