From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B14FE42BED; Wed, 31 May 2023 09:56:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8F34640ED7; Wed, 31 May 2023 09:56:24 +0200 (CEST) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2071.outbound.protection.outlook.com [40.107.101.71]) by mails.dpdk.org (Postfix) with ESMTP id 2584840A82 for ; Wed, 31 May 2023 09:56:23 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SxtnmLfIvJICS/pHhZyv4RykdTBQTGxR7pTpTmzlZpSJK4UnUO9007y1p2oaDOn45tL/6CfW7Wr+CM6OEcZ8WGLGTeqc1Md3MsZEYi6QWTonBk8n+p7B5/VlAgsGonHNEkroGE3fVlSbeU2MzZOGrt3Is+M0Q+R8iEKf11xumWIB9qSo19KS8nGIdjBhGcKTxw8+LB8A72ci2P7kpko+uZb+vt6f2vPqSJkeKuq4ShHmLUm6Z0rRANcCVEZTqZGvAM2LW8dXeCf0f/PUqB4Tc6IOFNhbrpMIFXnXHN7tT1YNhm6Db5Xjtc4tLAthAskzxlvxXmNjzSKzxVm2FWNtpQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FbsKW5Qhdh4btJVs/i9kw6Uz0UttU9RCHEZq8sQsBoY=; b=aoVzpOes3vv5f6m81YeZwp2I1NstWZA9F8K77WkCgKczLr5h0r443AFSfdH6kOMKGjHscOni+WG4GxzAVhn7kTvP+3qQ2Pl6j7MTCzt44d0+Rm+XDKDJjocBRkfof1SmYgII1vwUg9+zcGc9/gT78c8dQr63RPK2Hykm6hp/wtZ8P9BMfCW15hZaElTBPcJg28d9vTwmV3YVJ1Ni34FINRtM0DcfzccFPRvrBkxM9c1DkXLqlgEClxaxzwgihjwftXUAeIsLvE3YfxuS9wdxwNAbGusLRQOY3BnUzrL/QQwRefMdBQ8iQpQK50iCn11gQK+6EibmLHUso1E5/DZ4Sg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FbsKW5Qhdh4btJVs/i9kw6Uz0UttU9RCHEZq8sQsBoY=; b=AaAtQTCa2XRusN1bbYvceCkcm0ezJ668cLNc9/m9yft6s1PsPFuWpfOrSdbjXLoy4oJKIT3R4g/3awchyAn+Iay7iEqN1ySLoMtO8CGnyGlvjWKQWQHQLIYCLXWPjkX1RAihP3zAP+don8+QKbIO5kDNMg7CJKrFlPDtfQvxNdvGG0DeTd+wIFkBoRSh253P+su1jcJzLOnRowrhCenaTjIn9wZkG/BTRxhzTR5QfIAc3vrDaW+KConWvHGFk9SmHqN+IuAys45mmV2MeHS4mQdYXuPdLBH9xTzAbQgvg3zAQ5BIWshlNFMC/XAFm0w6Z4BgRcHhn0n+VI4JAV75cg== Received: from CO6PR12MB5490.namprd12.prod.outlook.com (2603:10b6:303:13d::9) by DM4PR12MB5889.namprd12.prod.outlook.com (2603:10b6:8:65::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.15; Wed, 31 May 2023 07:56:20 +0000 Received: from CO6PR12MB5490.namprd12.prod.outlook.com ([fe80::1567:c49f:53a:22ce]) by CO6PR12MB5490.namprd12.prod.outlook.com ([fe80::1567:c49f:53a:22ce%4]) with mapi id 15.20.6455.020; Wed, 31 May 2023 07:56:20 +0000 From: Ophir Munk To: "NBU-Contact-Thomas Monjalon (EXTERNAL)" CC: "dev@dpdk.org" , Bruce Richardson , Devendra Singh Rawat , Alok Prasad , Matan Azrad , Lior Margalit Subject: RE: [PATCH v4] lib: set/get max memzone segments Thread-Topic: [PATCH v4] lib: set/get max memzone segments Thread-Index: AQHZjo7IG5RK3BUIYE+ENX/sNuXiNa9y2R4AgAEzqrA= Date: Wed, 31 May 2023 07:56:20 +0000 Message-ID: References: <20230503072641.474600-1-ophirmu@nvidia.com> <20230524222550.3538819-1-ophirmu@nvidia.com> <3067045.U3zVgo479M@thomas> In-Reply-To: <3067045.U3zVgo479M@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR12MB5490:EE_|DM4PR12MB5889:EE_ x-ms-office365-filtering-correlation-id: 7cf893db-c7e7-4cd9-c752-08db61ac85af x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: akkwutIrxXqlLiud49vukAkq1PNvjjg76GCwuDL+QVnvByQ4yhvzkemXlthZDi94/soJ6Er3WGxCVB1UHBjegBcYN2tvsUGEw9CljrWv0qZLPWF08Oa6x6A/0520yCPwt9SMW63pDnshfG1haL1MxepDCsJbo4Gr37x51kM6kUCzHxc/tdFIKY+K6e+Q7siyNlZ7YoMo8md5hTT4XLKayu7wV1RC9/2j3CUBsAXLWLiPjdRokbjW+zoVwA52WcE5a/cFFAm35mQe96OZ8fwsNgLZhJEBFr4xQ7KWr1cjHgllL403ZDeDDDBS0CKJEIWZWLQNXB49HQX6mJR0ms2Mx0eos5M/+LeEVCJt7VI0jFtVnJPs7MS7GjW+Uw9kU4V8hBx3YbiU1jMp/yO3TXfhEs66FNuaC+kA0R5ZtePgIsNL9OlYglbK5sywX9veF4SLkIqbSja/tJaxv4M+ysfaU+c2PjtdXZkWjg8OECnM9/ZgvGIM1LrH/D0bsi+1K+tA+/r93cMfHuIPbBeaAcoAeTqmXQRwJjOXytJ/GqwsM/IPILFz3VPOvu+wfd/iym0FTwtmLt4s6v55sgX4dBqQEcVNNdvfGFwmnPADBKTQp8SFmOBn054MPcU2XvVXzzNv x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR12MB5490.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(39860400002)(396003)(136003)(346002)(366004)(376002)(451199021)(52536014)(2906002)(8676002)(33656002)(122000001)(186003)(38100700002)(83380400001)(86362001)(38070700005)(5660300002)(55016003)(316002)(6506007)(9686003)(41300700001)(54906003)(107886003)(8936002)(478600001)(26005)(66446008)(66556008)(76116006)(66476007)(71200400001)(66946007)(6916009)(64756008)(4326008)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VFhnSWhaNkhYanVXbGVLb3RDQ3JNbkFmRWovRGR0UnRCSzRnSkQ1VHczeUpD?= =?utf-8?B?VGZsZHY3VStOblYwMlJMVVo0dG9oNDFENko2eHhFMW51YVVKZGxzZXEvSHRx?= =?utf-8?B?VjRkRUFvTVo2WHJydXZjSTJseGpNcGlRRThWMUxkdVprNlhRMjJRcFo4OGk5?= =?utf-8?B?K3VoTVY3K2xNZ1lBcnN1VjZRYkFFMEJvdGFJc2diS0pzaXJtcExkc3YwMjIv?= =?utf-8?B?bTJIVi9mWjhWUVZBNVA3aElzRE1IdEpoOUkyZzZlTmR3Rk1NWHg1ZkxWd3lH?= =?utf-8?B?ZkZsWkJ6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1cmdVZFhZ?= =?utf-8?Q?h2eNJuqmYJ/XXUcrY412PPXEk?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR12MB5490.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7cf893db-c7e7-4cd9-c752-08db61ac85af X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2023 07:56:20.8107 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: vnKz53NXJY3AUGpoqEaRsl26uARKYYYYW92vyFauA08QEtPgjjJHLT6reblqPd750n7qxFH/EKJJiPpEqNY+ZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5889 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org PiA+IC0tLSBhL2xpYi9lYWwvY29tbW9uL2VhbF9jb21tb25fbWVtem9uZS5jDQo+ID4gKysrIGIv bGliL2VhbC9jb21tb24vZWFsX2NvbW1vbl9tZW16b25lLmMNCj4gPiArI2RlZmluZSBERUZBVUxU X01BWF9NRU1aT05FIDI1NjANCj4gDQo+IE1heWJlIGFkZCAiX0NPVU5UIiBhdCB0aGUgZW5kIHRv IG1ha2UgY2xlYXIgaXQgaXMgbm90IGFib3V0IHRoZSBzaXplIG9mIGENCj4gbWVtem9uZS4NCj4g V2Ugc2hvdWxkIGFkZCBhIGNvbW1lbnQgaGVyZSB0byBleHBsYWluIHRoZSBtZWFuaW5nIG9mIHRo aXMgZGVmYXVsdDoNCj4gdXNlZCB1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