From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0045.outbound.protection.outlook.com [104.47.38.45]) by dpdk.org (Postfix) with ESMTP id DA1B32C6E for ; Thu, 13 Apr 2017 08:35:21 +0200 (CEST) Received: from BN3PR03CA0109.namprd03.prod.outlook.com (10.174.66.27) by BN3PR03MB2275.namprd03.prod.outlook.com (10.166.74.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Thu, 13 Apr 2017 06:35:20 +0000 Received: from BL2FFO11FD040.protection.gbl (2a01:111:f400:7c09::155) by BN3PR03CA0109.outlook.office365.com (2603:10b6:400:4::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10 via Frontend Transport; Thu, 13 Apr 2017 06:35:20 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD040.mail.protection.outlook.com (10.173.161.136) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1019.14 via Frontend Transport; Thu, 13 Apr 2017 06:35:19 +0000 Received: from [10.232.14.39] ([10.232.14.39]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v3D6ZGbx019036; Wed, 12 Apr 2017 23:35:17 -0700 To: Olivier MATZ , Thomas Monjalon References: <357262EF-AA7B-4064-963E-FF130E4607E6@atomicrules.com> <59AF69C657FD0841A61C55336867B5B06675640D@IRSMSX103.ger.corp.intel.com> <8154073.47RD1mYHR3@xps13> <20170412215520.44c485a2@neon> CC: "Richardson, Bruce" , john miller , From: Shreyansh Jain Message-ID: Date: Thu, 13 Apr 2017 12:11:58 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170412215520.44c485a2@neon> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131365389202014042; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39380400002)(39850400002)(39400400002)(39410400002)(39860400002)(39840400002)(39450400003)(2980300002)(1110001)(1109001)(339900001)(189002)(377424004)(199003)(377454003)(24454002)(9170700003)(105606002)(229853002)(106466001)(8676002)(31686004)(36756003)(81166006)(6246003)(33646002)(230700001)(356003)(104016004)(47776003)(65806001)(65956001)(50986999)(53936002)(76176999)(54356999)(77096006)(31696002)(2906002)(65826007)(5660300001)(189998001)(54906002)(93886004)(23746002)(6666003)(8936002)(305945005)(4001350100001)(2950100002)(50466002)(38730400002)(85426001)(83506001)(64126003)(4326008)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB2275; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD040; 1:RiHlawLYUAxHGMU1RdrtncCDewfUeW2QiMzOcSp47E67AswFAcN6Z6D6IWPomGEe2MsFhYI1wF6KXfIpPxPhZ+R13UnGu2VWaQACzSmXdKr83qY1PdStjniZZdWRp19MChbQmQMflcbJUlvuhLKFSxgG5Mfs43N0dcevodwVAE+H+OUj2k7gnVokzDJWAAmOB0irUynY2WYaDBVTsSkjfDGxm74AS4b3hz2M2HlFP6zpbjOlL1EUJaMmpKzjOjpN4pAT2MR3EdivbjCFdeJmrA6Oqu27gTivaIOXow0XGtI0RVR9zqMmYliUm9rR4uzn7FW+YzDk8W7HhOprB4z5Cc+I/6sAXlTBPAMc3H89ky76G8VsXwIt3l7RvvVq+4XYv3MWVMPW6Mg9/z11rQJo714bTVsra6gSlZsESQs8Mrg7AQkuIiaiu5oXPI47TOgGGqrXEnHngyo5w9joGjqEo6T/ygfRGb2sY4yXc8rloGRPp60ZzUKSfwRg49FxLNTWJHGgxXV70LCvQO2O01eWI2PWoeAkwfHlpNPXQF/WYMZOv/niRHHBAGStwEMBVlDiCim0o9lj529yx2qIuHciF3wP7rHzLNrS9kfjR/7ZxhhuPI7D8YdQHntSAFY0MclC X-MS-Office365-Filtering-Correlation-Id: a4142a88-d49e-4679-52e8-08d48237418c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030255120)(201703131430075)(201703131517081); SRVR:BN3PR03MB2275; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2275; 3:hK6eXoQrrDNxlmoorTteXO5KZuXn4xda9VXZso8uqIVSB7dn1f6oJLvRsLwW9Aty9ql2yXWllsT+YMJWlRhrj5rYVSzrC0Mvw6SlHwBVi1dLDjrg3aY+e15diwJ/B81BTPTWQ10c8i/vvBeg5GJqeTDE1VZ5Bf3Vw+r1qoecgdSL+ozoyN+OHExMYo+uaEY47RGH/qCEnjWgLszOIU+dHnnJvf7ogEUAe2ZDL7qXM1z/r2wQYh42pNqKq9BMY4NPpN2TTOaQsr6ZkhhRhsGKOJ16cRom/24efLhlRkcrW+7JGAKGYhLbcdBM2Bf9QupKA47XrcMsBI8lD/Yi0nU9co4r52dumKPr8EE3wf80Pl1U+3rCeZqof8W5k4wqqn384HvxvmxIYXgZJWqcfJGLWG0+K2JwGDR0AeyKJIWVthg2ikKkZ50QSd3VDvJO9gByc2x/DcWEMVicJXUhtlzFTQ==; 25:YOhnFhL9wN9TDvns9zexaJJmojKyKelbKBfVvg+ifUgCH3j55faLnDyDM1+1IEkwV4vJkeko+cOedP4TCTHzz/JY7GHdxy0D/mCGSTHQyjOJBzqP1KhousbI0V+kVWz5EItaAaKJ37wi4DbmSCpMJLH0m0HKThvDfrYxCO+aNtEinPqf3MSvV87qH480oB7Bkyp6PyxiHblpBjmGHyUXmWJQYZz/ONKI5H39Ox+5C3BAZn4pODC7BcOirMaK2+yezzyOVIp0hlgXo0jkGwA2FwwWfCVeOSokLcdzmv44cpC2dpxxgQHm2UcJnyjMebOgcRB9SWoZxlYWvcRyXsOjwLlTOnDmOe0AMhorQQYhaOvNLMMRjutNh4pQ3iUoX9Px1VwtuTOMvfb9zz/OV05ySF34MeoTqvJBVNlUbv0UdsfDsvGZboK9CCuJzEbi/wrAGMfAF2TRwUCsUmfCMp9MlA== X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2275; 31:Yk/t0eecddI8fb9JWKfexdCClylXt4TWdQEhzGryJwZuNVhjpbyHywkmPPNm/yHBx83Ka40JFmXjDFyfQM6SfGwytNsyQKz74Xgs6c+/OyM0EbfCSO7DJircBuvbS6XgQqtDXfM/gs6wRs+0rST4+lahsdkG0cv3gcW+8WLYlg64AEnHdNIVON5JGSX4tPreCXXRLHp2jm6Uh83GW0GHWfWdRZVdOuaEU1ZAmpjKSV+z2mNYItqMldKEKyICMm9bG+enTBwkSemaDjY5vUR3EFgiLDoY9rNwHFWbxNyEcHI= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(13017025)(5005006)(8121501046)(13023025)(13015025)(13024025)(13018025)(10201501046)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123563025)(20161123565025)(20161123556025)(20161123561025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259119); SRVR:BN3PR03MB2275; BCL:0; PCL:0; RULEID:(400006); SRVR:BN3PR03MB2275; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2275; 4:tr7CzLQRScSitTnGCY/SafV48cpkBVSsJHDTcTwfnIebW0R7Mub2TZw9Lj0vo4+0HLkOmJzCxC5esSTUnt4G5m1/rE0Ee19RLO9e3UBZnFTkdHd3H8iw5vLIEKg89yn2CyYTJbTf/IL0EhD9uFUemGzTBG56YDlxB0zPE3mYwwp3ThPDBMq8WvhSOl6UDDE4HRr9fU7m2Ue7U/5CrLA12fkofpCVY+ZABspsvscuRE3ZVtzh3S8wqlxH6iownef3woQ+qrVWfHCDmLVd4kjLVhc6EcYW3E85b8HAkiGy17H5WCxlWnCyxH3DBgnCYhgkqfTLk5V7HLDjL27rF78crbdhVQyVgQ5PTquNpIHXcBSRnZhnbO/OrSSVqcMMPtFK4LB5FT0zIdolTffMXM+meh+z+QP0NLHf59SFrcbq/OhEey+amehSLVdx62VGpOsMMu/rXurDXbj0rwm+7xzCzfLQRBulCa+jye49FzqRb/TjbA2pJc7p6JDegEDbS+dW2j3kr+AyDFvbUVJrJpSYtpAP0RqDUKFslANBmjGFQ3P071Miru5Bq9C0sgJ5BhRJmBOEVYAVOt7icH13usiuKm/ssC0xzvuQA7A1cK4mzFfu11IZ8yrZtkUzP0VuDADi2ngrEDmL6RQbIcVbDlaSsE3M8xgXO/kPVhOit1Om66GCdXvp/h/BvsxrPqS4Sfl5mxJGvxwftJ6RucKR6+Qou7krxPxXwxbaYX6sZcmkWSV1kKFnv4Zf8oz4U1DvudiNHdD8phHCQ9YnsNKSMe3iZW6bNos07mHDIX9dWlej+UMB6EeruEILRalouaa/aCSpTbwWLq7G/pbXUqgmowQC8RS5qawLMdr5woohsMZRlVDyTS4798I1e2ABlPEvA0qL X-Forefront-PRVS: 02760F0D1C X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BN3PR03MB2275; 23:H8ykM9sz49lsBgWm22F/q0ZfPZyj/TBXiOjgN?= =?Windows-1252?Q?xj4yteVEvOFAREDt0LJYq9GuPI28njiHuS92aiCspcT1qRnVnh+IgRC6?= =?Windows-1252?Q?pdkK9Iq+8hebyVzAyQnbsXKlKcLMlCDMtiwGMhhG05gMeVT1Y+Om3dF9?= =?Windows-1252?Q?shxGbKECQqgTNbe/Fyh567S8ZHMjObIztXmpEjqqlDiImoXMJ0D+qSuQ?= =?Windows-1252?Q?KpnwrjHw1ZA9V1SaNlkGdAHcH7btEUydKvmQld8l1Ywvpr461v9wV5+w?= =?Windows-1252?Q?hFy+Fr/2OC8poPhgri3JPDJn6255NrjgsOptzlsdt9ZVRxcaufWVT8fY?= =?Windows-1252?Q?pD9CMv2npbO6hhPdtmjN/cwdE1PHytgdm7DmbqZjZMXa3Vk1qxTxTFI8?= =?Windows-1252?Q?NlQa52yXeRFDUmv/HkOuz/rexRYGpqvvYqStD2BjY4e5DxMK0L+IHATy?= =?Windows-1252?Q?HRyAIQ9XJQ30c5A478n4tQ6VCqYj2XtjcpebIUnl6rr+Qp0DPrAO9jd+?= =?Windows-1252?Q?JcAihfbj8SkTc+u0vD7WqTdA0SH+aJ6jI1H8vzch96Z71SCwAvaRVskV?= =?Windows-1252?Q?3nIEjqWgukHf8st2zfghjt2yMq3vU8XsVQqRt5HgMHTz4N38Ce2oR2tT?= =?Windows-1252?Q?E+igTlOtFivRJyZ49CGDKSJMCSc6c1gGDDIXIUtpIPNZ6X8TEVjjr9UZ?= =?Windows-1252?Q?eZJBhjZurqYXnRjgCri+c2MMD7MCBvKtTiCZqoIU3oQshwcK4g9StCl6?= =?Windows-1252?Q?ihAjdY9Ec7TXkBoVzpUZx2An/dSrHrkQSlcW3BPc1KEOPwUfZomrNqeu?= =?Windows-1252?Q?EpdyOgYdC2QcRFu6Rw339PnrXO4OimP370CYGKzBRB7Rxt+HOa79pPob?= =?Windows-1252?Q?6wPxfBf/793j/aUEXf3lVueox1CKU80chJ9RpykRewyF8lBmettS6kan?= =?Windows-1252?Q?NccRixzSoq+MTgPy3VwLMxnEeSWexeXwACge+dYEaR30/vvvY/SjZQXI?= =?Windows-1252?Q?B0sB4UhJI7f4Z0DcSdhHZKLzDjiQn98SMNGwsq1icUai0deajPbwrl/T?= =?Windows-1252?Q?+Z6/kgqmxT3R9qa28NHbP0pWmB+1ff3n9hYomFhCofj9B+JRwXhePu3t?= =?Windows-1252?Q?kCj3cxZOhhm/7S/UbYMkjekmoGKjoeKLwHcheLzz78IuIX0hnIiOqY8U?= =?Windows-1252?Q?g6L9/fmrt8ukhHsjn+0RxumZp9rrz/QrucQhNf+0QoAYsfD2Jfc3xo5W?= =?Windows-1252?Q?vEBanmBWE41CleTKrsZFdIWeXR49x1rr3ZtXJVNAcGkf5pBm3jLbXPfO?= =?Windows-1252?Q?lUhQZoBJtKmGXkdgX5cZ+H6GE4divIsj3n9W9d/fstTfGcuXL0EM2t4b?= =?Windows-1252?Q?Qnz7UHL2MVNx1uYy7Ko2St5wURfSTqkYXQrQkXdn41JIII0Y4GaD6kEo?= =?Windows-1252?Q?vpA9xQoilaiJQPEsvzido/CsLwtAS8/fc3dBoedYpB1XdhxjvlEfbWx4?= =?Windows-1252?Q?C9Bu4vL3qbkrUjo4iRRrG6Ilc0fKYzPocVd80+CGjwoYe+yEeM8V9hgQ?= =?Windows-1252?Q?2RUekH2xFUBA2A=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2275; 6:7Qr62l7XqrbBmqQQSRen/HlCRqDPc1kySkko82VAC+aYD5/SQSxqdRejV13XQHYm3x4OpwubvBotkyIHS0NynfynYuqfZW24pt5qbLJvAnKI0zaXb08cnV8KIS38RODYqJE60KfY1swqqVKhSqMMIEmcGbsVzFKExqte2I6U3jJLX1/9WIuV3dqQKQvVA6DFQPwpDQ0Mu0BwCN5dSeuy3dy/fqvklQTv7QWjfK0kB3z6PPPEmkQeNTt9RZDrj2h7zhikjoKQzYZSka2k07agUQWWbK4uKSKcpXtaTwjfSvuZmKGx3nGKHNDwUkheYw1vHEOsPApaD5I4MaN6JgGB4kDq/0B5cVnd8+5kPxNL/DVr7tCpgTmo0EkXU2tfozIgmtVLupovuydYmCdo+P1pSiE91gaTlN6566nvtEvvbvz4cOqo5BgXWzJpCUt0L6NUq43KqaBTM2u8Pe5DCG8ZJ32nRikx/B1+JiG8LIIMjLzvWge8bd4S98ly81f3vjDp8tEdMX1K30J6jBSDwe1woA==; 5:H9VHK/nxnjZkHQCyr1ar5pIGFe/rGE0rs+sy3xJYMmnqin1/awWyUabkcTgXI8ZaIpMVankF65rdzNt0ZI2qxD4epYEvXBI3TBow8dG7t6lxkXTk7/s4Wz/xplraZevM8bjg6IwVCCBIAqJXdEE/vedcLx/Euc/kYeBF9fBFwGCbI0gScuScyzrnE+0KI5qn; 24:gm1tXOVtSbFoJ+Gd6OxYnPL9ksBCUjXuQ5TzSizVXv624Tlz3Y1pwxZQV1H0zNKylCi6kqQJVhIlMyDVMlij4jzSS1lYKo0slAFElM3ajcU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2275; 7:jLnzBT73mOmvwO6o4NUEuI2et7VCYMFwWzlh65YZ/UcElPCoFeFPzStLJGDziVfpuVEcMH5iSXhm6CfvGg+lIj0f+Ci0dggdQ9fhwfTX5vpee1avj2NntjE2JQU6RB5NfIJab2CV2kmscYb6gk3optF5L4IyzXxX6hWbh3Zt5xIkdiIx9cQGbnHiVxmxb8yTaXtaMsWirnxaITMCChCZ6Okh/KPsSZIKiCMyHSLikSZRsJsXI7JIefifYEggd3VC5BNjG/nT1Adwwv5yUxAxLDESU/iUG/bOeha9ib1JRJ+vBKE5l9YEmKXg1YyBqUTucy9huU3QQJLNXOTSYjyrBA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2017 06:35:19.7957 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB2275 Subject: Re: [dpdk-dev] error in testpmd when CONFIG_RTE_BUILD_SHARED_LIB=y X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2017 06:35:22 -0000 On Thursday 13 April 2017 01:25 AM, Olivier MATZ wrote: > Hi, > > On Wed, 12 Apr 2017 14:31:56 +0200 > Thomas Monjalon wrote: > >> 2017-04-12 11:31, Richardson, Bruce: >>> [...] >> >> I think the default mempool could be linked. >> I don't know how easy it is to transform >> CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="ring_mp_mc" >> into >> -lrte_mempool_ring >> >> Anyone for a patch? > > This is the default mempool for the mbufs, selected when using the > function rte_pktmbuf_pool_create(). > > For non-mbuf mempools, the default is to use the ring handler (see > in rte_mempool_create()). > > So if we want option 2-, it looks that moving this line in rte.app.mk > above, outside the if (shared build), would do the job: > > _LDLIBS-$(CONFIG_RTE_DRIVER_MEMPOOL_RING) += -lrte_mempool_ring > > I think both 2- and 3- are acceptable. People using the shared library > mode should already provide all the .so in a known location, so that > they are loaded by default. This is needed for the PMDs for instance. > I can send the patch; before that, should this fact, that ring is included by default, is to be documented somewhere? - Shreyansh