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 AABA942D31; Fri, 23 Jun 2023 16:25:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 34EBC40ED7; Fri, 23 Jun 2023 16:25:33 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 3B968406B8 for ; Fri, 23 Jun 2023 16:25:31 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id BE1115C0228; Fri, 23 Jun 2023 10:25:28 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 23 Jun 2023 10:25:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1687530328; x=1687616728; bh=RMBmSBfDvsdShy8aB9hj17ajMaNrVkIgcyB eArT6G9I=; b=UQFlniLAD7r20oK42Fl0TQYvi1ivc59XMgVbib2vuuCS793Bz4K SRpAvQnW+c+K+9XLgNB8sqjgG2qYvrdZ8d3d7LnVomHmi5OLPy0Gw8Xggg/Hhyuh uD/sLPTotRok3Omg1X3GoHcCRGB91O0bD5MQwnapbpiaCba6C6oZrPc6oklx9Rlf OlOMnOgjSFb6E7Fj2yd7NnNXe84oTECUZ7nQ27722mPjADz5PT5eexurBSvfaOyY PbkOg/ifsbsbyliNSsA51FlyTQ5CHqQqLouHIHCYSbk6q35mrKJNMZyZK8hK2L5M NaSH0zboZsYwJw6s+uIJ3D4gUMrLM1idvkw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1687530328; x=1687616728; bh=RMBmSBfDvsdShy8aB9hj17ajMaNrVkIgcyB eArT6G9I=; b=CnuUujX/5lNB1voAh8F7gn3oamx/Nlhc1iN6mHwbHvMEOvckY9F sLtUQtPvy5TicZbIhEiX7qVwxuvvxrjCya6Qpbh4gxmhicMWH/3OW8YVdBF5jAgJ m/A2H+eJ9gy/W5XTBeerM047N48mAclABsa5xicRn25Fmru9Lq+AX11BaGFRXFjU wJjvGi9aKiAtCd6AfP+v4+3ZY7mrUGHeXXrXp2dgM/s+WlM2e/2QnhXbsDCYXqI9 f8acPVnCgr5UCjkCKgJosYUNMpohrisJprCdRwJyToBFcW/3Ud4h9trCK3mNNxNP DEDzNp81nV6pI0P8N0fhZuFcvnX4jFsrIBA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeeggedgjeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 23 Jun 2023 10:25:27 -0400 (EDT) From: Thomas Monjalon To: Akhil Goyal , Anoob Joseph Cc: dev@dpdk.org, Aakash Sasidharan , Gowrishankar Muthukrishnan , Vidya Sagar Velumuri , dev@dpdk.org, Tejasree Kondoj , jerinj@marvell.com Subject: Re: [PATCH v3 5/8] crypto/cnxk: add support for raw APIs Date: Fri, 23 Jun 2023 16:25:25 +0200 Message-ID: <3576977.hdfAi7Kttb@thomas> In-Reply-To: <20230620102106.3970544-6-ktejasree@marvell.com> References: <20230620102106.3970544-1-ktejasree@marvell.com> <20230620102106.3970544-6-ktejasree@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 20/06/2023 12:21, Tejasree Kondoj: > From: Anoob Joseph > > Add crypto RAW API support in cnxk PMD > Enable the flag to allow execution of raw test suite. > > Signed-off-by: Vidya Sagar Velumuri > Signed-off-by: Anoob Joseph The compilation with a RISC-V compiler reveal an issue with iv_buf being null in some case: In file included from ../../dpdk/drivers/crypto/cnxk/cn10k_cryptodev_ops.c:29: In function 'sg2_inst_prep', inlined from 'cpt_kasumi_enc_prep' at ../../dpdk/drivers/crypto/cnxk/cnxk_se.h:1821:3, inlined from 'cpt_fc_enc_hmac_prep' at ../../dpdk/drivers/crypto/cnxk/cnxk_se.h:1902:9, inlined from 'fill_raw_digest_params' at ../../dpdk/drivers/crypto/cnxk/cnxk_se.h:3620:8, inlined from 'cn10k_cpt_raw_fill_inst.isra' at ../../dpdk/drivers/crypto/cnxk/cn10k_cryptodev_ops.c:1098:9: ../../dpdk/drivers/crypto/cnxk/cnxk_se.h:479:25: error: argument 2 null where non-null expected [-Werror=nonnull] 479 | memcpy(iv_d, iv_s, iv_len); I won't pull this patch and the next one about testing of raw API.