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 B01E242B95; Thu, 25 May 2023 08:35:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8BC0B40DDB; Thu, 25 May 2023 08:35:37 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by mails.dpdk.org (Postfix) with ESMTP id 0634B40A82 for ; Thu, 25 May 2023 08:35:35 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mBWKNvnXdafvHnqa3WNd39AffJeVW//rDyA8zOW+AdfQD4dewu5ZwqjcQW+MjEQelOIwOfU0jcr34TuH3wnwtQ7XnEDhVP0doVp/6B5nTrZNumsiSYOLj0dUPebqsZA6MtY43YuXfRqhoYjIgqqZUmj7m9lK7BmShfC/Ld/nolQLis/3hjhb1zL3kiwo3YCXEz8Dg/VyKywr5ftQ7TVFANMcin+yWVEe3KAwGJLzKJ/u8SXw0G7k04rxEZQlsWiHeZo2+OCdauQf307tRNlICWheInnicrvHjKe0rMiPgIs34i/I/Hi9e1OlwFIqTSDZYvoAB7OkMJozQcfY8FtnEg== 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=ZDwNOgvuRfG3QqOFLGahUIsWxzGwg0zdnm01AamKTok=; b=V0heiCl5HFsUNvI41eq+VM800jHYvMC86SFUD5YCYXV9xwq9m12HyprWKl3zUAiS1zkcryXPTf8N8Ilz2Ov4Lfypvqw78BRhYOMy+OG8Rgzk90d0cPAIH/2v0nG9AJ/SKczZ54NPEAyxBWE1dt/Tpqat49ABj5TSRXXc3KoyqX0Np5Q0zlNWoezjSPnULM/ySyFTtJvgGfVLK+l//4dnU/ixvnft0C/6nsAjoMrx8+9dVeJ2W64rqcO1xuf53alkBLpBVQmGCO2QEHIsY516WKg1kGh0oAOoiCM3ooWvzzh067yWv450614Ziz5QjBMV9wmXWkp74Zh1CGjGThpS3w== 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=ZDwNOgvuRfG3QqOFLGahUIsWxzGwg0zdnm01AamKTok=; b=PbWAq1b+j9XusYGbzsREp8xI8QXca3jrjYbqVGIHgl5bBOmkhxUftu5ETnzJ9yunBBXkSqwiu2sKHb8lQjVSkKwigZ9dK7QiNK0BgqneGyeiWwFPKleN6tYJ28Q76x8TWAHk2jQcWctAoyML8I/gDnOb/7r+Rk6HP+uREJEEPvsUHttNeCkK+Jz1zL0H4igm//HWsSw2H6PstgslYi28Qn7RPac/Yd3X+1HoGImOzc+gjpH76AnNjCU0Y8rptoejY7bdfQeYrv+5vm0HejJP5JXqwaZu4LUU2+uimJ6iCi+hXEugKyzyL2Qser7QSyelPtVTAZqVit9ZU5E990R0tA== Received: from CO6PR12MB5490.namprd12.prod.outlook.com (2603:10b6:303:13d::9) by CH3PR12MB8354.namprd12.prod.outlook.com (2603:10b6:610:12f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.15; Thu, 25 May 2023 06:35:33 +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.6433.015; Thu, 25 May 2023 06:35:33 +0000 From: Ophir Munk To: David Marchand CC: "dev@dpdk.org" , Bruce Richardson , Devendra Singh Rawat , Alok Prasad , Matan Azrad , "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Lior Margalit Subject: RE: [PATCH V3] lib: set/get max memzone segments Thread-Topic: [PATCH V3] lib: set/get max memzone segments Thread-Index: AQHZfZCw5L25IfPVS0qSPKM++3qfdq9JuI4AgCDtl5A= Date: Thu, 25 May 2023 06:35:33 +0000 Message-ID: References: <20230425164009.2391632-1-ophirmu@nvidia.com> <20230503072641.474600-1-ophirmu@nvidia.com> In-Reply-To: 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_|CH3PR12MB8354:EE_ x-ms-office365-filtering-correlation-id: bea64645-f32d-4a2f-d774-08db5cea3dde 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: yYCRlsUu6mt2LT83jflGXXA9Gye3VYlumQQwvgP/nfC/ni8fJHN6ZUw3ixrC6pkoa9Z7OQha3j5jTjplQs/QC6e8dXPqKf7km35uXFGCHXGdTmGlcymmBRWpzMYB6lxLWmUaLG5X1IncctnSTRn5xLHTfvENGYXr6U2pHxM5chhYPtIa5qeQ7VRlKTPGEZ1Lt4bMrSrB3P1OXqJQ+SvUMuLAWzWUR3UZ0UIEHX+1h0mYuvC/l0yoh56sc7QLUJcNkJXFwxHp4McupAQWsc92hcbseUUTxnn5PEMzTB0/sPPJQuqIccZNNSHz/jb0ctVZA0OfjNG0C37vD/E7jnEQYy5/fvs5NgIMdQkpsnPWiHguLbzK8LRxB/oG2B2mXj87NLeAve50v7wwS2n8YPxfVqtkWnSkqtreSEVuCxxy/Lv0jZBFvcU93gGbpB5pGp8hUBmN11WmtOIqO5IdXhWp+jzqisj2E6seeYiD2srNtxLpM+tam6UkVt3zEF0hMsc0DMUwWGlo/pX5Zgb05hVEEQYE3w38HK//K5Ba+UvOpLfoyVI4zwfM1yVtCw1IPoiX6ZmV0YYvBZTNaKUICemdWh16lJ5aYBlzj6HI6E9KBeDuH0Nzzwt8nPNSgGXdZ4Vh 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)(136003)(396003)(366004)(346002)(376002)(451199021)(52536014)(5660300002)(8676002)(8936002)(186003)(33656002)(2906002)(86362001)(83380400001)(122000001)(38100700002)(38070700005)(26005)(9686003)(107886003)(53546011)(55016003)(316002)(6506007)(71200400001)(66556008)(66946007)(64756008)(66476007)(66446008)(6916009)(4326008)(54906003)(76116006)(478600001)(7696005)(41300700001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?ZjFPVEFOY1prR0NuMlhLS1JvK2hSNVhFa1hLaDRsOGI0SnI3cjZ3N3cvQ0FN?= =?utf-8?B?VnVNc3BKcDZ1WSt1YjN2RUpVRC81S2pOM3g4aDRCcTN6QTdXSTJaWXhJNjhM?= =?utf-8?B?SmNyVHBIcTB6ZHZnbDV4anBwbHBJOEljUG1CNTZKVGNydlF4TnI3a1ZtcVI4?= =?utf-8?B?NTBONldjMEt5Q0JxMEI5ZWZod3pYelNrREl6OFkxQkpMWTlTZm9xOS8zbloy?= =?utf-8?B?LzN5RFVvblpjMnVPTyttV0JUVS85dko4UG9FVHZ4Sms4VzRnMjFaWTlMZkJB?= =?utf-8?B?OURxa1RuNGtNV1gxdzRDL08vYlhFaWx0aXJpaHhJ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ain; 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: bea64645-f32d-4a2f-d774-08db5cea3dde X-MS-Exchange-CrossTenant-originalarrivaltime: 25 May 2023 06:35:33.2870 (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: ig1LwGSzddDSpXGwnThwKT5dqi+0rdQVOOo7/CtdM/sMVe4TjlooRK9sFsil1ONConwbGg1gYnfM1cjuRYtXmQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB8354 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 SGVsbG8gRGF2aWQsDQpUaGFuayB5b3UgZm9yIHlvdXIgcmV2aWV3LiBJIG5vdGljZWQgYSByZXZp ZXcgYnkgQW5hdG9seSBCdXJha292IHRoYXQgYWRkcmVzc2VzIHNpbWlsYXIgcG9pbnRzIHRvIHlv dXJzLiBJbiBWNCBJIHN1cHBseSBhIHJlcGx5IHRvIHlvdSBib3RoLg0KDQo+IC0tLS0tT3JpZ2lu YWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IERhdmlkIE1hcmNoYW5kIDxkYXZpZC5tYXJjaGFuZEBy ZWRoYXQuY29tPg0KPiBTZW50OiBUaHVyc2RheSwgNCBNYXkgMjAyMyAxMDoyNw0KPiBUbzogT3Bo aXIgTXVuayA8b3BoaXJtdUBudmlkaWEuY29tPg0KPiBDYzogZGV2QGRwZGsub3JnOyBCcnVjZSBS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