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 29A9DA04B4; Tue, 19 Nov 2019 07:35:16 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A05792BB1; Tue, 19 Nov 2019 07:35:14 +0100 (CET) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40066.outbound.protection.outlook.com [40.107.4.66]) by dpdk.org (Postfix) with ESMTP id 6404E2956 for ; Tue, 19 Nov 2019 07:35:13 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y30hH+EqpaTOZghK8QfHArBpkEVDwcq0+W/oay9OE6Upt6KSWTZPsgCthfErU6/xWjNhkeAJhg5j0hbZyp6eY1cEmeReevNsLiPGMcKB7rcLxlfnPTKSsG3olC+yoFtP/FrYGh8XlifzheMfORvPbMgoYOZWCDbIJ7cRVMYrkwiF5BiCJ9ENiyuwd9XATdHqFqR0QWKcn6O2BggbZSimLmtGx5w9Co4yQES1POoFizUrXspTTCHqKVbrfFMz6BAgBElS0JI8VZo7HxKHswStxJB9RuV67cwY89+T84cClRS/LhczeP2KdJU7zeDF0FuEgfd6Ny6WEYKySOOLA8xhgA== 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=QtpTsn3/sdYix1/2plJA94oGeRjSK1C8rD6KHVQtPZk=; b=hIBdm8L9bNnyAKM/BYIlC0ThnCzmeoVn1fz7N0jNAGWZxSTdaIUbtwxP1Or/s/H1XA6/UKA6UWKQeCv98mJnwBdidekKBgpc1Xd6yemFI92Y/CKGuQqlLliF1HXzPybxXaT5kXLjdy2mnrTusFI8PqYVtSDoiHc72R6liW8GQFRHuUgOJcniakgNrldzAUh1ugNAUHX0ARv6bwfombJyFoVbjdHS3R/5Kw52mHEkNK3J1z6graMPq91GeOV1Rfx6kQ3piaO6Jb6gshZKxYCQmprVKy1PHdcKcoGbTgFnxfP8l87Ab8hEyLw/47aiXawb0UrbxtcL1bi8WmqG9fpI7A== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QtpTsn3/sdYix1/2plJA94oGeRjSK1C8rD6KHVQtPZk=; b=ZLInuVVMkKUqBBX0YHQ1pSMZfnK84FjXjNGZHx+04fQ1slZIs9MJdpzyw07af/YsuvRGWXIofWTutBm/eB2UmdADgXXTC2cxvCaeCiwWYfYk/gcjydi66vkL7rWBySAHe6BFo+loS+CvaEvnjsDGIv38wzI6nBylk7SE9JqHmc0= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB4017.eurprd05.prod.outlook.com (52.133.40.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.26; Tue, 19 Nov 2019 06:35:11 +0000 Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::c9c0:7e1c:6dae:7e4d]) by AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::c9c0:7e1c:6dae:7e4d%4]) with mapi id 15.20.2451.031; Tue, 19 Nov 2019 06:35:11 +0000 From: Shahaf Shuler To: Stephen Hemminger CC: "olivier.matz@6wind.com" , Thomas Monjalon , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] mbuf: extend pktmbuf pool private structure Thread-Index: AQHVnfdZ9XvmbPQFAU6tWakRtJ1/dKeRGeWAgADv/FA= Date: Tue, 19 Nov 2019 06:35:11 +0000 Message-ID: References: <20191118100247.74241-1-shahafs@mellanox.com> <20191118081203.3e4980f0@hermes.lan> In-Reply-To: <20191118081203.3e4980f0@hermes.lan> 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=shahafs@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 930102b9-6e8a-466e-2e38-08d76cbaa0de x-ms-traffictypediagnostic: AM0PR0502MB4017: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 022649CC2C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(346002)(376002)(136003)(366004)(396003)(199004)(189003)(6116002)(66946007)(66476007)(6246003)(2906002)(66556008)(3846002)(446003)(476003)(966005)(71200400001)(71190400001)(186003)(11346002)(5660300002)(6306002)(45080400002)(486006)(6506007)(305945005)(7736002)(74316002)(478600001)(66066001)(316002)(9686003)(55016002)(6436002)(54906003)(76176011)(86362001)(7696005)(4326008)(66446008)(64756008)(8676002)(81156014)(81166006)(26005)(229853002)(33656002)(25786009)(102836004)(8936002)(14454004)(99286004)(52536014)(256004)(76116006)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB4017; H:AM0PR0502MB3795.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: Ja9ZPBUwbAs9pUpNp3wL5hazF8h0fBk7TDioXZRLpPqYph+2+DPxphlaYv+Txe5Zo0Fm0SfMMNz5bkA5vkD30fed1iop2J7KqkCHVbxh1LTrmWV2oKhX364RrLP4pAC6xrcz3mXtdZG1YQFeLthN0SVlBazwKTeyFqbZadtXYu5Lk8gPbVL3zqiOPpuJg9d8M0KS7TmSN3aQA6ZrTGi6HUKMylzQKEopVFBsCiABLNouPeuepBm7sGLRcoH2Dzc07r+Wig/KCFigV9ZV37BqyfJZHTmT15oN3d8coZAZINrOgzTksXF8BHC02xVuAjZ0Lt9SzFWxvND60KJhsIVcSCdsrpbNW3SPoI1kRlf902GB863vNTKDPNb1Mi94TJE1wwNGcaZo1CPM4jxJ3kIUtPgnB0cwt1zJTkhDlRzfJ0cS+TcctHXfc1lYGcOP5GdG x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 930102b9-6e8a-466e-2e38-08d76cbaa0de X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Nov 2019 06:35:11.4067 (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: T/s+CQhXByKWdqTBWz3OuoVHYfOcTtExEED/tlxJwyuDxQzPTm1amVA6NBwinKMCJJR318YDHkiuI7sNcIaCBA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB4017 Subject: Re: [dpdk-dev] [PATCH] mbuf: extend pktmbuf pool private structure 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" Monday, November 18, 2019 6:12 PM, Stephen Hemminger: > Subject: Re: [dpdk-dev] [PATCH] mbuf: extend pktmbuf pool private > structure >=20 > On Mon, 18 Nov 2019 10:02:55 +0000 > Shahaf Shuler wrote: >=20 > > With the API and ABI freeze ahead, it will be good to reserve some > > bits on the private structure for future use. > > > > Otherwise we will potentially need to maintain two different private > > structure during 2020 period. > > > > There is already one use case for those reserved bits[1] > > > > The reserved field should be set to 0 by the user. > > > > [1] > > > https://eur03.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fpatc > > > hes.dpdk.org%2Fpatch%2F63077%2F&data=3D02%7C01%7Cshahafs%40m > ellanox. > > > com%7C261be5d5bd344538663c08d76c420fcb%7Ca652971c7d2e4d9ba6a4d14 > 9256f4 > > > 61b%7C0%7C0%7C637096903295807188&sdata=3DruzHICpeUCNXbw4XXD > Xj1ZOP35Z > > ZoUtgWbSPHYSKDFo%3D&reserved=3D0 > > > > Signed-off-by: Shahaf Shuler > > --- >=20 > Understand the motivation but in my experience until you know what it is > for, this doesn't work. And it creates lots of dead ends. See cross reference [1]. I already have use case for it and understand how = it is going to be used. This is exactly why I am pushing this patch for 19.11.=20 >=20 > https://eur03.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fen.wi > kipedia.org%2Fwiki%2FYou_aren%2527t_gonna_need_it&data=3D02%7C0 > 1%7Cshahafs%40mellanox.com%7C261be5d5bd344538663c08d76c420fcb%7C > a652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C637096903295807188&a > mp;sdata=3DU8wYu7M85a9F%2BrGxaaxpOce6Pedh4THo4%2Fi03Sj2OV0%3D& > amp;reserved=3D0