From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id E141A6936 for ; Thu, 13 Oct 2016 20:30:50 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP; 13 Oct 2016 11:30:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,489,1473145200"; d="scan'208";a="889739247" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by orsmga003.jf.intel.com with ESMTP; 13 Oct 2016 11:30:49 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.164]) by IRSMSX102.ger.corp.intel.com ([169.254.2.198]) with mapi id 14.03.0248.002; Thu, 13 Oct 2016 19:30:48 +0100 From: "De Lara Guarch, Pablo" To: Thomas Monjalon CC: "dev@dpdk.org" Thread-Topic: ZUC PMD as shared library Thread-Index: AQHSIYgX/DvYylqohEO59WVrQjuN7KCkGjywgABEwgCAAl1SAA== Date: Thu, 13 Oct 2016 18:30:47 +0000 Message-ID: References: <1537716.E2UdgpDg0I@xps13> <1668805.iDXjnVEbkV@xps13> In-Reply-To: <1668805.iDXjnVEbkV@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmM4ODc4NzYtZWE3Mi00MjdjLTljZTQtZmFlODI3ZTFjNjkwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InZqZ25VYWRHQjJJbW9YNGl5cUJNNHdwSnROZHhuVFFSTHRWbDVTWmlFVlU9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Thu, 13 Oct 2016 18:30:51 -0000 Hi Thomas, > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Wednesday, October 12, 2016 12:23 AM > To: De Lara Guarch, Pablo > Cc: dev@dpdk.org > Subject: Re: ZUC PMD as shared library >=20 > 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 clea= r > > > 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. >=20 > No, KASUMI works as shared library, because there is no asm code. >=20 > 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. Will document it. Once the library is fixed, it will be announce and I will= remove the note. Thanks, Pablo