From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 451CB6936 for ; Wed, 12 Oct 2016 04:23:50 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 11 Oct 2016 19:23:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,332,1473145200"; d="scan'208";a="1052604157" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga001.fm.intel.com with ESMTP; 11 Oct 2016 19:23:49 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.164]) by IRSMSX101.ger.corp.intel.com ([163.33.3.153]) with mapi id 14.03.0248.002; Wed, 12 Oct 2016 03:23:47 +0100 From: "De Lara Guarch, Pablo" To: Thomas Monjalon CC: "dev@dpdk.org" Thread-Topic: ZUC PMD as shared library Thread-Index: AQHSIYgX/DvYylqohEO59WVrQjuN7KCkGjyw Date: Wed, 12 Oct 2016 02:23:46 +0000 Message-ID: References: <1537716.E2UdgpDg0I@xps13> In-Reply-To: <1537716.E2UdgpDg0I@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGM3YzE1ZWEtMTJhMS00YjgwLWFlMDgtOGZhMjI0MTZkMjM0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InJwWnI1V1wvZjk0RFRBZDAyWmZISEVBZXpMMVpKejNVNUYzMUorNUNDb2JvPSJ9 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: Wed, 12 Oct 2016 02:23:50 -0000 Hi Thomas, > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Saturday, October 08, 2016 10:19 AM > To: De Lara Guarch, Pablo > Cc: dev@dpdk.org > Subject: ZUC PMD as shared library >=20 > Hi Pablo, >=20 > You are probably aware of the issue, but I would like to make it clear > in case someone else run into the same trouble: >=20 > It is impossible to build the ZUC crypto PMD as a shared library: >=20 > 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 >=20 > 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. Thanks, Pablo