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 B0D01A09DE; Wed, 19 Oct 2022 17:27:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8F90A42BB1; Wed, 19 Oct 2022 17:27:53 +0200 (CEST) Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) by mails.dpdk.org (Postfix) with ESMTP id 50BAD42B8E for ; Wed, 19 Oct 2022 17:27:52 +0200 (CEST) Received: by mail-ej1-f47.google.com with SMTP id b2so40857846eja.6 for ; Wed, 19 Oct 2022 08:27:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=z9+MWPKbmh7ZjWCmxBJnKK8rAeiopYB7a/HH/Hh83h8=; b=Vewi0JZvnT5/6Vv7PiLKtKPi9wQ28/5eUTbI2vuZS+smAPmigDDbB4bjq6HxlV5/M7 r38Aq7o8O2iGrhf7k6Lz6GXuFojTOvlNDNS6u6uOMUZEBXQkNN/5wSqCV5oD3Ae912k/ Zj9KxfFbX0vSWMZuBJrQSf8dApY2FspYBCleuRpTwrkBYaAZR01jqIkVmVcNHjUhiwcs 7nYZ8OiWIJR6uEqs5DscC+zoU4U8Ge9Bm3B82sWK+d4EiyeeZH1YuCND0Syc/pBTcAn5 /eqAXevGPX9Yy0hX6pMJlMoAUkI6+4LmFLA338DTxJ01/4jpItvgZvb9YUF5SvRw7GD1 OUxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=z9+MWPKbmh7ZjWCmxBJnKK8rAeiopYB7a/HH/Hh83h8=; b=rsKgGAI+Jxlqu1dUa2QgiSOXNN9xLyfaa61wM1DtUAlS+wNWVdoN5No6NVt7hHXgCl FRcHQLvepbUobOSU5I9gy/rERijoNNuCDYK4GlQi532EVKTgSi3dALvFzCWiTrYi6lYV vSXLWlvARc3mqnh+kQHdZhy7n6m7kXX2L/ZrdC2IH8YKpowPyvPYmr33fhUfS8HdQeA6 ut6hzl4itJ0H9rOkY0wfLzoJT74R4DGs4WUeXrA+ybW5ToVKAu+33pN0JXLYuoLUPfRK tUWGAz+7m0VLuELkrROPFzA48in/faEll9EjNOp7O3sfPywnXO3apfKV4gbI/42uI06I rKrQ== X-Gm-Message-State: ACrzQf2Dui5RxsdmCKOY42Bx9TgLWLTQ3C6Nlph5iYKCjCT5+ryqrbCK xlrLm7hMgiD+SAV3HRyNes4VG6WBhlQAJzAIy3HYiL3M2jgqWi1m X-Google-Smtp-Source: AMsMyM6qaPp8fm2nFEjd4WkpaLfLAB8r+CHeo6NdzoXZTzLtvdWZ37R7L/wkDDKJtdzrereB7ajheY76/rdKpw5OVaI= X-Received: by 2002:a17:907:7fa5:b0:791:9a5f:101a with SMTP id qk37-20020a1709077fa500b007919a5f101amr7270545ejc.453.1666193272013; Wed, 19 Oct 2022 08:27:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Zhangfei Gao Date: Wed, 19 Oct 2022 23:27:37 +0800 Message-ID: Subject: Re: [EXT] Re: crypto/uadk: introduce uadk crypto driver To: Akhil Goyal Cc: "techboard@dpdk.org" , "dev@dpdk.org" , "acc@openeuler.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Wed, 19 Oct 2022 at 22:25, Akhil Goyal wrote: > > Hi Zhangfei, > > Hi, Akhil > > > > On Mon, 17 Oct 2022 at 15:02, Akhil Goyal wrote: > > > > > > Hi everyone, > > > > > > > > > > > > We have a new crypto PMD submitted on ML > > (http://patches.dpdk.org/project/dpdk/cover/20221008083747.6559-1-zhang= fei.gao@linaro.org/ ) > > > > > > > > > > > > This PMD is dependent on an external library which needs to be cross = compiled > > for ARM on x86. > > > > > > It mandatorily need =E2=80=9Cnumactl=E2=80=9D also cross-compiled and= instead of using pkg- > > config of libnuma, it need the library and headers to be copied manuall= y to aarch > > toolchain. > > > > > > And if that is also done, it is not generating pkg-config which DPDK = can use to > > compile the PMD. > > > > Thanks for the guidance. > > > > The udak library [1] now support x86 local build, and export pkg-config= . > > I have verified the crypto pmd on both x86 and arm with pkg-config feat= ure. > > Though x86 only support build and install, but not test since no hardwa= re. > > > > v4: https://patches.dpdk.org/project/dpdk/cover/20221019125753.1700071-= 1-zhangfei.gao@linaro.org/ > > > > [1] https://github.com/Linaro/uadk > > > > I am getting below error with openssl 3.0 > Do you have a dependency with earlier versions in uadk? If so, can you fi= x configure.ac in uadk > to check for version and skip crypto if dependency is not met. Oops, never thought about this. How about this https://github.com/Linaro/uadk/pull/516 Thanks > > > gcc -DHAVE_CONFIG_H -I. -I../.. -DUSE_ZLIB -Wall -Werror -fno-strict-al= iasing -I../../include -g -O2 -MT zip_sva_perf-test_lib.o -MD -MP -MF .deps= /zip_sva_perf-test_lib.Tpo -c -o zip_sva_perf-test_lib.o `test -f 'test_lib= .c' || echo './'`test_lib.c > test_lib.c: In function =E2=80=98calculate_md5=E2=80=99: > test_lib.c:762:2: error: =E2=80=98MD5_Init=E2=80=99 is deprecated: Since = OpenSSL 3.0 [-Werror=3Ddeprecated-declarations] > 762 | MD5_Init(&md5->md5_ctx); > | ^~~~~~~~ > In file included from test_lib.h:11, > from test_lib.c:14: > /usr/local/include/openssl/md5.h:49:27: note: declared here > 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); > | ^~~~~~~~ > test_lib.c:763:2: error: =E2=80=98MD5_Update=E2=80=99 is deprecated: Sinc= e OpenSSL 3.0 [-Werror=3Ddeprecated-declarations] > 763 | MD5_Update(&md5->md5_ctx, buf, len); > | ^~~~~~~~~~ > In file included from test_lib.h:11, > from test_lib.c:14: > /usr/local/include/openssl/md5.h:50:27: note: declared here > 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data= , size_t len); > | ^~~~~~~~~~ > test_lib.c:764:2: error: =E2=80=98MD5_Final=E2=80=99 is deprecated: Since= OpenSSL 3.0 [-Werror=3Ddeprecated-declarations] > 764 | MD5_Final(md5->md, &md5->md5_ctx); > | ^~~~~~~~~ > In file included from test_lib.h:11, > from test_lib.c:14: > /usr/local/include/openssl/md5.h:51:27: note: declared here > 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c= ); > | ^~~~~~~~~ > cc1: all warnings being treated as errors >