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 599CBA0351; Mon, 18 Nov 2019 11:02:59 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6E6FE2142; Mon, 18 Nov 2019 11:02:58 +0100 (CET) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70082.outbound.protection.outlook.com [40.107.7.82]) by dpdk.org (Postfix) with ESMTP id A8004B62 for ; Mon, 18 Nov 2019 11:02:57 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hZMxN8s6sfqfQ8I1sEr80nAIoYterjhRNbPlb1dYskwdMnXjAtERhfgFvu9A8hi7It9CCzK4AI8g91RyapdrmJUzIShH8CaKGPrRNuhH65XpvEstcBsHcGYlwPkRkiFkrsyTjp2Vb9vbgFF/2FbQ7M8PXYvXsbsxwVDIk/SXTeGiFGmmUaHRnSyyXMzisaYbRmQacnyjbS0ODSd+lsqlPLRlYHWVzvtd5E7nXsLFp3DAA3Icj7QFuCiNKO8vOV33plf5dXcwRDjhEPhac/2vmnc06l/mTdb+R2AA8D1Jw1MwWlss+MHd6v5Q1m+lXHBFE1uITzYFriafVimi/fCJsA== 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=OuqTWgwQ8OHEpAbwG3NZodxQUDVJDLxgi8WGXknORy0=; b=OJCpZdE87P55QWKzYUNt+fIWzXoffSav/HPj0n3EJFsHocxPgQ6xtbsES4yTcntsEebGl6msU3NUCls1+ESaM/t2z8AT/aEpgSm+sP62sU5kFX7ZyZJtOpnmPBvEqjvNRN81mfF2In7VDWIZbetBDxhUffLRs0xznrnAnDWPskN13j9tdYRuWIGgffj9yqxQSgG5FdzgiiKpFri5+DcWt47TOdjHKFlW0H0qjE5ohdSfaVUnE3XjvNVlU6/7tTkQ5+zcCz01PJki1FundFZczqiC2fLmjGtrv6xDvFUAGh/kH/t9nxdR4xMj5aXAzC+xmBogfrsIQyPzXfJ8hoYx0g== 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=OuqTWgwQ8OHEpAbwG3NZodxQUDVJDLxgi8WGXknORy0=; b=qza57ZWev/M1OCZZ1W6xOG4jb7LiaipiAsgiW7c79SFUif/gR57K+np8Jls1H9t6TmHT+U7kFaqZzVaAiqCT9/dAsHe7QKM7lN1egROk6cWh67UeyeuxlgvSdlCD2/SEjrLEu9hp9FyO9/P22Yh5bM7h7bO04qPr0NtAcBYWboE= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB3939.eurprd05.prod.outlook.com (52.133.41.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.30; Mon, 18 Nov 2019 10:02:55 +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.029; Mon, 18 Nov 2019 10:02:55 +0000 From: Shahaf Shuler To: "olivier.matz@6wind.com" , Thomas Monjalon , "dev@dpdk.org" Thread-Topic: [PATCH] mbuf: extend pktmbuf pool private structure Thread-Index: AQHVnfdZ9XvmbPQFAU6tWakRtJ1/dA== Date: Mon, 18 Nov 2019 10:02:55 +0000 Message-ID: <20191118100247.74241-1-shahafs@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.12.0 x-clientproxiedby: AM0PR0102CA0015.eurprd01.prod.exchangelabs.com (2603:10a6:208:14::28) To AM0PR0502MB3795.eurprd05.prod.outlook.com (2603:10a6:208:1b::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [94.188.199.18] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: c4271200-ac93-4db1-1176-08d76c0e7b95 x-ms-traffictypediagnostic: AM0PR0502MB3939: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0225B0D5BC x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(39860400002)(366004)(396003)(376002)(199004)(189003)(36756003)(5660300002)(102836004)(66066001)(6306002)(6512007)(186003)(110136005)(52116002)(26005)(99286004)(2501003)(966005)(86362001)(478600001)(14454004)(25786009)(1076003)(6436002)(66446008)(7736002)(486006)(561944003)(2906002)(6486002)(476003)(2616005)(71190400001)(66556008)(316002)(66946007)(71200400001)(64756008)(8676002)(256004)(81156014)(81166006)(305945005)(3846002)(6116002)(386003)(50226002)(8936002)(66476007)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3939; 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: wmTgbty2VxSo2aYQx+HNJZlCHyU/PZy+YW/cEswQtXVmoWusIQN3bcigZyv+rRjWkMZOP025S3UigbG9za05Bgn5dRSeYlxfIoHY8dr5rjMnG1GiI3NW3n/aIaT028X1udv9VfRdiJPsc0BsJg9MId1zuF6O2eiPEzat6HU/wUd7gpIRcAbvbcaubpIVxhYAifSs0zabZ3UvEYybDeeuXHvmk1F9pFFI+YKQVbmDe9n0m6hY05vU/D86tRzz4PORdUPuf7GFG3edP/3FUKOnT0+JnHXdRMsxrTIm28JuMCtiuUDgsIiYa1krmpIpOzcPOiy3ffvy5xugSucYiIsYJBpQ+IM5cmNnKs+4Jbkt927YKhGCPUDInPutFHJiYpSdIus08OgOrqzgNDSgOS81zidtNbXR4MEJLZAV/9+LY4HVuJuKEbhbjXuw50nU+GUh x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: c4271200-ac93-4db1-1176-08d76c0e7b95 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Nov 2019 10:02:55.7002 (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: h9OOmikxBVEKa9wnK3juC8za/DqsUbh0nDeW6ukpsDAL0XUKwzH5UW6klq5uuGyGc26Ct/JdBfqol0M4RICT7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3939 Subject: [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" 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://patches.dpdk.org/patch/63077/ Signed-off-by: Shahaf Shuler --- Note - am aware no proper RFC was sent before the proposal deadline of 19.11. However i hope this small change can be accepeted for the sake of simpler maintainance in the future. --- lib/librte_mbuf/rte_mbuf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 92d81972ab..6912594d57 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -303,6 +303,7 @@ rte_mbuf_to_priv(struct rte_mbuf *m) struct rte_pktmbuf_pool_private { uint16_t mbuf_data_room_size; /**< Size of data space in each mbuf. */ uint16_t mbuf_priv_size; /**< Size of private area in each mbuf. */ + uint32_t reserved; /**< reserved for future use. */ }; =20 #ifdef RTE_LIBRTE_MBUF_DEBUG --=20 2.12.0