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 F0B3A46010; Tue, 7 Jan 2025 19:26:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BEBBC40150; Tue, 7 Jan 2025 19:26:01 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 096134014F for ; Tue, 7 Jan 2025 19:26:00 +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 507HESKm031471; Tue, 7 Jan 2025 10:26:00 -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 +Q1sZmUxd28UG23txkOByD+3uRz+W5FRtZ+GXhjbKU=; b=CcqvAMLCGEQujk31I CG4gGCwVN9of8ue+XL7CS9+enD4q66uHKsAx4y4rvgdW0O6aTgOKTHUTs4GcXkkZ 9CoDIrbF5GDf42gSbIWGQHhvgjA5LufLOhwILng3pQk8wb3WC4gsvZBWUVadMRmT mFG5Jtav7Pz/i2oKXljyUTXeBrnX6LfGBVa62DLp1rY9jeMFk3Q4u+fkaXxheM3f XwuEtkfvJk8KSC/QH536bYcfnEOOVK6fCicaQRGI48k2hnQhRJN69BzFaIFPY4fj girpqVCUVJoGpuNG8zDBNZtppBzrqZc5pQSPnO6hU64SlNCXaNeElpHtbAXBHnXI 4xYyQ== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 4418gc856n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Jan 2025 10:26:00 -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:25:58 -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:25:58 -0800 Received: from IN-lckQE5Rwctls.marvell.com (IN-lckQE5Rwctls.marvell.com [10.28.163.68]) by maili.marvell.com (Postfix) with ESMTP id DE8F33F70B9; Tue, 7 Jan 2025 10:25:55 -0800 (PST) From: Gowrishankar Muthukrishnan To: , Akhil Goyal , Maxime Coquelin , Chenbo Xia , Fan Zhang , Jay Zhou CC: , , Gowrishankar Muthukrishnan Subject: [v3] vhost: include AKCIPHER algorithms in crypto_config Date: Tue, 7 Jan 2025 23:55:49 +0530 Message-ID: <20250107182551.2141-1-gmuthukrishn@marvell.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20241119084145.1047-1-gmuthukrishn@marvell.com> References: <20241119084145.1047-1-gmuthukrishn@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: ZC4qcpqdkcWwf-Y0FQXfZ3MxfcGgwcMn X-Proofpoint-GUID: ZC4qcpqdkcWwf-Y0FQXfZ3MxfcGgwcMn 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 Update virtio_crypto_config structure to include AKCIPHER algorithms, as per VirtIO standard. Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Akhil Goyal --- v3: - rebased on main. 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.25.1