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 1838BA052A; Mon, 25 Jan 2021 19:52:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A30F2141156; Mon, 25 Jan 2021 19:52:08 +0100 (CET) Received: from hqnvemgate24.nvidia.com (hqnvemgate24.nvidia.com [216.228.121.143]) by mails.dpdk.org (Postfix) with ESMTP id 5A145141111 for ; Mon, 25 Jan 2021 19:52:07 +0100 (CET) Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 25 Jan 2021 10:52:06 -0800 Received: from HQMAIL107.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Mon, 25 Jan 2021 10:52:06 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Mon, 25 Jan 2021 10:52:06 -0800 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 25 Jan 2021 18:51:56 +0000 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.174) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 25 Jan 2021 18:51:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dqT9k0Bidh//EW16JOxau6AmmFS70CYc/Ahv+TlPWClfJoa0qdCkhS7yOiXZ2Phcw2cUWQmOEjUPr+le9vZJFnH5JzqojGTwJ3kACO8w47Zq14LqpmRV/JhdF9OE8ksdn85qs9dltsRfn1Cv6DADGvpXpvTCMKrllbCeL5U6LZFteX4KuvRBb5H32PZQKv0WtzzdjyWZ+9QniPT062jAnRKG/Hw6/BT/uswREvT8SKMw7MLyxPWCTBp+t2Bf74j5eI2kWYh/k0mKusoaFUvjTcTMcXTs2OOtrGYp+H/DSaY7Rf/YoPhgWcolscYCm1IFG9mkKP4URE+sx3rz9NV1jw== 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=XeqV3bq+ZAWMWxuDyrT1Sf/1MvKHTVUt20goeU2MWU4=; b=NsqGQc8eoKrM+Nbv0tVi28orCPWuGLOt+jDphUhtMRLG+2BpNojXFGuzVK0Itarqm0yaQFHZQYVPMuqbnrQ7eIbelUq0Zwc8CraezL3twkkrx7CGtidHNchq8PT9XNJH75v9qsFLjiwgjehegkKMUbdWQZK8+6vdyE1QPckfCNrA6sAkTWRLVJjyy+3xVGYmahKDmYg9qpb0qpNBGb1wAY0KLQYH8BoHI/XAgAxbJu+dbmgVl+NDz+BL29M9p2dYH/RceQwwhe0IaMlfQzbBrxWbO7P9zQKsH7qeaKrNKAl3Rt2QqzcZdnpRPr5Ki47fLF41Ve3s9X1n7P73rtGxcw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from MWHPR12MB1472.namprd12.prod.outlook.com (10.172.56.147) by MWHPR12MB1471.namprd12.prod.outlook.com (10.172.55.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.13; Mon, 25 Jan 2021 18:51:55 +0000 Received: from MWHPR12MB1472.namprd12.prod.outlook.com ([fe80::e58f:f78:5a92:864f]) by MWHPR12MB1472.namprd12.prod.outlook.com ([fe80::e58f:f78:5a92:864f%12]) with mapi id 15.20.3784.017; Mon, 25 Jan 2021 18:51:55 +0000 From: Ali Alnubani To: Dmitry Kozlyuk , "dev@dpdk.org" CC: Maxime Coquelin , Bruce Richardson , NBU-Contact-Thomas Monjalon , Neil Horman , Jie Zhou Thread-Topic: [dpdk-dev] [PATCH v10 0/3] pmdinfogen: rewrite in Python Thread-Index: AQHW8pLNMEPbFvouoU+bMQMYrHXIZKo4rjTg Date: Mon, 25 Jan 2021 18:51:55 +0000 Message-ID: References: <20210122224327.5621-1-dmitry.kozliuk@gmail.com> <20210124205157.14386-1-dmitry.kozliuk@gmail.com> In-Reply-To: <20210124205157.14386-1-dmitry.kozliuk@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [37.76.197.89] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 060b60c2-859d-442e-20f2-08d8c1624938 x-ms-traffictypediagnostic: MWHPR12MB1471: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2UuJwRdv6yXMBB7JRj+n9sSOf9udpJMxaMxF2sjvYjmJDYtraDPaDaq9E6+/r0JoNOMHx/G/ssRjpDfxL/WfhYd7bJs8LM25635jz9aSTA57Jk9f4TsbFpgeTdNEQ1XQJS5ko/LUQbchKZIjBzxVI8BJA/K8LlYsumfwmcG79HIMtx715HdN/LxTwZc50Od7xv4CjAbyYMZu9FgAOk9F4IjvUs56B7eJF+HGA4CWw/AAOpVrPCLE+5IaW42hUI6w+8/lm17UM3g7kevrmfYcluSfkeDdmBLxEYPZktrf/UeW5kdpcIDHVJscegDu/K1abA7NsUHZsSU23fdHRZUPA6FMewlel69H0JCh68S2rJ5fyuSe1HykoJLrZNU2IyU5hU9dQO083+4PAwIP3D2d8IYnCL4yrSwIczMUuiQ+53jHqpbu1thvYIO3bJO7Witftnzngo5yyTWXEtV1cu8Hjw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR12MB1472.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(396003)(366004)(346002)(376002)(39860400002)(66476007)(52536014)(110136005)(966005)(54906003)(66556008)(64756008)(66446008)(478600001)(76116006)(8676002)(66946007)(186003)(2906002)(53546011)(26005)(316002)(33656002)(83380400001)(5660300002)(7696005)(6506007)(86362001)(55016002)(4326008)(8936002)(9686003)(71200400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?UA47cp0RmYlEwOw5AChlE+2UYd1CycbBF2WUaHciaBJ8whWkPpFaCvVoiyJl?= =?us-ascii?Q?tblTuMGJ1REFHVx9CY5P5j1daM07Pdk4tVJjBxyghXyIF1/zXZw1PVJdptLS?= =?us-ascii?Q?wb8CbwFwIHH2qjPuulLZdhIo4yq8sKgT0r5griTnpf0zY5kc4H5WZsAxGFxF?= =?us-ascii?Q?cJrzjY03qVQgI8JzdgAUhYNz9/4Idq34i4QAFOUcTimqoMntErzYt+GMDP85?= =?us-ascii?Q?s4rlurjg+PcsChPOlQ2lgobQLiiixiR4tQ7X7ZKw11Dt+UPwd3+IN7Tsb3Sn?= =?us-ascii?Q?3BitSgclfxPoCKAa278NOHYDdwDyWwjgykSF29VN+3srIuVFmGyFbjiMwjDJ?= =?us-ascii?Q?VKlyZXCbdSecHsxWx04f+GDu82dZq5BVwUYfpYFBQ6WRqI8E4Q5T/3Arx+Dj?= =?us-ascii?Q?YAd9us8KdR8K80+bHtqNulU1l9YVuWy7OP1Lpwgwfs2QYhNm9AvWVpCCQnMM?= =?us-ascii?Q?QxdTV4O/Z529xjuYLXppXzFwU1S8lCuPQl6SX/rfvWhRJ6uZSFv9MBcP8hRJ?= =?us-ascii?Q?1Y1sGfQEe7nFH6UUs21oiA1RS3fzSS4kMJwEkpvyL3piGDNC9k2LpZN9ZR79?= =?us-ascii?Q?nCpbJVLyh5JVCNiq6veRjmnUbSKQ8SaY6pZ2jHoLRTEK/6yfbBFOLDfh/aaY?= =?us-ascii?Q?KT0CyDwVXI+cTtXRC9cpYm0HUsvs89+XS1sg5XKXQoxYwntG9U7B1zIX6hi+?= =?us-ascii?Q?+8Zun471LPhpAHJsvcCLDV5D3K1iXgYsWosW9yZaqM1OhIp0eMRBWRqMoUsr?= =?us-ascii?Q?x6CM8JDSfPl3BzcdeoQspMbeBoeq6miT2RadVhxgbWem0+vHG2aFunm6ryS6?= =?us-ascii?Q?yw5pNGisL4spHI11Fc4u8Qa728KPytPShbKs2iVjMqLySfg7Rn3c3t1r7q9h?= =?us-ascii?Q?GgNuYk31Nttz6DvE0KkbqbKvvUE73PSA2aK5nbpltZq5delDwz7b6NHmqnEx?= =?us-ascii?Q?U/nuX2WyrMrLZkDSdBpx+zIMNTc4f2vcqBKXqDZ471bXwWK6vsiu0B2AS6qp?= =?us-ascii?Q?FMpHT9+pAk/+bcdWTAUUqlAxdI3f6zud9arY3N2RTbSjI/LESAPTw0yuh1BC?= =?us-ascii?Q?gebWLBoe?= x-ms-exchange-transport-forked: True 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: MWHPR12MB1472.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 060b60c2-859d-442e-20f2-08d8c1624938 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jan 2021 18:51:55.0966 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: EZJagByvbRH80HKNMUNksWuo/Wsfq3zpWFuZHAAH+jNYOZ0uzyi7/8O/9thXUa4JCKqW0//Md3+a/U5KB41TMA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1471 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1611600726; bh=XeqV3bq+ZAWMWxuDyrT1Sf/1MvKHTVUt20goeU2MWU4=; h=X-PGP-Universal:ARC-Seal:ARC-Message-Signature: ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic: Thread-Index:Date:Message-ID:References:In-Reply-To: Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-microsoft-antispam-prvs:x-ms-oob-tlc-oobclassifiers: x-ms-exchange-senderadcheck:x-microsoft-antispam: x-microsoft-antispam-message-info:x-forefront-antispam-report: x-ms-exchange-antispam-messagedata:x-ms-exchange-transport-forked: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=B5QfRMWpbqyx2bdqQgKA+s2qHUjk3HUQUaeEjTN3CXz3fWFFdty/F+YOVNzsJIntf XRhQ1R1sLpxRoYqeDASnBXeBL5zu90VuePUOaB3LEnvENNq5dJM3RKbpZWB1H1KJZr SpWxDLTSOFIAb09u92MJUDPFJiUYaviePbor/HHw0YR6okj+GFg4PgpSo5gAirVtTJ eO6ik0xxFB1WjjecwZUE4Wdc2oViG6mooDkn7FL1P1IiFIpoDI+zzPfmVCTLLRftkm nFXHO6wpevEvfh9bxqtXxkZJ8VGuWeiJHIWxY38Uk2c/rCtSm+UVzb/oNc+9W+W9WL kaKURU2P1PKiw== Subject: Re: [dpdk-dev] [PATCH v10 0/3] pmdinfogen: rewrite in Python 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" Hi, > -----Original Message----- > From: dev On Behalf Of Dmitry Kozlyuk > Sent: Sunday, January 24, 2021 10:52 PM > To: dev@dpdk.org > Cc: Maxime Coquelin ; Bruce Richardson > ; NBU-Contact-Thomas Monjalon > ; Dmitry Kozlyuk ; Neil > Horman ; Jie Zhou > Subject: [dpdk-dev] [PATCH v10 0/3] pmdinfogen: rewrite in Python >=20 > This patchset implements existing pmdinfogen logic in Python, replaces an= d > removes the old code. The goals of rewriting are: >=20 > * easier maintenance by using a more high-level language, > * simpler build process without host application and libelf, > * foundation for adding Windows support. >=20 > Identity of generated PMD information is checked by comparing output of > pmdinfo before and after the patch: >=20 > find build/drivers -name '*.so' -exec usertools/dpdk-pmdinfo.py >=20 > Acked-by: Neil Horman > Tested-by: Jie Zhou >=20 > --- Please see the following build errors: https://github.com/DPDK/dpdk/actions/runs/509771118 """ FAILED: drivers/rte_common_cpt.pmd.c=20 /usr/bin/python3 ../buildtools/gen-pmdinfo-cfile.py ar /home/runner/work/dp= dk/dpdk/build/drivers/libtmp_rte_common_cpt.a drivers/rte_common_cpt.pmd.c = /usr/bin/python3 ../buildtools/pmdinfogen.py elf Traceback (most recent call last): File "../buildtools/gen-pmdinfo-cfile.py", line 14, in [ar, "xv", os.path.abspath(archive)], capture_output=3DTrue, check=3DTr= ue, cwd=3Dtemp File "/usr/lib/python3.6/subprocess.py", line 423, in run with Popen(*popenargs, **kwargs) as process: TypeError: __init__() got an unexpected keyword argument 'capture_output' """ I also see the exception in Ubuntu 16.04 (Python 3.5.2, pyelftools 0.27), C= entOS 7 (Python 3.6.8, pyelftools 0.27), CentOS 8 (Python 3.6.8, pyelftools= 0.27) and OpenSUSE Leap 15.2 (Python 3.6.12, pyelftools 0.26). Thanks, Ali