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 DD42D429EB; Tue, 25 Apr 2023 15:46:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7679D40ED6; Tue, 25 Apr 2023 15:46:48 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2044.outbound.protection.outlook.com [40.107.243.44]) by mails.dpdk.org (Postfix) with ESMTP id 70F0640395 for ; Tue, 25 Apr 2023 15:46:46 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZCfYG6NjMlyyajVK/6nCJsICPnY6EgpfkXx5T2j756HPwe9BNS1rsfpmDOcNpXqEEsiOIPqd8Cy0U11XYxGY4CvbhSryZEAcETJpR1CZo7XRrBrpgYX1vrL027fW/ExTbr0bmWgKK278eAShyiNZFbfVOke7+PP94q2f1T+Q3bPclEkJDNGKoEiClaLViBRngskNQKXJOO0WriIWDwNOUeA0B7ViIADfbvR0AdkdWdRzqiIhRP6QIvE5rbQ40qXjnjY3T701AFViweKhq7Va3kNTFepmTRf6+nbILB4Mm+pi/KNGep0E2O3jgawNHSRjalLie/nYfaiCLytu+rIFUQ== 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=cO8HYPda38jo9rpCyM+0roRAaRK5seu+nwoJ+DomuMM=; b=lyOPGL/XCJebhzQFPLCFwiySLrfI3S3oY0hdfbY/C2hP1ljbZjoM/AYypAIg6j30Al5bC7rFi2XauyX3lp3/US5479Jh0QmXyl5yPtOs9cF87Gtzy7+efs//eefPWuoLHsu2P7CedFJvM9rMflrinir3++nppTbX9X2u4B5yi85IgWaymfHy7H+2O2+s7K0N2yva52Opd+Qx9ftkWDhVLB0SUc7RYvkIQvZ68kAuEHoNuipD7ZneoRrY9aTs6UJEAC59S99MLCv3qncNviV6FIqRJzJz6UecNjCi7+/U2NF6KF/EB3X/x8QoiAF8FbUQ0bPWvCNN5A0ADNNiQRhWzQ== 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=cO8HYPda38jo9rpCyM+0roRAaRK5seu+nwoJ+DomuMM=; b=cnF6OfNYoNP5JKIJxAIm8LEt+pQCfzYEhdGHrfP0sXZzSSxnv/86VK2W3rbQ5sCtxw6IlewJnBtkEs2bLX5Xl69isSrPWCTJGPfoMOEfVrF4HtYdM4IiQmIy1ld+1e8Px+SMgLNe1mTVs+4L47O8YenYhVafKgm611yhc24lBxdHhZK7gdN8/MMriz9UTlp6PtcA2Vvf4AKFa2MroFwTHSpZeQWUJmeu44oRmv9jsRyboA5GGk52rPNpHhndL5e9ImMCxSILSaCZaJgWbuBEJzeexC1ZJFPAqNHovzNE0zyQQCBG1+8d5ugvh3Cx5ruqBShOFVcwk8DFqjXdr1MJHw== Received: from CO6PR12MB5490.namprd12.prod.outlook.com (2603:10b6:303:13d::9) by MN0PR12MB5715.namprd12.prod.outlook.com (2603:10b6:208:372::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.33; Tue, 25 Apr 2023 13:46:43 +0000 Received: from CO6PR12MB5490.namprd12.prod.outlook.com ([fe80::565d:9bcc:a9e9:c3a7]) by CO6PR12MB5490.namprd12.prod.outlook.com ([fe80::565d:9bcc:a9e9:c3a7%6]) with mapi id 15.20.6319.034; Tue, 25 Apr 2023 13:46:43 +0000 From: Ophir Munk To: Tyler Retzlaff CC: "dev@dpdk.org" , Bruce Richardson , Devendra Singh Rawat , Alok Prasad , Matan Azrad , "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Lior Margalit Subject: RE: [RFC] lib: set/get max memzone segments Thread-Topic: [RFC] lib: set/get max memzone segments Thread-Index: AQHZcpofSYYggCDmn0K4beJwG+6Mqa8yt5iAgAhRjUA= Date: Tue, 25 Apr 2023 13:46:43 +0000 Message-ID: References: <20230419083634.2027689-1-ophirmu@nvidia.com> <20230419145119.GA4687@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> In-Reply-To: <20230419145119.GA4687@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> 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_|MN0PR12MB5715:EE_ x-ms-office365-filtering-correlation-id: 6616e144-c4c0-4447-62f5-08db45938174 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: j2gLuxZLGQ2ewlbNupIQtvdGbDd8nEuN2mRWGFPnwmSqyaxeA7RGw78/s9qaBRKd+f/RkMu+REHlF1lWSROV8fH5dGagXSNtihm29lOuxv/EweVvsCvjvlTkkbeGTm/yXekwXrfF8Rg7fI746jBi3Lc8MVYzKAsRamtLNMRlGek/g9UUQGa2SM49B+stjU0NFoMftU2ruORqNUtUVBbE51nHpaKifq7U+TnJTll88qMw18Wbf4OKUtI3yTlEM3zNK7/D7CfmFcVU2WpIQWHY6grEDBZiF+XiiV030Gc3TM5D8NcQ60Wbk8YCiEsWul4UIVOhe8BCg0Z9sTIQ5/eifEDGmfv3qvo1ciq77X+2IzxV9AQbFm7ucAh1rW1Mb2Uq03esg28LZ1tuSLWpOFqdWcj73GyXbLYPO0ugtar8GxvDtYV2+zpxYq0MKkAqRigynCMF2zvKeRJ3sgLrYd+IpCCL+9NJdK8Ri3tq8ByUKI5an9aEK8d/wG45V3NYjKjjsSNGUsB/in2nNGvoaSq28IkFEKTXliFtiU9dKYvvhHP1kdq8aQwg40hy5QWxJQa6JaAufffTwaCvZE+RC8jybryV7ZsT2sgnVRNllcWAUH0Tw2IiUHxV3EJXyEXrbv/H 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)(346002)(39860400002)(136003)(396003)(376002)(366004)(451199021)(54906003)(38070700005)(478600001)(4326008)(316002)(66446008)(66476007)(66556008)(76116006)(64756008)(55016003)(66946007)(122000001)(6916009)(41300700001)(2906002)(4744005)(8936002)(8676002)(52536014)(5660300002)(38100700002)(6506007)(26005)(9686003)(86362001)(186003)(33656002)(107886003)(71200400001)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?M3ZCQi94bUhvVlYwazZuVUN4YkRCQjJTS3dHUy8rRkVlMENtM3p4d0duUUdk?= =?utf-8?B?eTZQUy95cnU5UFJXMmpnTjJhR1FTMDBaUyszNDlvRm44UFlqRzFWcjUxbDFS?= =?utf-8?B?SGRUUnl2SlJneDFnYnpURHdOeld6RElwOHROb2wyVWV2V2FZaDFkUGF2cHNL?= =?utf-8?B?MjE3dldYd1ExVGFWNmRPaGJuZDNKNXd2elpxK0tTMEk5R1VvT3VsSG96ZGVt?= =?utf-8?B?UzZuNTRkSFkyZEpOQ2tGOUk5NFBpUj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1VXFlZkVXZ0JvMy81ckJEb0FLeXc2WG1ZMlYrUTV4QUttLzhQaWg5?= =?utf-8?Q?BZSo=3D?= 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: 6616e144-c4c0-4447-62f5-08db45938174 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Apr 2023 13:46:43.6964 (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: eOVE5e1Sbo/Swm7gIg5gMkoI76J87tuh3F1SzqmYToKbV2bqpYo2NH1kDqE8u0+78jmYvVviMBvhhWG5hERdJw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB5715 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 VGhhbmsgeW91LCBUeWxlciBSZXR6bGFmZiwgZm9yIHlvdXIgY29tbWVudHMuDQoNCj4gPiAtLS0g YS9hcHAvdGVzdC90ZXN0X21lbXpvbmUuYw0KPiA+ICsrKyBiL2FwcC90ZXN0L3Rlc3RfbWVtem9u ZS5jDQo+ID4gQEAgLTg3MSw3ICs4NzEsNyBAQCB0ZXN0X21lbXpvbmVfYm91bmRlZCh2b2lkKSAg c3RhdGljIGludA0KPiA+ICB0ZXN0X21lbXpvbmVfZnJlZSh2b2lkKQ0KPiA+ICB7DQo+ID4gLQlj b25zdCBzdHJ1Y3QgcnRlX21lbXpvbmUgKm16W1JURV9NQVhfTUVNWk9ORSArI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