From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00087.outbound.protection.outlook.com [40.107.0.87]) by dpdk.org (Postfix) with ESMTP id AD8F61B2EC for ; Fri, 26 Jan 2018 06:10:22 +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=X/tP91EiO1pRW1YH3KLc70CrRADs5WV2SBD0acC286g=; b=ffQCCKBBPkVqvfL/XgpY31hWjf8s113u1PCVZsCFg2utN8OwHz3xzq7L2qdlBV6QH6c1DQD81QYlmWNhlz8WX4um9qQhHXn35oBsKwIio88Di0ByT6aWhSa0aRo6trWB2h9SmXuYCFMxSZ3StHVrVdXFpKVJwmrtvHac4jnJBLE= Received: from AM2PR04MB0753.eurprd04.prod.outlook.com (10.160.56.141) by AM2PR04MB0754.eurprd04.prod.outlook.com (10.160.56.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Fri, 26 Jan 2018 05:10:20 +0000 Received: from AM2PR04MB0753.eurprd04.prod.outlook.com ([fe80::611d:d573:928:ad23]) by AM2PR04MB0753.eurprd04.prod.outlook.com ([fe80::611d:d573:928:ad23%13]) with mapi id 15.20.0428.024; Fri, 26 Jan 2018 05:10:20 +0000 From: Hemant Agrawal To: Thomas Monjalon CC: "dev@dpdk.org" , "jerin.jacob@caviumnetworks.com" , "olivier.matz@6wind.com" , "santosh.shukla@caviumnetworks.com" Thread-Topic: [dpdk-dev] [PATCH v6 2/7] mbuf: maintain user and compile time mempool ops name Thread-Index: AQHTlihdIVGJOvlkx0iW81MfjnonYqOFmvCA Date: Fri, 26 Jan 2018 05:10:20 +0000 Message-ID: References: <1516428908-5430-1-git-send-email-hemant.agrawal@nxp.com> <1516629083-13967-1-git-send-email-hemant.agrawal@nxp.com> <1516629083-13967-3-git-send-email-hemant.agrawal@nxp.com> <2023402.A31VTsg7O2@xps> In-Reply-To: <2023402.A31VTsg7O2@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; x-originating-ip: [106.202.231.5] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM2PR04MB0754; 7:hFZW/IAT5t28ZZkHBsfZ6DFixqiQrLMUh7Wj8IeSA9o4wuOOUdt8TVBhm3f07eumUgBypRi9ZmwIoKnVWsJ6mvKUel1Wwf/CHoNKas48FFpEAXSTwRSKhUe67vVG8MYxh5qYDuoXMjl/ThXBJyurwYPHS4QeuegXuzf/BfTHviIfwFLQj7cCYAgR4gZViYnE90lZMvPOA1Lhs7ueFeNWu1Z1CCh66ZFHQSqkDt6N79sFekrTU6WKVfDSbQNlwMoN x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: e8bd324f-00fa-4a12-3e84-08d5647b1912 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020); SRVR:AM2PR04MB0754; x-ms-traffictypediagnostic: AM2PR04MB0754: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(3231023)(2400081)(944501161)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123564045)(20161123562045)(6072148)(201708071742011); SRVR:AM2PR04MB0754; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0754; x-forefront-prvs: 05641FD966 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39380400002)(39860400002)(366004)(376002)(396003)(199004)(189003)(13464003)(74316002)(316002)(3280700002)(6246003)(305945005)(86362001)(7736002)(229853002)(54906003)(97736004)(99286004)(2950100002)(6116002)(3846002)(3660700001)(14454004)(26005)(6916009)(5250100002)(2900100001)(186003)(105586002)(6436002)(5660300001)(68736007)(4326008)(33656002)(66066001)(8676002)(81156014)(81166006)(93886005)(102836004)(9686003)(55236004)(478600001)(2906002)(53936002)(25786009)(76176011)(8936002)(6506007)(106356001)(55016002)(7696005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0754; H:AM2PR04MB0753.eurprd04.prod.outlook.com; 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-antispam-message-info: MCmOas1XQja7TtXCiZnovZyJMfMLDjrOSqqjNK/uVc5Rqnbu59prhKHHdDS998gnBFXqkkGI6+bol0zTGZJ/bw== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e8bd324f-00fa-4a12-3e84-08d5647b1912 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jan 2018 05:10:20.5611 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0754 Subject: Re: [dpdk-dev] [PATCH v6 2/7] mbuf: maintain user and compile time mempool ops name 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: Fri, 26 Jan 2018 05:10:22 -0000 > -----Original Message----- > From: Thomas Monjalon [mailto:thomas@monjalon.net] >=20 > 22/01/2018 14:51, Hemant Agrawal: > > This patch change the logic to maintain the value of user defined and > > compile time i.e. RTE_MBUF_DEFAULT_MEMPOOL_OPS. > > > > The pktmbuf_create_pool is updated to reflect the same. >=20 > I cannot understand this text. [Hemant] I will rephrase it Internel_config based mempool ops name is initialized with compile time def= ault mempool ops.=20 In Original code the user configured command line mempool ops name overwri= te it. This patch avoid the overwriting and make changes in pktmbuf_create_pool to= choose compile time, if user has not defined one.