From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 70DCA6CC1 for ; Wed, 12 Oct 2016 09:22:41 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id c78so13866791wme.1 for ; Wed, 12 Oct 2016 00:22:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=iWNz/3BcafdXSDXIsXg3IICccCQSfcPqwyNR8GyJFOc=; b=NqWI+fDE/v7/67cp3KtcVbGgFg+yNnrD8FHJmXzvXLu7khMio80/BIWJWJj0Rb/beO ojBuUkG4Qw4Ph+9K7ZbuIhhgNjvmTDoBxwHhCFQOsjkzF4pv3kJyfPR8e6Ls2rP69mwe rrInk9VHTz1ptUD64IhfT0GWiapgiMyhoRlNg/vFSsszKQ5eeQEY9NM40UgK5XiF9Dmi ZRieLaH/0DX7Qriu6dQc9AsomkKOFFUMrYZ2N+JflroE+/MXOCBjhuQFAIR1JiAs4yPl ocDVf0eBNE/f+s7QqetxcabzCPQ/+5OjqEVCaRirgZnKBWdGQNn2k+aGYayO7c/uwGFD tNfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=iWNz/3BcafdXSDXIsXg3IICccCQSfcPqwyNR8GyJFOc=; b=ad+YutRhcVCGJGaQbKwM/kU8vlv1WbRfezCpWVylufSAPt1XZUYih9SVodZpmL15C1 aB8wV1ZufQl+ZENvnMmf0elWSm3cgKI4dOwsE7lhsjW5Wo7bWiHDtXOYjsi0Iy7Y/YW/ Tn5TwGRrGTGleIeBkQpBB+3sZDVqLr0ZqxRCqRhdeNZWEB7Gm8c9vvaz+r2ysKlFUPD7 ih1KaHSAP0zrkerPqqUt1VDAVt79MeMwBWRoAf7EoVP5kKy3rEuBUUwCS13/iD3W/a2V 0vXNptpg5x50nVCpOxNO7K0ZR9wHbOBc0btXSaLHEw/Qk75KUx4gDBsNyaWEH35g7IM1 1Nkw== X-Gm-Message-State: AA6/9RnmAW2TOMankhVgE5eg4TtsihqaO4Pgo8cenMmR8drSE9JHsplXg08qO+4A4tQ975A1 X-Received: by 10.28.210.7 with SMTP id j7mr233359wmg.17.1476256961168; Wed, 12 Oct 2016 00:22:41 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id vh6sm10981926wjb.0.2016.10.12.00.22.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Oct 2016 00:22:39 -0700 (PDT) From: Thomas Monjalon To: "De Lara Guarch, Pablo" Cc: dev@dpdk.org Date: Wed, 12 Oct 2016 09:22:38 +0200 Message-ID: <1668805.iDXjnVEbkV@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1537716.E2UdgpDg0I@xps13> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] ZUC PMD as shared library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2016 07:22:41 -0000 2016-10-12 02:23, De Lara Guarch, Pablo: > Hi Thomas, > > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > > > > Hi Pablo, > > > > You are probably aware of the issue, but I would like to make it clear > > in case someone else run into the same trouble: > > > > It is impossible to build the ZUC crypto PMD as a shared library: > > > > libsso-zuc-0.1.1/build/libsso_zuc.a(sso_zuc_yasm.o): > > relocation R_X86_64_32 against `EK_d' can not be used > > when making a shared object; recompile with -fPIC > > > > The library libsso-zuc-0.1.1 needs an update to make the asm code > > relocatable. > > Should we explicit this limitation in the PMD doc? > > Sorry for not replying to this earlier. > Yes, you are right, thanks for pointing it out. > I think the same problem is in KASUMI, so I will send a doc update for both PMDs. No, KASUMI works as shared library, because there is no asm code. Documenting the bug would be nice as a first step. But it is a serious bug, so a fix in ZUC library is highly desirable.