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 DF9DFA09FF; Mon, 11 Jan 2021 17:09:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F88D140F12; Mon, 11 Jan 2021 17:09:03 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 64815140F0D for ; Mon, 11 Jan 2021 17:09:01 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 10BFq6nl009273; Mon, 11 Jan 2021 08:09:00 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0220; bh=lY2CfKdsy/X/O23O0jcNkeXTk7zNjg96Y0AxH5xz7qg=; b=N4R6mYFyXrh2nuuCfCVKGsghp6M8kPxzl/rBV3ic692f/hIW/tbGtdrgHaCedLOKUOhm J8TO86BFOPxDSk5FqziIvCDKBEdWuBOGk4mDqzldEmpRWdjFQU5Yt8NTBUmqrLRu5jsy NApsWSt3gQD6o6Qx8pshZ41XlAsjTbxoAeEq6ilE9XxfozHiyikA9dHhNBnvZGIX3CvF USMEgyaKdHcsRj7j3xswK+Y1YkomlnIj1QIKFBnwVADaWPq8XMF8sKE+Cl+3ZNWZ4Fyg H3snLUnlWqC1VPrWSyhNIezgU84+vIkuh/B5ynEnC/ZRzDF4l90t7Mgkbu4KkV7A282b 1A== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 35yaqsmr1v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 11 Jan 2021 08:09:00 -0800 Received: from SC-EXCH04.marvell.com (10.93.176.84) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 11 Jan 2021 08:08:59 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 11 Jan 2021 08:08:58 -0800 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.52) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 11 Jan 2021 08:08:58 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P1Vs0V4eBUN3bOoWfRJWRN8y2auya9QeDXvGlJeBHp1DXPoDZhA87299bZN1SeorWsvZ7KbifO7bmXmHFi9ZBrAacdHMd6DDMVOwlM/zG31lhFxWa7NeE/UBNU2vnlZOj+c7zPPl4i9cA9CYvEqOHg6wmuBjeObL1ryFf+XvWcw/+FQX0dSaFSrMXrgpXsBwJqU+fyQi2qGUwNz3Z9Ungtev3kI8Zclq9qkS3EISxTE+TGB5Hjv3Iqk/ML7di/5gkKPZwsmtSkEO0OSql9wV5xkq1yei8A16mGPpuhwn5z1TTeCNH7ZlqwizPglJu8uClgVkNnqqVjVqVr71cONDLA== 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=lY2CfKdsy/X/O23O0jcNkeXTk7zNjg96Y0AxH5xz7qg=; b=Gloag+aeBGTHA8qTJZ4kZwxW7LqVskXISZi9NFzlC342gU889VcMU+J+GNzahj6IyBLsoma2ntNh1qGRa26R8vmF7lYzpJuCw8CVjN78pzuXdvjgTl0CKYXtZs1SU3fkNwmEuFm5Evh6jA/PIEDT5EEp+WMdvt41MHN3Xbvk1VsJFOeNBPTcdbdnOrKhmRRHUMV27Fq9GZYjkal3j58KOVFWwTIQ8N2KYHKDo+RWpp+MLyNmMF30zd9OCKU4xTktsxuCCc7QIZikMnj8YbLfxEFf2LwARceaaY8u1skNUZnJUjKx3FbhlHb/5dBjPJl80zwi9Y8JmdZWJgm3iM/9FA== 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=lY2CfKdsy/X/O23O0jcNkeXTk7zNjg96Y0AxH5xz7qg=; b=jCntBYitycupmAcaYGfx1rFOywrvxIXzrylAESJjdBulGshkTxRxZ2QioS7zpE+kHeqyDzeSAkKXws+X/ztFkji9g62T37s/JT9otqbLU+4bPfrPqgaODE8hWHDj90NO7iNtntL/4AecVAiDInlma9bA8DryU0bt0iHGTNgCyzU= Received: from DM5PR18MB2214.namprd18.prod.outlook.com (2603:10b6:4:b9::21) by DM6PR18MB3082.namprd18.prod.outlook.com (2603:10b6:5:166::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6; Mon, 11 Jan 2021 16:08:57 +0000 Received: from DM5PR18MB2214.namprd18.prod.outlook.com ([fe80::a183:ecee:96eb:60b6]) by DM5PR18MB2214.namprd18.prod.outlook.com ([fe80::a183:ecee:96eb:60b6%3]) with mapi id 15.20.3742.012; Mon, 11 Jan 2021 16:08:56 +0000 From: Liron Himi To: Thomas Monjalon CC: "ferruh.yigit@intel.com" , "dev@dpdk.org" , Jerin Jacob Kollanukkaran , Liron Himi Thread-Topic: [EXT] Re: [dpdk-dev] [PATCH v3] meson: update meson build for armada drivers Thread-Index: AQHW0/Os27Xqx09iKEiEO+utoigRaaoiccqAgABAtDCAAAzBgIAAAIRQ Date: Mon, 11 Jan 2021 16:08:56 +0000 Message-ID: References: <20201215222319.13816-1-lironh@marvell.com> <2489984.pHaSLPtmOr@thomas> <1776515.fif75YaaBN@thomas> In-Reply-To: <1776515.fif75YaaBN@thomas> Accept-Language: he-IL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=marvell.com; x-originating-ip: [89.139.3.108] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 27db87bd-7908-4406-9e6d-08d8b64b3326 x-ms-traffictypediagnostic: DM6PR18MB3082: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CT12EcKgYYerZHTXyOSQk/HSK7Hk3JFykuQyNR/MSO5oS6HfGB7WFqnmRFBizuQW7Fq0PmxhEHJDmWIb8bqT2VwZSRcgnHMmvzH6vNSIjKZKbwkm9uHmfk+/R2bCfHm/Hx2ux2icr4yioFryFqF//7Shi6IAG0GHk18Z3tY2nnoTM3/UvxU3x9n2isoSo43v8UfkKJaQ101/fF0H9BXG6iOIqBnS7mE3y4u7BIMuV+eUPIgxwz7XT9FKN79Na/ozGgpMfRvrYx5HkYNF9ZVK+13Rr74VE3gazn7h7uaNWErU3kBmLBLDgWYQs+cyJoQvbUyEUvBRtBCFJKhn6lDx1WvyOh6jFWSDaW+AkK3zMyfLghJhguclB8imFA6XFtfwg5bwx3ejfyZVGP0/hUROug== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR18MB2214.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(366004)(346002)(396003)(136003)(376002)(7696005)(5660300002)(4326008)(186003)(8676002)(33656002)(86362001)(8936002)(83380400001)(107886003)(9686003)(6506007)(26005)(55016002)(53546011)(54906003)(66556008)(316002)(76116006)(66446008)(52536014)(478600001)(64756008)(66476007)(6916009)(2906002)(15650500001)(71200400001)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?4AZVdXeis+EMRNpSulwDrQjGmzcCqKjMcj/zGu/cHoj3TFuxvGQ1l3BodxrI?= =?us-ascii?Q?2NpbPQcYIlbmfKPvO/xtN+XUncNIjLU5RGWKn6ythy3efcTSr/A+RsY9LE5R?= =?us-ascii?Q?GSofUyXZJH1XwlN8OlMnnEXdyq3HOrdry++0ZD5MmD2NRAWarm3xyEfnnU0O?= =?us-ascii?Q?gXSwl9YxUf4LKarqzcWGIdjbUTLFGyhvqMCn+l0EUmnRF+8EoGQuvgUqvx35?= =?us-ascii?Q?r1NxOQ3fa7MAt17Yny9K0SEos2ZuC8h+cKmJVwqQ7nAD/QdnBCR4PK/F4P2U?= =?us-ascii?Q?mzfqYqeGRcx4OFNJDk3mEEJcJnFTBVV6Eg6BME63JqnyXIsKOEGYEyImVWWp?= =?us-ascii?Q?voGjvaerYTiyAttkfdN7WhxILUGLFJovuOb1lLeauBbLgsw1njMKdJKFj763?= =?us-ascii?Q?KR8ua94maJP83giB7KoYc34L9aIOELhOmM2/pjWpM/ME+YltuDXlThG67+cd?= =?us-ascii?Q?IWJSmeyANCXSAkNx0zyhZ7GDVQLTgVRkJHBwlM4ZRnmZxGAqlX5YQx1Sa85x?= =?us-ascii?Q?DebQRnWNyj1FKJuNRYJnmI6c/Z8D0SGU8OCZ8kOEx6jrdGSLUnN01CVCu4R2?= =?us-ascii?Q?kVzIPf9u3qpyhRj+boxcqaZ81IApvjr7RQS7rTVHsYeEqOy8RK10DVwRDcwQ?= =?us-ascii?Q?j1YFCMXIXFo4J4bAcKFmmrrU6Ad48lxkDFgNhsULGSfRSC4kf1aSUeCa8Ea2?= =?us-ascii?Q?LzheC1BImlHE7vfa5SLYGaQNNGnbA2MlSHRz7/vbCuzxNhfn4A4+LLzg64M3?= =?us-ascii?Q?zpO/fucM+qzKpGHoAoVvKW11qDks1InhnBkEAZ65trnmnMyfgHjUVfq+8kQA?= =?us-ascii?Q?lMZxT3M2NKorzIaHyVy12gAC6HpCE1tySFeBr1v09/wnSehrfUZPdAqeccvL?= =?us-ascii?Q?bT88V0aI423WFxfkzxnmahYAxDujVoQyu+W2b9n3DsB9Op7W0gGffk2p/Whc?= =?us-ascii?Q?EBUNxo6FL3xNNqGwOrmgZF8j43+UQzv8c9k812hWDP8=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR18MB2214.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 27db87bd-7908-4406-9e6d-08d8b64b3326 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jan 2021 16:08:56.8187 (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: BsFtp/0ElKPEWnDU2ZIi2qIjLmn4QHzCEMR3lF6zURBSQNowplrKKJ7XcylXBi8Vz0orCX1NT6uofCMH9Ix1Ag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR18MB3082 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2021-01-11_26:2021-01-11, 2021-01-11 signatures=0 Subject: Re: [dpdk-dev] [EXT] Re: [PATCH v3] meson: update meson build for armada drivers 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 Sender: "dev" -----Original Message----- From: Thomas Monjalon =20 Sent: Monday, 11 January 2021 18:05 To: Liron Himi Cc: ferruh.yigit@intel.com; dev@dpdk.org; Jerin Jacob Kollanukkaran ; Liron Himi Subject: Re: [EXT] Re: [dpdk-dev] [PATCH v3] meson: update meson build for = armada drivers 11/01/2021 16:29, Liron Himi: > Hi Thomas, >=20 > When did you take this MUSDK version? > Is this your head "pkg-config: expose dma-add-size"? I'm using musdk-SDK-10.3.5.0-PR2 as recommended in the doc. > If not, this explain the mvneta issue. > I already noticed that and pushed a fixed to the github. I see. So it may need a doc update. [L.H.] why need to update the doc? It is still the same release branch, I j= ust added a fix patch to it. > As for the prefix issue, > The prefix is being set in the 'configure' phase by using the '--prefix' = variable. Have you tried that? No I didn't try that, and I'm using DESTDIR variable when installing. Whould it be possible to update the prefix with DESTDIR when installing? [L.H.] need to explore this option. But for now use 'prefix', as this is wh= at supported by MUSDK > -----Original Message----- > From: Thomas Monjalon > Sent: Monday, 11 January 2021 13:28 > To: Liron Himi > Cc: ferruh.yigit@intel.com; dev@dpdk.org; Jerin Jacob Kollanukkaran=20 > > Subject: [EXT] Re: [dpdk-dev] [PATCH v3] meson: update meson build for=20 > armada drivers >=20 > External Email >=20 > ---------------------------------------------------------------------- > 16/12/2020 22:36, lironh@marvell.com: > > From: Liron Himi > >=20 > > With pkg-config support available within musdk library (from > > musdk-release-SDK-10.3.5.0-PR2 version), meson option 'lib_musdk_dir'=20 > > can be removed. > > PKG_CONFIG_PATH environment variable should be set appropriately to=20 > > use the musdk library. >=20 > Sorry, it does not work. >=20 > First, when installing MUSDK, the .pc file is not updated with the correc= t prefix path: > make install DESTDIR=3D$(readlink -f install) In install/mv/lib/pkgconfi= g/libmusdk.pc: > prefix=3D/mv > instead of: > prefix=3D/musdk_path/install/mv >=20 > Second, after manually fixing the prefix path and compiling DPDK: >=20 > In file included from musdk/install/mv/include/mv_std.h:101, > from musdk/install/mv/include/drivers/mv_neta.h:100, > from dpdk/drivers/net/mvneta/mvneta_ethdev.h:24, > from dpdk/drivers/net/mvneta/mvneta_rxtx.h:10, > from dpdk/drivers/net/mvneta/mvneta_rxtx.c:7: > musdk/install/mv/include/env/mv_autogen_build_assert.h:43:5: error: > "MVCONF_DMA_PHYS_ADDR_T_SIZE" is not defined, evaluates to 0=20 > [-Werror=3Dundef] > musdk/install/mv/include/env/mv_autogen_build_assert.h:44:2: error: > #error "MVCONF_DMA_PHYS_ADDR_T_SIZE must match size used during musdk_lib= compilation." >=20 > The CFLAGS may be incomplete: > Cflags: -I${includedir} -DMVCONF_TYPES_PUBLIC -DMVCONF_DMA_PHYS_ADDR_T_P= UBLIC I fixed it by adding: > -DMVCONF_DMA_PHYS_ADDR_T_SIZE=3D64 >=20 > Please could you fix MUSDK quickly? >=20 > I think I will pull next-net as is, but I consider it is broken. >=20 >=20 >=20