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 AF92DA00C2; Wed, 28 Sep 2022 07:41:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 519C94113C; Wed, 28 Sep 2022 07:41:12 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id AA78A41133 for ; Wed, 28 Sep 2022 07:41:10 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28S5Fm1B002748; Tue, 27 Sep 2022 22:41:05 -0700 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2101.outbound.protection.outlook.com [104.47.58.101]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3jv6guj013-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Sep 2022 22:41:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZNEeu+/w+MLgSm4v/FTVZ75kQZ31H7furEql1WCyUkYkoAhyVc+nHnoTygtvtx2upi0382n8Y0xlhjBM2r3zoS5EixFBPClpnJajXXBCzzgZVUxIC47uMWVHGvpdle13Wx5JJdi0gv0vH1tMZsMUaD/zECGf3zf+Bu9F4cWkA54Lpd4TKFHBq9wOfF/Xeyhb1KBXcdN79H8rgBqngMMvZZb6VZWpWj4MQ5GtTWI601lx+p49DVY+1kSfBaIbxFSj/lrTR4TPh2G8v1YIpZcVNKPylt3u8F104lK6+Ev4l/ZkOZWj2wPhU11d3qnsMzKPriu/8IsvbKEU5zzSwwkVdw== 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=MvKlKClpkUBmPstlDKqAqoNwg+dpp7jxbdNZPE8pw2Q=; b=F01JyB2gUw/l3yeJpkFqPfbd+2Th3KlBv/dCUTSUdQNESsJ4kSVBsGMSgTyiPIGYkSMjyyt0YSx7FiEkK4DZUm5HR5t07Uc0MDwv01ytdrx0lcHt27MWS6/Jh1mfoZWL9qjFG8HdVpemuieRVLK17GNcTAhEzr4wokNv/CKWae+dEDcBzwFezRcix4AhF5ZBu9DThRQL1an83L+7+vx1qxEJkSSEbq4gEce6bqJ7pEeGcoDg7qGwdLlLzjMTO13fhS9bot+MQHXTLvSxLQrRYPbWF+Oj+wRP1Xtn0bgGE5ov55AX2klYkGm0XyXhfY5m8suk9UugWvH1IKeKlRTOzQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MvKlKClpkUBmPstlDKqAqoNwg+dpp7jxbdNZPE8pw2Q=; b=YRcx//Om0N3Mp0w5v81D0/mHi6zBO0jAVNfF+bynrviH2ZGUbX7ZMJ/OSYqkB6DfB6jCnkvH2edwxibILox3ABONBKQKzyWmwhDTg2uBMUNDUnZS+KvVQ7wjr+EHucE/Xw0VfXF3X5VHaZdCAnaFMyUddoUgKEaIe687+UEk8jQ= Received: from PH0PR18MB4425.namprd18.prod.outlook.com (2603:10b6:510:ef::13) by SJ0PR18MB5086.namprd18.prod.outlook.com (2603:10b6:a03:431::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.24; Wed, 28 Sep 2022 05:41:03 +0000 Received: from PH0PR18MB4425.namprd18.prod.outlook.com ([fe80::16f8:9275:a441:cfec]) by PH0PR18MB4425.namprd18.prod.outlook.com ([fe80::16f8:9275:a441:cfec%5]) with mapi id 15.20.5676.017; Wed, 28 Sep 2022 05:41:03 +0000 From: Shijith Thotton To: Shijith Thotton , "dev@dpdk.org" CC: Pavan Nikhilesh Bhagavatula , "Honnappa.Nagarahalli@arm.com" , "bruce.richardson@intel.com" , Jerin Jacob Kollanukkaran , "mb@smartsharesystems.com" , "olivier.matz@6wind.com" , "stephen@networkplumber.org" , "thomas@monjalon.net" , "david.marchand@redhat.com" Subject: RE: [PATCH v3 0/5] mbuf dynamic field expansion Thread-Topic: [PATCH v3 0/5] mbuf dynamic field expansion Thread-Index: AQHYzcH9viM6SU85XUWUs/rM3C70N630W23A Date: Wed, 28 Sep 2022 05:41:03 +0000 Message-ID: References: <20220907134340.3629224-1-sthotton@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR18MB4425:EE_|SJ0PR18MB5086:EE_ x-ms-office365-filtering-correlation-id: 8938f3e7-b6e7-49ea-a11c-08daa114080d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: c1XLU2wRIHV0J5Qb/ivJHKulwl18/DCoG+gkE+T3O7BlQkMM6E5p6yRz92MrjJauYP42HbtTz0tA2UN72+P3QJACdTsQ3SBe2ri3//M8gutqReMO7FiKQ3a2XsHjxeZAx8IgObO1ed99VN8SHvECR5zFC6jXlq/ZApLjuMSu5B28GGbB4HbK23rzYlRac6iQQ0EK7xDLlwHVGyYDuhNBSTS4kcFK9WcLJh8pmfS9+tn8J+awqXVAesblnfblQi7418ZMgjLvUkPrfKCUOU02+C9uQ3VOi2xzpnDXMMKVNHgMWM2dnSuz0OVU10TjXa5kBLaOw9lXMdGc/imyIhpxhuTyWpCRv1mnTuO2hjZmJZp0+AHiTYgcW53x2KYE/wuF0tjrdgoWIOiSDCh3CoheKJgXz4Tpp2ukIc4DsQaHsZ/2RW/rq4+gpQgiTTp9W9oEtP5A8TNLgxJQX5ib2d9b5H475+/kZhC+kJprQpysQGb+pleyfbo5GangqzUux5jpO4Y0yYrvJBCURnWss+Bf8gDTljtqU3uVruyf6n50dLwePS7xFBZm/znu5EMASDhmDU3Bn760FZjktjGqdNIpDhRKK0X0P7gQQBgOTw4vcvXeaZYI57YY4GZ/vXW7LchAfCmYvCFT96jMKcmOhXDOLabgnW/QnAaDHR/UuvxajrTiLK3uOARiOTKYkUteTT/iIOhoDEYwH9gMWKQGmHXOy+PQhMQx76dRzpGXdkbrx847jWuNzMREjnluGZs+3CiHHamvEwZZ3czKFu1xYJIjnvZQDdRPeQ1KWT0YDG41Z80= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4425.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(136003)(346002)(39860400002)(396003)(366004)(376002)(451199015)(71200400001)(55016003)(122000001)(38100700002)(478600001)(38070700005)(26005)(186003)(9686003)(52536014)(33656002)(316002)(110136005)(41300700001)(83380400001)(6506007)(8936002)(7696005)(54906003)(64756008)(4326008)(76116006)(5660300002)(66946007)(66446008)(8676002)(66476007)(66556008)(86362001)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?u5ixbv6stfMBO8aaFkNHT2sZWrRF+5LirkmEyAbcpag4c9G8BAen9XdN3cDT?= =?us-ascii?Q?VRHX8wxtzV8VRmRU0I5Xuhz2F8FFy9+OITsAJUcA3r+2ie3xxG7g6AsBPQEk?= =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NSV3wAb387h3QN6ugpgGPeABPlS1vi8JvlL9yEViSXfurgoe2fvT?= =?us-ascii?Q?q6AmelB49ZDOjkVHCtqikU2+breXPpz5sWL4t2UkYJBklaCsbzH/mEcbpC20?= =?us-ascii?Q?24iuNf1jt6jwtqS9sxAcTQ/LcceIayIbmFjtlFNythD1yOGeyQwGsFVEO8PL?= =?us-ascii?Q?/L88t7KO5YlyJArwW3NK/bNxKqo27pYYf3+6J3NkzULkflPDjcCSe5IOA5YE?= =?us-ascii?Q?v94GpeeUHaisJScMlaihOKCSrUiou/Ond+9c3keiBn+VI5utfKdCFe9wAqY/?= =?us-ascii?Q?W2TAKtocKknZdBGMUNYLSj/tEdgZuRUhPk09uUJX3JKn1FOdNPnnge92fdV0?= =?us-ascii?Q?727JnWxX5EDEeiUSt7wilrRv25+nb8nj7GIM00cfa1ZOUdV84eURvzweXRT2?= =?us-ascii?Q?hXfwOsJ0goXn3QAXLsDm9mrjwwtUTbPAhhfdkEyalq2IFI7STaphky128uZK?= =?us-ascii?Q?1lrqiQzEYZlwUBfHfekjRUVXbnQyppeK2APv7Ba5/N5HioSIvijO2XXGGqh1?= =?us-ascii?Q?EiRKLPa4HdB3ZdYPmYnbfWrMXFmT41Yqvc+fQkU2MWeUJqJYihs5x1wU6Qvl?= =?us-ascii?Q?OHGnTtrW2+KeW9H0V7BtOv7mciXn73soDJac60JO?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB4425.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8938f3e7-b6e7-49ea-a11c-08daa114080d X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Sep 2022 05:41:03.2407 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7b6i6r/K7P2C3GD3N/qfJu/BM1wMJuPYx+mw5HVzaZkGmuFv4mVyRYid3WIshTQlR8f4jv5+IhamxfG+6Xpvxw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR18MB5086 X-Proofpoint-ORIG-GUID: h-rJh9-SFg-Gz3uaEBPTxgm9595alyCL X-Proofpoint-GUID: h-rJh9-SFg-Gz3uaEBPTxgm9595alyCL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-28_02,2022-09-27_01,2022-06-22_01 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 > >This is a continuation of the discussions[1] to add mbuf physical address = field to >dynamic field. >Previous version was to add PA field to dynamic field area based on the EA= L IOVA >mode option. It was >deemed unsafe as some components could still use the PA field without chec= king >IOVA mode and there >are drivers which need PA to work. One suggestion was to make the IOVA mod= e >check at compile time so >that drivers which need PA can be disabled during build. This series adds = this new >meson build >options. Second patch adds mbuf PA field to dynamic field on such builds. = Last two >patches enable >Marvell cnxk PMDs and software PMDs in IOVA as VA build as they work witho= ut >PA field. > >1. >https://inbox.dpdk.org/dev/57d2ab7fff672716d37ba4078e2e3bb2db126607.16566 >05763.git.sthotton@marvell.com/. > >v3: > * Cleared use of buf_iova from cnxk PMD. > >v2: > * Used RTE_IOVA_AS_VA instread of rte_is_iova_as_va_build(). > * Moved mbuf next pointer to first cacheline if RTE_IOVA_AS_VA =3D 1. > >Shijith Thotton (5): > build: add meson option to configure IOVA mode as VA > mbuf: add second dynamic field member for VA only build > lib: move mbuf next pointer to first cache line > drivers: mark Marvell cnxk PMDs work with IOVA as VA > drivers: mark software PMDs work with IOVA as VA > Hi All, Please comment if any changes are needed on the series. Right now, there is 1 ack from Morten. Thanks, Shijith