From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00078.outbound.protection.outlook.com [40.107.0.78]) by dpdk.org (Postfix) with ESMTP id 6D35E4D3A for ; Thu, 1 Feb 2018 20:48:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=27NJI+jsDT8QiyvrGhkBDIyd9G5RAmCL8L3iDMhwpVg=; b=xB2AU6agYWppc14PQls7zEF0SRegsbUy7pU9off40J0/Nlte9cBSvSb+4NQyICgG/+7AQcwO2cwDJwicR1z5YiNNB0+LzN0piFQi3Wi4NMKe0byRNcxTfHJanZUqcH56dVvxtVgv2o5sLSZ/oAOoWUDsiKr3axfJPJkbnQqUnS0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from bf-netperf1.ap.freescale.net (192.88.169.1) by AM2PR04MB0755.eurprd04.prod.outlook.com (2a01:111:e400:8411::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Thu, 1 Feb 2018 19:48:35 +0000 From: Hemant Agrawal To: olivier.matz@6wind.com, pbhagavatula@caviumnetworks.com Cc: thomas@monjalon.net, dev@dpdk.org Date: Fri, 2 Feb 2018 01:17:06 +0530 Message-Id: <1517514427-28843-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.88.169.1] X-ClientProxiedBy: BM1PR0101CA0020.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::30) To AM2PR04MB0755.eurprd04.prod.outlook.com (2a01:111:e400:8411::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d89c2ba5-c3dd-4a92-005c-08d569acc8d2 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:AM2PR04MB0755; X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0755; 3:cH1yS7ciAstvIiuMBMWBvYMq6QpwoPATK3ZD3ZwGkC/+jW6Htlmb4kVWUEPn8yr6Dd44Mi+FiWqE/Pj/3wf1B3yuLcpsyZJsNZJGHtOhjTTkTyhwcdrToXCOh40OrrH/ua+gZDv77kDvsL3HkCGo8ig1/60OTP7kvBG25zJJ+Z34vny1EECeDw9LnDT/C4cWXLv/IsyhEClbmzI1Kg1G4EXmXRTztZFxyT2sQvajcgkwi6Ebrx6D7B4iBgc4f64J; 25:Ob75MD4Av5fxWMNAhXnNop+wxoqRJzIpPdZXZVDVAzIJpMqVRVm3n0FNE0PYp69EJjt2Mqfl1blQibxltSe2iLbni2b6n6k9JqYw2MAdpfeO2cDHOruzTN4PP9L2HUCf5M5HShehR7N/SGvMS0hlCoEF/nYP9N7ZWZnHUJslOv4wfpoa7DfDeQlSzdmpq4cuE4aoUKYIJW3+onCWSlvjYaC69Qp3aW65VlALI+ZaaSv4VHAo/vAkms/dPdW34qAn3YKs4xnm/2Bi1QJTDT974iuFB6y5Ad8Ai8FVX5Gy+kzsznyT/PcXJFHNhS+1NmkDhIQwy5qpLpt/pclCXNJO1Q==; 31:yKV1Tz+/UaB2iNrgZUt+/eQOiHRRlrPLc3ba2/Eu8IXIZ9aT1wotLlSTuEjrj8Yt47G4bczneWIln4ZAnDradphjUQjLX9z6UshHIpPXZJoyrM8zsHNmteXhsvMMHaRceEEJ9biYqcIT+HGtF5M1uK6kr3oPwziYA9Z438dNnJFN44AZ6Fy934uCC+M1PiuJb90MEBuMDyoZVje4QCsW0x8oOG7kvljbD9+HpjEJSyY= X-MS-TrafficTypeDiagnostic: AM2PR04MB0755: X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0755; 20:LPRmYje1phV0yWJ6J873wWvz3yEsqSXTiGIIZnleCGGHtUTqwDp9RFdur3l1uDjgVW7pABbDznnVRnDJPP/LKG1x5bCqCUlsSO7cdX19grvYgm7Tf25LXarFikxMK556+VmNM9u0odbbt7roHi+rbl4oJYN+uYDQDBELAKp7/w8s1TswohqjGXHdBH5vs8+LVfYI5yh6s7t+LfzKVqBQPFutwa6zleQorpOW3Utniyhph+Er8CWU2A87F6P6F1ySTakKCLbovNFvCoyqBdmUO72Rfo4gGUw0ODiOtCIj3uI0zs1/pE+b7dB0hX/CP9tIVH5niL75iHZot2mzFLH6LOv3lBR+NRdcaw8NVgoXVeg6xF7OOLC7RBOmAtgwXBVHr8aEw7Dk80sYTNcjNqqSy0KNwpG+Vrpm8G3/6rYtiiE37IaheTGYMuR+3wu8h9fXORY22COOj2z+1T5uWQ0Gdb0+9wEaLnvvEz8bdyNOWEPppS76s+NAeYB/BIHy1qaY; 4:RYj2M2biWXUrLrDpz5QtdUkBVSBcokBmMHLu4mDkVQm5yrJMx1oZeU5LN3eKACMk13uwLTghc2mt8q8oAw7J+PpC3SeGFdEFNaYuO4NjEzZaNEcsKVG2XdLZ5tanytsJ4gwP0sSN/ky9VUdTuRGxecAvVLF1yAZq7kqlMI5rhb90U0Z6WIwt24nqMP9Ymwf9OWH9cw27iT9ZL2ompBjBVX6crOftXtOSC5zUGxBRqtnkQruPKKknaS+XRg9+DlwfpTBDZ6HUKoxfsdTTvQNLSQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231101)(2400082)(944501161)(6055026)(6041288)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:AM2PR04MB0755; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0755; X-Forefront-PRVS: 0570F1F193 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(396003)(376002)(39380400002)(366004)(199004)(189003)(478600001)(4326008)(305945005)(51416003)(2906002)(7736002)(52116002)(97736004)(47776003)(36756003)(6506007)(386003)(81166006)(8936002)(6512007)(53936002)(105586002)(50466002)(68736007)(316002)(48376002)(25786009)(6666003)(26005)(186003)(81156014)(86362001)(6486002)(106356001)(16586007)(3846002)(50226002)(66066001)(6116002)(16526019)(5660300001)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0755; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM2PR04MB0755; 23:EMy5hMuKb/dJKk520lof0HpSjed9OJ0qVLq2GQSrz?= =?us-ascii?Q?B9pP6M/pAuWCOwwdMGNmSIfH3b+gV1AizHFKB435GRcRUTk/zHUFWQvPgdbX?= =?us-ascii?Q?LpP1HtHZmKzo8U4bPiRmajmE0I8yw1FqTB98bIlKkTom3/x3Cf10PmdoPAX/?= =?us-ascii?Q?okBb1YdTCS0f8Hvz3JHUaHtlQqaMhuivQe1yT4QgZwtxxAOgk42ojdKTDl2V?= =?us-ascii?Q?MqHZnywcAq2YjSgPRVLrr8+WmzMSTMBSipKZkY9Pbu/yFYUb5hB90KMkCol6?= =?us-ascii?Q?fLPlyNs4r+eMwXYOJgJPOSaudBoeKmcRWkQ9US46FZJall4WbxiPh5wrZWs/?= =?us-ascii?Q?CFOkBfGPtiRFwL1r9PLuqY9KPSe9FZPIIvLFOV6QLHQhGYIQWx24JE8Wji9A?= =?us-ascii?Q?ZQ43O1PuPriMeqIIu3U2PKPqgcRhMtae8SUAkP9yUvZEd4gha94Q2/zgvrPo?= =?us-ascii?Q?s4b8GDn2OZ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0GtB6O2emkuHjiZqevJNr3nqbj8=; 5:AOeaFU7rpY0kLEuIEzO6W+ituEzple+X3+mIg77lvM4RcNv3w5YKLQXW4LDIUBT+Z50Yjw4y670qQNsHEMLildl+FGcVvycEasGREkdpMEqNUZ1+bz+9sWICwAjI1QiOjZyJhv3628faL1JfaqYQ1weadFhF+gvN+UN6zSBN/p4=; 24:9irjPmvrUHz+KU4NkK4tjFCw//0ap53jiJj3xbggk2+FkAY5lJVHvwjSP0gqMDpt9MT4JHyDZD6MXadGl7ciuFto6lXA8DhYL01CSluP7uc=; 7:H1hh2/qUp+dhevyxRSPlhSvB6kzIarPKMRe0AmPUPI/J+b+jkQ4ZPRkW3V9IzGBHC3WV9Acon/KlPfSQSmysnUeBImVSNxLdUFAqZBo8Cm43VGG0Cj/6GNjZWiay6NlOVP+HK9SyH8aR/zHsdv2XrQZ/cTqvWDH54euQNyTnwnE/XHX9naBvmbVhuBJ99X9Iqzmb4D1C2ZwQDiBGoNjD3gGr897yUzzaOTNG9Lny90bUZ+rUWFvGRCOjKsoWdQld SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2018 19:48:35.8384 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d89c2ba5-c3dd-4a92-005c-08d569acc8d2 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0755 Subject: [dpdk-dev] [PATCH 1/2] Revert "eal: fix default mempool ops" 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, 01 Feb 2018 19:48:38 -0000 This reverts commit fe06cb6c54fe5ada299ebba40a382bee37c919f2. --- lib/librte_eal/bsdapp/eal/eal.c | 3 --- lib/librte_eal/linuxapp/eal/eal.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c index 1622a41..b612af0 100644 --- a/lib/librte_eal/bsdapp/eal/eal.c +++ b/lib/librte_eal/bsdapp/eal/eal.c @@ -86,9 +86,6 @@ int rte_cycles_vmware_tsc_map; const char * rte_eal_mbuf_default_mempool_ops(void) { - if (internal_config.user_mbuf_pool_ops_name == NULL) - return RTE_MBUF_DEFAULT_MEMPOOL_OPS; - return internal_config.user_mbuf_pool_ops_name; } diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c index 451fdaf..21024b4 100644 --- a/lib/librte_eal/linuxapp/eal/eal.c +++ b/lib/librte_eal/linuxapp/eal/eal.c @@ -96,9 +96,6 @@ int rte_cycles_vmware_tsc_map; const char * rte_eal_mbuf_default_mempool_ops(void) { - if (internal_config.user_mbuf_pool_ops_name == NULL) - return RTE_MBUF_DEFAULT_MEMPOOL_OPS; - return internal_config.user_mbuf_pool_ops_name; } -- 2.7.4