From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0052.outbound.protection.outlook.com [104.47.42.52]) by dpdk.org (Postfix) with ESMTP id 67CB42C6E for ; Thu, 13 Apr 2017 10:55:41 +0200 (CEST) Received: from BN3PR0301CA0065.namprd03.prod.outlook.com (10.160.152.161) by DM2PR0301MB1296.namprd03.prod.outlook.com (10.160.222.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17; Thu, 13 Apr 2017 08:55:40 +0000 Received: from BY2FFO11FD040.protection.gbl (2a01:111:f400:7c0c::127) by BN3PR0301CA0065.outlook.office365.com (2a01:111:e400:401e::33) 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 08:55:39 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD040.mail.protection.outlook.com (10.1.14.225) 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 08:55:38 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v3D8tYTV018789; Thu, 13 Apr 2017 01:55:35 -0700 From: Shreyansh Jain To: CC: , , , , Shreyansh Jain Date: Thu, 13 Apr 2017 14:32:07 +0530 Message-ID: <1492074127-24339-1-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131365473390710822; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39840400002)(39450400003)(39410400002)(39860400002)(39400400002)(39850400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(86362001)(2351001)(106466001)(2906002)(8656002)(305945005)(48376002)(50466002)(33646002)(77096006)(5660300001)(8676002)(105606002)(81166006)(8936002)(50226002)(5003940100001)(38730400002)(110136004)(53376002)(966004)(6666003)(6916009)(6306002)(189998001)(47776003)(54906002)(104016004)(53936002)(4326008)(85426001)(36756003)(356003)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB1296; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD040; 1:jmiE3gIlif6bUf6u6chnd6A3foxzG0+gxFG5jFoqcHIA/o4kEi+msVxJdTxoQZ1XRrkRlB6VDZ9oykjGpLBdkXW38Kmxa+ljMX2n6Pq4986BuVaYvEGkQP2X1jFEp7YmBGeINvIZIHIhAXTWGJ/5xfLCnKDvV4lXTU49Z73cCkfZc0/CL09eL58ePcJ3+PJy2itC1m9gJq7RABx0BDZmdCJOzxR9kcs/StPH7ykhwYaaT8H9PPghM7z8m+dm9LmdkYGuoe0vx+FSbq/AYcg1B7nEfaIZgHuJi3382SlvqVN4nHwNT5wDG4Klp0VFwwFLGWBLiP0bLZDZz3BqsNB22tVVf8yPmTqMpNQgFEz/QhIfYZ4XfJO2OxBPxZHMkDYIhrjz4E5uRyjjgGUvzOG9H2Kbafx8tri8/F0gtwLtqWqplxYVtqS0zm0BW582MUNRu5FjCNFFmlajU03lpLSntDoNySQk1Ge9Na1mVe9sL1/AtO1yCODEcULC2pdTf0awvxWo25XV9tK8s7DTOkxeCZ6wAougOfur+PNxlaswYq4VrleGrDOffALRlD3B7CW4iyQzBKN+BFuwEvCNxe0UFsbnxvPpvnD6gML/B4HVDjt0CIVB1ZHNRQwXc8UF/NwxF4/Ed3qTs/RoUJ/2hQQ1GEOSktlz98TE1E6r0r75uW4L8YDyUeL6XgghVDTgUXWyEdU1F5m2s3FKYSXjTO5V2yz1XrqySkIwe/ztFz7Te8yvIHdBrzdPRd/eXyNc9JEM5KLilA/uBc+YRXV3Gr0dNQ== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 3be43699-0afd-44d5-5026-08d4824adbab X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030255120)(201703131430075)(201703131517081); SRVR:DM2PR0301MB1296; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1296; 3:Dx9Gm2VF3QNzsGKLpRN3gQV9T/ohVEZEdPFNPkk/OTyZg76o04hWE3zFDsFYEexz3p0Anik0UohTTHKEFmjF+pVx0YT6AcuU5e1o4wFJTS1cNpr9MUMTbXI+njYwuTniA0fO4fteSh+G/Ennc/VjIRflvkC+GkFe5wYP01fxCcEvVJPrs7H8O4UuZgCUojqEecNNc8MIFJ1wFyQscLfxlrtlZgEZu/FXP9i2DsHRj5bPsQSBCo08SorV3IbEBomIk++TyNr2+HqzK8eS8q6w4cCMVpVhvYOIYPxWeT485rjF+rm6kztg0KVttXGPs6j0r1LX8+ibRi+dqj+g3iMpnmJ4PfhKW5FHgrUPn8Y/hkUivLYWI7IdtZVoUjvPRp4WIXp1MgCfdzfaMWxf0N8KFFaxKPYqv+Pq1HO7OElLxbCD+VmU2Z3PgB/MDfzpZd2Qp+x5xtAK98f5yX8PzB1P/g== X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1296; 25:vJS4Ypz37PWS0WoJ5SJ/U6xU8bVvK+uGx15f7LoJyHnhdxzsRGW0S+H9iE/xFDUAulAnu9zh7If9m0g9O9Z/2/thQAUCQxcPbqED5GQbYu2W1CWYBF5uRszID1KkaEi3fvoHLzyEHg0cPoL07FcsmIW+0Wx4tmxShFvjbBqOATMJJ1m0s/0ptj4tD3YY4WXAGbuRnER8gkdIBkChZQRGu3BHhO7RXL8Eu4Am+26yA5874aDkvuX5vPDa8UVGKm7CxikpKP1fOukka7WK98FYCUW25p2gx3mWuaTyIJWEX7/l2ez+9Ehx+Q3EEy/ZADz33BWRDew1TWEQh5Hs5Ia6MNcPEmPizmnGrl48oOkdw7hg+TLKn8gb2xgUa1ACwfqhYUVMq3m82FnP7hpNkIPc88+t4e8BnpEWWFcqBBLPS2SvunISdHB/WI3NFpcD2YWkqogbIrj853gtHbBGu5qj1g==; 31:Ah5sD/K4v3K0fntgtAOAEq3zHbgJFF9/99r9p31WRrgRBw0N+kqdU02HOrPlw+Cxdd1B2Ez+6mypL/nKxMtqNFxoV3qHQBeoC1MVffwNqTwK3Ssmq4dFUu+hXxjvaTU/bw90yc7VRpLrTsEC0qhIktuyZ6hzOhXVyKbiwHJkHjYcy2wVa8OTsjk9CE+++AAGnLLoe7UlJ8CFIAkEVxX8ewLyRKkc17ygTE7vbXF6ltER/lHz253yo5ut3Tz6ryLl7oJ4RYb35lwE7541O1TwQnIVoQHGEV+g1KCROwGHZD0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(13017025)(5005006)(8121501046)(13024025)(13015025)(13023025)(13018025)(10201501046)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123561025)(20161123565025)(20161123556025)(20161123563025)(201703131430075)(201703131433075)(201703131448075)(201703161259121); SRVR:DM2PR0301MB1296; BCL:0; PCL:0; RULEID:(400006); SRVR:DM2PR0301MB1296; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1296; 4:DpQOGL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umxXQhwF7IZhMjUwsQVdXN0G0; 24:fck15JKFmCX+Mv28CAjUcwem53VJNjVPX3ZBpAhNbYO9tcubD8rMln34e8I1glHbn/s4lKdAjo7zztJtfepCzRH8663ePvBFS6/1thr/DP4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1296; 7:OQlP0ePhB7SQnvL3/ambWj9esRMU/0hdMWQDdieae0LdCgYIjPFScmgMtdYhYw5R55vGW9v5rTIFJU4dvQ+yM/fReka27vjr506qRz2NfHs9uPKG4dW8UWsBWxsf0HqX5pBAASJchb3rPYA0T8pft8HkftyHiIEwljKjl9yiyVLNTm7gwAzpURpWNishfturPI0pJ/JkIFI2GXoUHCozcuqLpCMzMhWFaRUiXrkO5hPWA8j/WgjCvbQiTcqMLETKFdVAde1dkxFdSuM9we0RhnhgHCdYPXoEoEl0haEnjMpt22W4L8+LYLa9gCR6hK349inw4vzvZXhxZwW7DfQaFw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2017 08:55:38.8838 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB1296 Subject: [dpdk-dev] [PATCH] mk: link ring mempool by default for app build 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 08:55:42 -0000 Signed-off-by: Shreyansh Jain --- Context: From the discussion in [1], it was observed that application should have a default pool already linked even in case of shared builds. Ring is especially important because packet mbuf creation API refer to ring_mp_mc as default handler. Documentation for this is pending. [1] http://dpdk.org/ml/archives/dev/2017-April/063819.html mk/rte.app.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 4c659e9..2462808 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -97,6 +97,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_RING) += -lrte_ring _LDLIBS-$(CONFIG_RTE_LIBRTE_EAL) += -lrte_eal _LDLIBS-$(CONFIG_RTE_LIBRTE_CMDLINE) += -lrte_cmdline _LDLIBS-$(CONFIG_RTE_LIBRTE_REORDER) += -lrte_reorder +_LDLIBS-$(CONFIG_RTE_DRIVER_MEMPOOL_RING) += -lrte_mempool_ring ifeq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y) _LDLIBS-$(CONFIG_RTE_LIBRTE_KNI) += -lrte_kni @@ -104,7 +105,6 @@ endif ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),n) # plugins (link only if static libraries) -_LDLIBS-$(CONFIG_RTE_DRIVER_MEMPOOL_RING) += -lrte_mempool_ring _LDLIBS-$(CONFIG_RTE_DRIVER_MEMPOOL_STACK) += -lrte_mempool_stack _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += -lrte_pmd_af_packet -- 2.7.4