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 E28CBA04DD; Thu, 19 Nov 2020 04:55:42 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1A90EC884; Thu, 19 Nov 2020 04:55:15 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 70B94C8BC for ; Thu, 19 Nov 2020 01:17:37 +0100 (CET) IronPort-SDR: TBNzA4Bm8LE7kt1cnAclrcom0Z4ohgh4OvNwvVpH8rJFwJbJTz7kWLy9TGMKgrX5ls0Px0QE8g MiiynqlAAzSg== X-IronPort-AV: E=McAfee;i="6000,8403,9809"; a="158240891" X-IronPort-AV: E=Sophos;i="5.77,488,1596524400"; d="scan'208,217";a="158240891" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2020 16:17:34 -0800 IronPort-SDR: hiVvSBaT8ZhRJtBhm6x3cWJeqkpJUTsY36upVJZk2S97N2X+JFAWLpCZM4cjOaBgkO4nMGgkc7 e8hU8xDVHgNw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,488,1596524400"; d="scan'208,217";a="368666442" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga007.jf.intel.com with ESMTP; 18 Nov 2020 16:17:33 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 18 Nov 2020 16:17:33 -0800 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 18 Nov 2020 16:17:32 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 18 Nov 2020 16:17:32 -0800 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.45) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 18 Nov 2020 16:17:32 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mi1NbZGuQ2N26MGH+dQO97cMndi3sMBJ7rO1jr0WEqBRPpDxwLeZ232wjOgtB6YP7pYFdQIsQKHEkpcx3wl5+XQIKPiX7tHdlPmT/bBdVGPE/EHKJxu9YrFfDfa0V6MA/GXBkl+pyCuJ/A1cgh3uZX+zhiBW8by1CaCx2NAF7gkgb2QIzU154o0axHKYE0YCV6S2a6avv9vRfXB++GT1zoDVy4cyK60W+HmZxHxRzoE2qzGcvZ4K0Z30NMFNp+Od0bsIfzt4Cxxuqgk5tY97csu/eZFHsHp0mcGZ5LCMdSzo55uiIIa9X0j7f4tqhaf4PeSbKvsN/+QI6Y4oi2hKfQ== 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=YhZHCiVOtIvoNjA4Ib6/gK9WV/tVoRkMUPjIVyofQJQ=; b=LYrdcBdeIh+Rm2P/y4De7PrgPFgIwRStRqBU/ItFp8pGi49c+NvaPDYqiakkBIRPS1tkm8REtTQh0kP5bBvaBoY2aB/1BZf0DxMJAT5ONhLfuiNA0eQfjH+6pEvyYZrV1tMV8Xlpf7OnTc6bhGenrsFrCZMejz/GnF/rTM0ATnjosdlC3mqgkynLy5zQSDaCYkFVyLwmTMbkPDyVpTyNzPyfkHAUNkdY40R7qgtB/KXrP6rZcl7sjpTXlgzs6rHlOHNp8xh3Fgr2bT4tVAb2WFuEKbt9x7RxLMXQ8qa0/98pDCHWf+be5tq5YDXgCwoc6DCnvEDpEX/0ezYSaMA8gg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YhZHCiVOtIvoNjA4Ib6/gK9WV/tVoRkMUPjIVyofQJQ=; b=tesQMfLUX752HQ6R58xCoMMR/oeXGb/WzGKxuaHqxdgn8Me7of6W90IHtOj1gKxYSYSaMmEP2T8E1OydAKJX1CXjWxjQniz1A1QfxDXeDAPRWA4tb93pIHFpS1UYZG8RfQEMoUR94GkRRK95jrn9uA2LI9RQs4gJm+51wQ5phFE= Received: from BYAPR11MB3831.namprd11.prod.outlook.com (2603:10b6:a03:b0::22) by SJ0PR11MB4927.namprd11.prod.outlook.com (2603:10b6:a03:2d6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.20; Thu, 19 Nov 2020 00:17:31 +0000 Received: from BYAPR11MB3831.namprd11.prod.outlook.com ([fe80::e97a:333b:df97:4709]) by BYAPR11MB3831.namprd11.prod.outlook.com ([fe80::e97a:333b:df97:4709%6]) with mapi id 15.20.3589.021; Thu, 19 Nov 2020 00:17:31 +0000 From: "Luse, Paul E" To: "dev@dpdk.org" Thread-Topic: Question about recent change to rte_mbuf struct - user data and udata64 feels (breaks SPDK) Thread-Index: AQHWvgjM2SJ9LbOpEU+Hnri8Ny3zGg== Date: Thu, 19 Nov 2020 00:17:31 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; x-originating-ip: [184.190.142.46] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6dbaf4a6-0463-408d-baf2-08d88c208182 x-ms-traffictypediagnostic: SJ0PR11MB4927: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: x5qKb7DRYXy07/j0jiDsK/yF+Izy7h7SoXhx8T9HF1AJNfz5LOtcjoWOe6GF+lOy96y4d/RuFJWLOkBHX4VaBqMDkVUX8/Oxu7YODnupmV2q8nVHOiUsR17dPc5XjiA6a4wuZUyGLwMJYgp661h2Zk1xJCpaKV8Epf02Ymq3WmIixGkulsVOrMXTB9kzWdc3rR4OhUghZjT0qMwzIJDmKhVl+mP38FV6wrXQcBZTjOr5TrKMgAz7ILSBhdivicCT7vviZyTADNDPoIgL98UuhJuICrRjkNDg73THPwQPcfTguY237a9/19kv3ixPONQ84tZaP4HCsWEjURio8AizFjQw3nMvF4uCTNhiiC53KrEeZ1pNEY9kV/RUTALRZJVujFz4kEzOlp3j70dlGKm+lQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3831.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(346002)(366004)(376002)(39860400002)(316002)(2906002)(966005)(478600001)(5660300002)(52536014)(64756008)(66476007)(33656002)(76116006)(66556008)(66946007)(66446008)(4744005)(71200400001)(186003)(86362001)(8676002)(26005)(83380400001)(7696005)(9326002)(9686003)(55016002)(8936002)(6916009)(6506007)(166002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: A9UtUhVwBPz1tu6pX8K3y/VyNj/rcDDK9LIOcNOmOSK/cdlpflYVSHFrPMRhs94hErE86iPkKVs5AHOdt2IODir6yuqfTthuKwXiguR+XXl4ueXKS8C+6xFrnMLFNHw2tyTUGONBDJVQbHvjjLMbNebD7W+pj1qsCBDyMWdjqs0MeQwWoGyLKj4DyjMR1tCOo5iNf900ySXuvzYl5wRB8ATHx9pEM3Qei2TeMCtft9m76/L+yeCuh+asON56QeTXaCDD7dlAcsaVMnL9Xsh6yFvpmL+au/pHYrZbGxJbE+GLN++iKcBlHigT3vFnnsfmUsuSNYtcuywWYkm22BB0s+eN3QJ6Yi2ZVMqY4dTOodr+3eD8qjmdVfxrOh3TXNJ6/ch2ohvlmIWisfZGt+TfpKKN/x8cr8/GPiwd13gzR4+Uxtj7bhJVU7oGvsX9kvbweKeRlzW1WTMpc8SCPIaqdMuHp8n65OuNA1sWXrA8aSCmmkSgR+4r2SWbn5LQybp/Ln0nH2daD+aXDpOe9eyyHalprws0yqmoc7Dz9ZN3trUi7QELsN+g5npzHB7Ot3uql7fdDmQdJ/nm8CJmOVzFzbi28zUBew8skpqCOHEJHWcl29oFq2gSJubBwHXX3VgR1cRkCSH1H4JKyktxbaTD/w== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3831.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6dbaf4a6-0463-408d-baf2-08d88c208182 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Nov 2020 00:17:31.1556 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YXx1ffzyHzCUvDEdnSbT9mzOvNEuNw3bwiluCo+a7ZMBwiCSCvu+wrXZHfeRn2egrufPo7TKLfMLdwhfipVTwA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB4927 X-OriginatorOrg: intel.com X-Mailman-Approved-At: Thu, 19 Nov 2020 04:55:14 +0100 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Question about recent change to rte_mbuf struct - user data and udata64 feels (breaks SPDK) 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" Hi, Recently this patch https://github.com/DPDK/dpdk/commit/5284adad3e95025f990= 1869f581c8c04ea642d32 made the following change: * mbuf: Removed the unioned fields ``userdata`` and ``udata64`` from the structure ``rte_mbuf``. It is replaced with dynamic fields. Which breaks the SPDK project=92s crypto and compression capabilities as we= use userdata to store context for our operation so it can be retrieved upc= on completion of the operation. It=92s not clear to me that we are safe to= use the fields that were added: uint64_t dynfield1[2]; /**< Reserved for dynamic fields. */ uint64_t dynfield1[3]; /**< Reserved for dynamic fields. */ based on the comments. Can someone please advise, why was this done and ca= n we use these fields? Thanks, Paul