From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id AF5176CB5 for ; Tue, 11 Oct 2016 17:52:11 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 11 Oct 2016 08:52:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,329,1473145200"; d="scan'208";a="1063380672" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by orsmga002.jf.intel.com with ESMTP; 11 Oct 2016 08:52:05 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.164]) by IRSMSX151.ger.corp.intel.com ([169.254.4.226]) with mapi id 14.03.0248.002; Tue, 11 Oct 2016 16:51:59 +0100 From: "Iremonger, Bernard" To: Thomas Monjalon , "Yigit, Ferruh" CC: "dev@dpdk.org" , "Shah, Rahul R" , "Lu, Wenzhuo" , "az5157@att.com" Thread-Topic: [dpdk-dev] [PATCH v7 2/2] app/test_pmd: add tests for new API's Thread-Index: AQHSIIgVXZ2bAeGP7keFsEHPCan9haCjURAAgAAI/QCAABI/kA== Date: Tue, 11 Oct 2016 15:51:59 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C21A090A8A@IRSMSX108.ger.corp.intel.com> References: <1475231418-30717-2-git-send-email-bernard.iremonger@intel.com> <1475837150-11190-3-git-send-email-bernard.iremonger@intel.com> <819331a6-6b39-5cae-468a-d447e094bb50@intel.com> <2850526.ogb5UjoHqb@xps13> In-Reply-To: <2850526.ogb5UjoHqb@xps13> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmJkOWU2OTctMzhhOS00MGYzLWI1MzAtOWY1ZjczMmFhMjVlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkRTVXJha3hrTk1DRlp4RFR0dEVxckErcE9vRXZTVUFSZTVkaW90MEo5TmM9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v7 2/2] app/test_pmd: add tests for new API's 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: Tue, 11 Oct 2016 15:52:12 -0000 Hi Thomas, > Subject: Re: [dpdk-dev] [PATCH v7 2/2] app/test_pmd: add tests for new > API's >=20 > 2016-10-11 16:09, Ferruh Yigit: > > This will cause a compilation error for shared libraries. Because PMDs > > not linked against application when compiled as shared library but > > used as plugins. > > > > Since it has been decided to have NIC specific APIs, we need to > > re-work that approach to fix shared library compilation. >=20 > If testpmd uses the ixgbe API, it must be linked with the PMD. > Is there any issue adapting the testpmd makefile? > Hope that dlopen an already linked PMD is nicely managed. The ixgbe API will be used by other apps, for example Virtual Function Dae= mon (VFD) Moving the following line in rte.app.mak solves the problem Line 117: _LDLIBS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) +=3D -lrte_pmd_ixgbe To Line 103. Will this be acceptable? Regards, Bernard.