From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 56D89A317C for ; Thu, 17 Oct 2019 15:13:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 417A31C0CE; Thu, 17 Oct 2019 15:13:58 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60089.outbound.protection.outlook.com [40.107.6.89]) by dpdk.org (Postfix) with ESMTP id 7635E1C02C for ; Thu, 17 Oct 2019 15:13:56 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EAOHx0QRhP0N8p+N2XMkCk5zLNYnoFCcRxG+eA1p2jbnyTB/0uWn+ed4cOK/11mUvVzb8FeooL0/hagRR+2MyLL/i5v7gQoMcRfxRCxyIkj4xsWJMlrEEvTsT6RnCM8I/jJFasJM9ojE6GdZnmuYXTSgUs0Vobm1IydZOKr1bGKTY6JljEiJaONUMeLPnWx5jVhjLjl51DYyFakxJE+ZMLs0io1dsgG5Nu6cNMQzdtWE3UVInjx0DBbrRoLEsAjidmeuMwLZAt36in7PRFnAlMtPMdOwpmJgJeETzt3n/1cxZqA0vFlz1rITc4Tmdwa261goz3VOD624Iihu4KpySQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RMqTqpOwWL/OMfDJqfQrQ1GMUIACohtuWtWKJiCN1xU=; b=df+GteKnFMh8l/nqD9NqvOtFfqQdKaJORGcwgTv05uDem7n5XvILVMF3bZQeS6YqmVeUbW8WcHzT/WG1moHjHBWYRjz1a19yLrq9O5DtscemOsa6Vh/8vXhikwmAtYrc2AgH2AAqxmfLf/5OqJ2J9Lw4zpSxwEsKhpgq0nxGcskpoVofans44MkqMyO8gu+rZpIdpg8FcWUvjGGm2+Z9NokpaEFRu+PdOrtFg5IgYrmXniu8rJI5a8ZMj9474oFXPT5nZnGYkQx7GT/vVahTKwXwG3rqOk/RCjmRfbaNUxoYyjOwqlvjnwQphGrHOyxPg5yeXjqEviiooUVUMWhx7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RMqTqpOwWL/OMfDJqfQrQ1GMUIACohtuWtWKJiCN1xU=; b=Z++h1uZd7yJCgBtSjcMGdhiSR1tRDVnz8ER4OA9RLm/zf2+Z7US73vICMlXmDi3Qv9uJZD4QcOy4vaTDwcYt6TsSfCndkJ1XOAZjRGHcuKHFfuqguHmaO9xqMc1EmRkNh7vRcEqc0T+8STX8Qvq1z1nCx76mgK0zQx2X713es0A= Received: from DB6PR05MB3190.eurprd05.prod.outlook.com (10.175.233.17) by DB6PR05MB3397.eurprd05.prod.outlook.com (10.170.219.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.22; Thu, 17 Oct 2019 13:13:55 +0000 Received: from DB6PR05MB3190.eurprd05.prod.outlook.com ([fe80::dc9f:b2a5:f845:771]) by DB6PR05MB3190.eurprd05.prod.outlook.com ([fe80::dc9f:b2a5:f845:771%7]) with mapi id 15.20.2347.023; Thu, 17 Oct 2019 13:13:55 +0000 From: "Xueming(Steven) Li" To: Jerin Jacob CC: Olivier Matz , Andrew Rybchenko , dpdk-dev , Asaf Penso , Ori Kam Thread-Topic: [dpdk-dev] [RFC] mempool: introduce indexed memory pool Thread-Index: AQHVhLfZ9IJlmyroj0yPEAxoeGx99Kdea1+AgABizwA= Date: Thu, 17 Oct 2019 13:13:55 +0000 Message-ID: References: <1571295301-25911-1-git-send-email-xuemingl@mellanox.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=xuemingl@mellanox.com; x-originating-ip: [180.162.54.112] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a6569ee8-5ac1-4b8a-703f-08d75303dcd8 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: DB6PR05MB3397:|DB6PR05MB3397: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 01930B2BA8 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(366004)(396003)(39860400002)(376002)(346002)(13464003)(199004)(189003)(186003)(52536014)(2906002)(81156014)(64756008)(446003)(11346002)(86362001)(66556008)(5660300002)(6916009)(7736002)(81166006)(66066001)(476003)(8676002)(4326008)(6246003)(3846002)(107886003)(1411001)(9686003)(76116006)(71200400001)(71190400001)(66476007)(25786009)(53546011)(66946007)(6506007)(74316002)(66446008)(102836004)(6116002)(478600001)(7696005)(256004)(8936002)(76176011)(26005)(486006)(229853002)(305945005)(55016002)(316002)(6436002)(54906003)(14454004)(33656002)(99286004)(21314003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR05MB3397; H:DB6PR05MB3190.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eGgqHdMvGA9O+vEIZMlgCiwgiKK3aVOPM3iCuZC9C6bb2BMyC7AMVMho7Q5tJrYFNMBuX/oSiPdKbw2dfNWxj1ZdOeUS6wbaDiqlo3hyMsULGde8p4K8GBJ/DSNbppxZUmcKq97FW3+AMPkVQYfNGxTQcpkhr1Y3rhJKBIiwN8sxtNfzD397Q08gNjK0cAzhz+jFA2+6eI8Fo3PBFCLOpR0WVbwiNIgVBDGQ+hg3mvA0y72JA8yMOomyaHYWIHttk/FreYr/dM4LCi2dcUSa/Tt/GBIyDdFxKdA7w7RSn1DLXO9Cd2M3JS3DmLdtlIO7H1rKzbewndkhf/oAld0xgFgzliCILz+XScusfK8b5u4ZnAlbt/DQ6L3oJjvvNfl3zhCGZtqtIP3qBl2BwG/AU2arg4S4XiDCL2aju1I1gJc= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: a6569ee8-5ac1-4b8a-703f-08d75303dcd8 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2019 13:13:55.0304 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: hw8Ew0aaFeUFfYRB0GfZiww7BtNKFhpTANjB3hc8clgfBm3M0gNmsVQgNxSJ3ZpqEIYcytPW9TQupjLy3mCy4A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR05MB3397 Subject: Re: [dpdk-dev] [RFC] mempool: introduce indexed memory pool 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBKZXJpbiBKYWNvYiA8amVyaW5q YWNvYmtAZ21haWwuY29tPg0KPiBTZW50OiBUaHVyc2RheSwgT2N0b2JlciAxNywgMjAxOSAzOjE0 IFBNDQo+IFRvOiBYdWVtaW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