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 71FE843095; Fri, 18 Aug 2023 13:01:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A4E040395; Fri, 18 Aug 2023 13:01:32 +0200 (CEST) Received: from egress-ip33a.ess.de.barracuda.com (egress-ip33a.ess.de.barracuda.com [18.185.115.192]) by mails.dpdk.org (Postfix) with ESMTP id 0910440223 for ; Fri, 18 Aug 2023 13:01:31 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04lp2056.outbound.protection.outlook.com [104.47.13.56]) by mx-outbound42-168.eu-central-1c.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 18 Aug 2023 11:01:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T7xWxo4R+2QPwgcC3JJdHRRee6sTIi29U6M0+FPu0yH5Vwcc4amOxIYud1fkP3tOaISMOM0dd7ezBgUx1gFPCIDZG6SzRcSAnSqR5xIBJvLYjT88dpIweIefPygdFZFJ007wdl2RX7Y/vl/DrnaQsFcZ9HDSidF+KoeZ/rschxrvBck3FqLZejVveOT4M3ph470F750OFUjyl4ubyyGRyh+he8yAaJN8ISKzRJRVyMv/oLiyiMdnwS+3P5E4e2OhRtPw+6sbD7LNyFKxourSpm39B53Wz89R/wtVvQURnzz78CmpEY3ey23Ov401RUQVvNzfUmgytE0sZNF41Atumw== 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=AgPy1JTlsFeWWcF+eAbhV/moatK2fqCXd4KwuWz3VRU=; b=c5Vu7uSjXksuPvWEFRqm8aRt0AtW1epH7xFqEQyEYn8qp5/c9ZKS/6kdbW69RLLb9HKA0jUW++PIFUF8jhWpCYGUaXWvaYUEUaCGiLtbsql11h7AU0qA/BNUvBDHb2fR+A8ZL6hEWYLoIjd38wpVuE6jcESfgO9lLKGBcUAT5LvJ9vEuH/5ESxYZgVChyeD/aKQHbbyCfGles9yctXeaUZhgYFigOA/EPTIf9QUtDAB7Q2sZ+u70f9nLnbbPOqvyTcycT2gWLohO9ycOzwoqxX6ycBFtlmIEJWkoDzXcEdxqlUsNP5fzBmOqvaMY+f4/eSGNjeU5kUqlzhzRLYcFcQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=napatech.com; dmarc=pass action=none header.from=napatech.com; dkim=pass header.d=napatech.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=napatech.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AgPy1JTlsFeWWcF+eAbhV/moatK2fqCXd4KwuWz3VRU=; b=Wj5av6jFEf8V3tmUUM5aw7TPbc4wNm1IdH3xYurelf4IH7yA/7+w89F41yGF86b44UKhREDUNGq4faOiceFzrHaEMo4zxZA/+mBtvh9hOXLW9NZd6yfpY7QwnhDeQBQjVlO5IB7Cijg61M9aXZzO0ude6rJadixnKxNtBdf9rKI= Received: from AS1P190MB1797.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:4a5::20) by PR3P190MB0809.EURP190.PROD.OUTLOOK.COM (2603:10a6:102:8c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.20; Fri, 18 Aug 2023 11:01:24 +0000 Received: from AS1P190MB1797.EURP190.PROD.OUTLOOK.COM ([fe80::67a0:2ae:6ce5:a311]) by AS1P190MB1797.EURP190.PROD.OUTLOOK.COM ([fe80::67a0:2ae:6ce5:a311%5]) with mapi id 15.20.6699.020; Fri, 18 Aug 2023 11:01:24 +0000 From: Mykola Kostenok To: Tyler Retzlaff CC: "dev@dpdk.org" , Christian Koue Muf Subject: RE: [PATCH v2 1/8] net/ntnic: initial commit which adds register defines Thread-Topic: [PATCH v2 1/8] net/ntnic: initial commit which adds register defines Thread-Index: AQHZ0RlB1CIKOAA7FUySxZ92oiMOpK/vDJ6AgADXBAA= Date: Fri, 18 Aug 2023 11:01:24 +0000 Message-ID: References: <20230816132552.2483752-1-mko-plv@napatech.com> <20230817144312.3070053-1-mko-plv@napatech.com> <20230817220853.GA31649@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> In-Reply-To: <20230817220853.GA31649@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> Accept-Language: uk-UA, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=napatech.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AS1P190MB1797:EE_|PR3P190MB0809:EE_ x-ms-office365-filtering-correlation-id: 1bc88607-baab-4095-9520-08db9fda767f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 29YX3LzExbeyt5+qFCZNHXu+a3jcl42bED5r9JrTKFpA84D5fijgU1TUE34BLs23cI4SfUnQFGqhpqNTsunvvuJfhsaCtENZFUOOH/xLGeNKqRZb88+wfG/nEKXcSfpkApaVWT+kS4ijx36dWp66DhNTbQXGNgE4oayVoDY9Nesfvzia6UHT2uapY3In25srK6CTQLg6CVcbd5Z4wZt32gsJ20Ihbgq0Rj4IR+M7WoJ6Rl6Ecgyj6C+dY7ykSBRJVu5sYPVRY1aWbSCSIKjF8HD+0h/x8yi5NWmH4fDYzI55igzzDvWd/7uK8MKvUff1+xtvHBdYphsWtG+iTi7fvvaClqgqpMgpNSVBWNiEWArh5dVkXYbxTVHbTimFovBOspi2Kobfb0M8Ojl8nCIOSqCyRviyV+69f+nx5iJj0D3411fcZJnmEYQDAdsPx1PveokxUKBGqxs7slGXj6T3oohnfB56DMDt1k1hiB4J1dEpDxP05ZC6KxJTAVxmtk6yfOc8WTeYR7VMlys0c2nh4Y6N5z+tUC5aczI4gNM286Eo/20H+xVCHCB/z2Os9lM3FY9ixZq2xyZRI6AcEXJFSo7BlBIMZ1Dpn2jByWx6qoI= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS1P190MB1797.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230031)(366004)(376002)(39840400004)(346002)(396003)(136003)(451199024)(1800799009)(186009)(316002)(107886003)(71200400001)(26005)(6506007)(7696005)(53546011)(9686003)(83380400001)(4326008)(5660300002)(8936002)(6862004)(8676002)(52536014)(2906002)(19627235002)(478600001)(41300700001)(966005)(76116006)(54906003)(64756008)(66446008)(66476007)(66556008)(66946007)(38100700002)(38070700005)(122000001)(55016003)(33656002)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?WA43j1S0W/tDpzgmZ1vpbiWv0emlJyYiXr8M+fiHya2ahwUBNZwqMI7W9r9M?= =?us-ascii?Q?drfNUSr9P1ReKG0KkMXWZ7VeuHwHS+o93WRZPqdtpAc7S8BsMXm1rKn7cr7e?= =?us-ascii?Q?tEmPR3fZ5XgOLHGTOPEOdAzRFAvEBzhGI79WgHjQOMBKuQaE0JzDrM9C0g80?= =?us-ascii?Q?RfGJ6w9qFfDgaq7YzZo+tuglI0e2quqUcI25iXdrR7ga4m6d2bogb72X4yOr?= =?us-ascii?Q?eot4ECZm84mcxgzchO58Pg0m27IQ3WqulpO81o/6ixjB6IQJP3SKGY0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voK9N+OIVjZ/57AjIgCbTy9HA?= =?us-ascii?Q?DOFL+C+eE1C0JS27gd5SxhZp6TzKNe5vF3LWzUgWFI071XVTLw6aRdGMSLuY?= =?us-ascii?Q?p2/bCa1mgmW+sEYXDyP/pc5x/8+TrQXG2y4odQmFwxkpj25zV0+WU2YsMdJV?= =?us-ascii?Q?FtlM6lX52/LYKIBdfCUiVcxeuMeKMLn76L4wjvHN6ptAfsrym5AVn5cs4mGO?= =?us-ascii?Q?2ZinOeCnD8XvQUOxv4UoWdRbQot4Nnw4iMOnLraDuTku0U3+JCvHxR/CprFy?= =?us-ascii?Q?QGk6zFBQAeiP02qDXqfIzgxVF6VrlA4zvAdAttQbqVVsdmtFHOa2Dsl6YKjO?= =?us-ascii?Q?QTr560aSxy7OrOldlrrXvEGyU3/ay/YC56Rk/2z+vAI/uQsKzc+5tkX3B0Kq?= =?us-ascii?Q?DT5Cah4JYGfCPmnPL5KFvAXKAlB1NvSVLLFebTB0?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: cA+gVZ3loAzXrGbWKiuZdFQXVnPM9XAISTd/Oz0GTDFGhJVH0kqb9/eG4WSG8vk7mW9QxHIpKmoN1q846udUoWGXUaB87rD6teJ8xYnY6ES+O5l9KLfRRNocZuCqZ+UsB/bMNTeXzjFZLNVM8rExBKPp0HqvFODU427agHwvbFH4R5SVP0guXoq8OPCHsuTmq0epHrqKH9qO0ZN6Ro8NCouJ40b/+yU9bi0gPRgxLEKd9KjIl5hjelYthTumbX/YfnQz7SadzieqEFBWTawnfPTDdDWuqnJNkfuTDS0poaY1JCWB6yfSMYF9CO52KSfQ0NtXuHEmaKLfDW46Qdmny2ZfOCJx5aUlu9+RsY+SpPviMVYORgeLoaZgN80qUZQr2kMH0IBICQUN49fhQCl9V1DTrWmRY0fr//EBEFK4v0G4cOOfQKILFpo+C35S0MILRJ7WDIUHSH3YzTjLmpPWPCuPnRFsAnCtXoiEyXr5eO82H95aHl2l2EVz7LBecIb4OHBJxrb4su6SgWZ3kuhz4+ZJltZ8HD68Uil9X+2kYVeob9WtBbFQJSNEkeKtmLrInAOo/ovdp5dKj4bhGRkLvfW6UchdRzrnapzko5dNT8mBGTrBPCZcXcYf3ys66YDmJZkR+oK9vcUsLwqjbM6vWS7U/I+xIsL0mU6Zl1dbM42J52Lr+G3ieTKMixtkXdR0QYM1neQOBVAUf4lUdSCk5DNdfMTCgeoBNu2rstfq9nrC6f2he4LK7PHtMkHjctrG2wd6nW6mLnpaJHnIy5xO1yIqtBdqz5Ry+Bj1ysw93WU= X-OriginatorOrg: napatech.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS1P190MB1797.EURP190.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 1bc88607-baab-4095-9520-08db9fda767f X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Aug 2023 11:01:24.2444 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c4540d0b-728a-4233-9da5-9ea30c7ec3ed X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wh2IVGVlDMHKYk7+OOqxnnS+6MWtc42LsQRzIWI7hRBjNVWiHaWBSvmgRmmi1IE2VCp+FpOPeACE3AngONUhtQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3P190MB0809 X-BESS-ID: 1692356486-310920-12303-14302-2 X-BESS-VER: 2019.1_20230817.1828 X-BESS-Apparent-Source-IP: 104.47.13.56 X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVsaWhhZAVgZQ0CDN0iLJ2NjQxN Qo1cTS0jzZONXQODXJzNIgzSDFItFIqTYWAMoNl0hBAAAA X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.250228 [from cloudscan12-178.eu-central-1a.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS113687 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND, BSF_SC0_MISMATCH_TO X-BESS-BRTS-Status: 1 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 Thanks. Good catch. Accepted. > -----Original Message----- > From: Tyler Retzlaff > Sent: Friday, August 18, 2023 1:09 AM > To: Mykola Kostenok > Cc: dev@dpdk.org; Christian Koue Muf > Subject: Re: [PATCH v2 1/8] net/ntnic: initial commit which adds register > defines >=20 > On Thu, Aug 17, 2023 at 04:43:05PM +0200, Mykola Kostenok wrote: > > From: Christian Koue Muf > > > > The NTNIC PMD does not rely on a kernel space Napatech driver, thus > > all defines related to the register layout is part of the PMD code, > > which will be added in later commits. > > > > Signed-off-by: Christian Koue Muf > > Reviewed-by: Mykola Kostenok > > --- > > > drivers/net/https://linkprotect.cudasvc.com/url?a=3Dhttps%3a%2f%2fmeson.b= u > ild&c=3DE,1,c156wt4VMYHsQ_FY06uE-B1pGyaYNwecOQ-XgYTxQ- > sEVxXYcRzmo8p5zvB3AoN4L_0P4vtVDdYAe8fufFu83lS8RGCTi26L_5wJg6s9- > x5sIzJg&typo=3D1 | 1 + > > drivers/net/ntnic/include/fpga_model.h | 99 + > > > drivers/net/ntnic/https://linkprotect.cudasvc.com/url?a=3Dhttps%3a%2f%2fm= e > son.build&c=3DE,1,ZYui3lhpAaB9drSKM2VpYXdH_wzEWBpNMmZdLjmC19weBv > afwLSTVbJz- > CEi4jjp1YlftAt12gX0UAKmypCNhhDaAZNmziRKxEv3a69raQ,,&typo=3D1 > | 29 + > > drivers/net/ntnic/nthw/nthw_register.h | 19 + > > .../supported/nthw_fpga_9563_055_024_0000.c | 4190 ++++++++++ > > .../nthw/supported/nthw_fpga_instances.h | 14 + > > .../nthw/supported/nthw_fpga_modules_defs.h | 166 + > > .../supported/nthw_fpga_parameters_defs.h | 209 + > > .../nthw/supported/nthw_fpga_registers_defs.h | 7277 > > +++++++++++++++++ > > 9 files changed, 12004 insertions(+) > > create mode 100644 drivers/net/ntnic/include/fpga_model.h > > create mode 100644 > > drivers/net/ntnic/https://linkprotect.cudasvc.com/url?a=3Dhttps%3a%2f%2= f > > > meson.build&c=3DE,1,qiO2jreaEnViAwfKF0yAabA5ltx6OuQTyXPKL1CEOtHAJNv4 > 1EcJ > > fd8PkWWUu7_1joAueaPENflIstjA1nB7iHDBk8g3mUvawgO- > g6qgJw,,&typo=3D1 > > create mode 100644 drivers/net/ntnic/nthw/nthw_register.h > > create mode 100644 > > drivers/net/ntnic/nthw/supported/nthw_fpga_9563_055_024_0000.c > > create mode 100644 > > drivers/net/ntnic/nthw/supported/nthw_fpga_instances.h > > create mode 100644 > > drivers/net/ntnic/nthw/supported/nthw_fpga_modules_defs.h > > create mode 100644 > > drivers/net/ntnic/nthw/supported/nthw_fpga_parameters_defs.h > > create mode 100644 > > drivers/net/ntnic/nthw/supported/nthw_fpga_registers_defs.h > > >=20 > ... >=20 > > diff --git > > a/drivers/net/ntnic/https://linkprotect.cudasvc.com/url?a=3Dhttps%3a%2f= % > > 2fmeson.build&c=3DE,1,wjptlM2nMhsaqMywVruBxBf7Iwa4gnfYg0S6VTIF- > NwOmhEZbH > > kPCwsilEoTcVmtpWO81GLKY8FuRSm-qE1r5zKd- > 17oCsAXdsYuPlaJNTlyx6WJy1D4zO9x > > l5g,&typo=3D1 > > b/drivers/net/ntnic/https://linkprotect.cudasvc.com/url?a=3Dhttps%3a%2f= % > > 2fmeson.build&c=3DE,1,Vr72t7YiUD4v0n- > Lhyp4R59sZz3UaPNjF0lvx7NtZF12XRido9 > > eNWpHDZ-yu-163BxDRG_bu6Hrd47xG6AdPy_U51jZkjSS68uUh0DYrhZxK- > qnNuORuGoE, > > &typo=3D1 > > new file mode 100644 > > index 0000000000..99569c2843 > > --- /dev/null > > +++ b/drivers/net/ntnic/https://linkprotect.cudasvc.com/url?a=3Dhttps%3= a > > +++ %2f%2fmeson.build&c=3DE,1,cf8efsbrpf4Grj2N8OcSe- > QexkKqF2_tzOZ4hOLUzB > > +++ > RYRr6AjKPAC6xDsNYOzZm5fReuyiydIkeuWUs4tdzMJR79dQs_0r2jDA11AToOX > ZOI > > +++ xUW5VSKbc0Qz&typo=3D1 > > @@ -0,0 +1,29 @@ > > +# SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2020-2023 > > +Napatech A/S > > + > > +# cflags > > +cflags +=3D [ > > + '-std=3Dc11', > > +] >=20 > shouldn't be needed dpdk requires c11 conformant compiler and configures = it > in the root project > https://linkprotect.cudasvc.com/url?a=3Dhttps%3a%2f%2fmeson.build&c=3DE,1= ,U > ys7NUWLsmYbHeZHmrhnTMRhOY3f5VWdjL-nsQdprcA9- > 4V3RJhX5rDcrpNRQ8ajaA4EYFBy7WUFJQcEVsZPnN69jt6S- > ZrbNuvDTeEbvwjaYLsUjwUSg0Y,&typo=3D1 with c_std=3Dc11