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 C8D64A0C41; Wed, 25 Aug 2021 16:38:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 811ED40041; Wed, 25 Aug 2021 16:38:24 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 419294003D for ; Wed, 25 Aug 2021 16:38:23 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.0.43) with SMTP id 17PEFPTC020792; Wed, 25 Aug 2021 07:38:22 -0700 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2169.outbound.protection.outlook.com [104.47.56.169]) by mx0b-0016f401.pphosted.com with ESMTP id 3anqb883d1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Aug 2021 07:38:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E0BTDio/dJjE/UW5SLLcZOBYsVpVJ9ciTBKCJRqrrgRVqB1mWDQampFGuwopxuWs1GCmiT9FwRfDldO7qzKpeSD3SMWCanBx5eJeZYlAzozcqoyyGHyWzrMzu/ymm6VSwN0pHzOPQnHNmPtYt/kTx/GskeEku8jjigyCvv4+I2tr2IhNpk3hJIf36rJpoTYZxeBC7TB+lB2DaBEG58iDiObKm13/19muUlAZAJ0OdKYBBcFNHuk4KtaMCHwZskvRtNHZY+ZN9j0NLp5Orcw/j1TzKuH0OZPrc4+b+dKCRqlSo1ENM+qSmOWl1PgbjgIA9VFi3+AZQ3HVydu7C7gR7g== 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=iyRJHf37jbxKOSkN0rqzdYnJ/gdjoRnHUDRvw2ozz3Y=; b=AlbFGWdNi69krzKElo10Yv39C+CenOQBb9z7IIZ9RNWTdrA1Sl7tUp5xED3ZjWolRhRtCUO5CSLrCSrcHtUybfsp2/Gb271dphbhNqIDw+9TUgao5gy6fSysyEXUVu9SMq7LNKGnRWCV2VPEIYsaVjgcPNxhGSIZCHtINuqIU8y71R5hp8eS144vDsNT9IRPYM5+GphOhXkOA7or0Y7cdKFsZG+MMPQqdaRdUwfNflybkfIAipFT1MvEVW7DV8R4LsWpJRrJfeZRAIliH5HScyZiFeycwsMqX1wlOp7MQX5KJe4XGcJ+kOjZsWXV1snmGNi61bQOQWivovem97Mu0w== 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=iyRJHf37jbxKOSkN0rqzdYnJ/gdjoRnHUDRvw2ozz3Y=; b=DwoXKf/C7pu4JGxCZOkheXg4VhS9/T2yORDgx0cbg+7i668nRTRSBz40hBP+OMprCm6FvKD8wSdJuu6CibmACMid4UTBm0D/AliXnA5r9+dKBbN7aBk4CotHuQizdjf1WFeteGt/vnlX/syVvXvUJzhXFtF9/HKdGWeoMjmxqlk= Received: from CO1PR18MB4714.namprd18.prod.outlook.com (2603:10b6:303:e9::18) by CO1PR18MB4601.namprd18.prod.outlook.com (2603:10b6:303:e0::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.22; Wed, 25 Aug 2021 14:38:20 +0000 Received: from CO1PR18MB4714.namprd18.prod.outlook.com ([fe80::c515:b091:df51:cc6c]) by CO1PR18MB4714.namprd18.prod.outlook.com ([fe80::c515:b091:df51:cc6c%2]) with mapi id 15.20.4436.024; Wed, 25 Aug 2021 14:38:20 +0000 From: Gowrishankar Muthukrishnan To: Thomas Monjalon CC: "Power, Ciara" , "dev@dpdk.org" , "Richardson, Bruce" , Jerin Jacob Kollanukkaran , Kiran Kumar Kokkilagadda , Nithin Kumar Dabilpuram , Sunil Kumar Kori , Satha Koteswara Rao Kottidi , "david.marchand@redhat.com" Thread-Topic: [EXT] Re: [dpdk-dev] [v3, 0/3] common/cnxk: enable npa telemetry Thread-Index: AQHXiD5hJEkYojpFFU+T06KxW2gkbatug0OAgAACiaCAFZxlAIAARY9w Date: Wed, 25 Aug 2021 14:38:19 +0000 Message-ID: References: <1996973.8PpqbIs5JL@thomas> In-Reply-To: <1996973.8PpqbIs5JL@thomas> Accept-Language: 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-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bd9e749e-2f4b-44fd-88ad-08d967d5fbe3 x-ms-traffictypediagnostic: CO1PR18MB4601: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HaVkWWptuHgSeI+S9VfKEdGqnNBsk4VLqXlWFLWgyU4qCvpSS8vn1HLYNgwN+q2+g8JlsiBmjM5PL/HQSZSGY58vk145ovD+5HQIaoV36ZVlXVQKfsmYBJ/O2mwfzHgQNMtf96qu2BdXjpc7eJ/L39oG4p5F7a6M90MfgRmE86WnhXyCYwGxmOCXbQW1sEt0jOJpfyi2wGMbnMc3xR/68msiDYMKMbRe77YDQRfVgRHCF4E82yYMOszNHgfX5Ywe3YDzLM3/OC6UbKFF6NzkKtXETLS3UpYM73g2uZQD/ew9cPIljLG2HfZJRRaPwrK4bax94Hq/w/7vejPeD9Pf0FoRArUDrXRPvbeWrCDQEv37MwpjcC89Q0dndDtLCqBxhaOxK+Bvf/hfnmF5NUy9IlOQK+kkTFblccacQ/aRd+v7lJlcdp3S6VJSJL/YIbd22H/yoqkzPz1O04G5MDslimNEeyCyGdlYwwsIys26GxwidQ0qWBgL8Bh7BGHU86rr9w/e4ZKxxRHFnK4OJQYhB4Kzfik0ZMFq+KS0lSmgV38A1xDAvE+XV8tH0fs3Tqtioqz3okwmjRp0SlCehGxmwdq+IKlgmU0TDLHTkGynTVAfbxKGOuizWkdtDC+yIwuyaHYB5FPl6MwQ3fmUVEADKNuucW3chjN7+BthxLN2KQqOTNeqNYSO2EWglhbCQr16IM2+f50nhBoAjSd+nsXVHQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO1PR18MB4714.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(39860400002)(136003)(396003)(346002)(376002)(478600001)(316002)(38070700005)(6916009)(38100700002)(54906003)(71200400001)(52536014)(83380400001)(33656002)(122000001)(76116006)(8936002)(66946007)(66446008)(66556008)(66476007)(64756008)(26005)(9686003)(55016002)(5660300002)(6506007)(55236004)(86362001)(8676002)(186003)(2906002)(4326008)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?v+dPsUHtzHH/ti4S0IdzPffa+7r32+6eylpXHrfzEv4aGRMS2w5UNCPKKtd/?= =?us-ascii?Q?2OsvZIb40ye4/QrfzJ5cMHFxOc+n1t8ifsEANakavNqraqEEPd/q5m3yxE/s?= =?us-ascii?Q?rbE6JpeLKFZ3lmomVwggF5hdL7/niCmrDhYe+IlRdKshApJGl8DX23UtSsi8?= =?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GJaMi5VlhRZNDWqI+00p/sFG4Ofok/pMJ?= =?us-ascii?Q?3jIhbd5zgkwVmIYBwnyeDBwL5z7tZyS4Hmwh8zTUfccj3uBTpYcyXpa88Ji/?= =?us-ascii?Q?FIDZ7A6L4WT2nJuXZTEc0lBdCfeuGXVAPSs/nVIw0Ly4voFE78o9qdl1f6Bd?= =?us-ascii?Q?yTbvJOiGVPeT4zGkGX6WsvyoAgjnnVE0YaQnna4w5W61w4ZFNRhcUAboeudd?= =?us-ascii?Q?hXFc3Zy4Thex3MnnNINnn0SzVUWygL8BzBx5CqkzadJ7Uq2LLgFKTugxkoTB?= =?us-ascii?Q?yoadudFiAEH+YyQZHMYxwsPR?= 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: CO1PR18MB4714.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bd9e749e-2f4b-44fd-88ad-08d967d5fbe3 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Aug 2021 14:38:19.8804 (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: A4bhhIP6b3TlqrbTgN3dcYrhXP3yatRkmLZghYZAd/4EqLhLRpm2J47If8hUNjKcMtiDFYE5VbOrcS9fBihiyflAtQpl9ujOiIYKklto7+M= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4601 X-Proofpoint-ORIG-GUID: tMk86UAQ3WxVyEk06CrF-H-ILyKZ67eQ X-Proofpoint-GUID: tMk86UAQ3WxVyEk06CrF-H-ILyKZ67eQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-08-25_06,2021-08-25_02,2020-04-07_01 Subject: Re: [dpdk-dev] [EXT] Re: [v3, 0/3] common/cnxk: enable npa telemetry 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 Thomas, > [...] > > > I am still unsure exactly what the use case is here - why are we > > > choosing to publish the pointer values through telemetry rather than > > > using a debug log for example? > > > > Pointer values are useful sometimes for more debugging through telemetr= y, > hence this proposal. > > As I mentioned in v1 thread, this is architecture compliant approach > > rather than assuming pointer value is always 64 bit, when there is need= to use > pointer value in current telemetry path. >=20 > Why using telemetry for debugging? > I agree with Ciara, debug log is more appropriate. > You can also use the tracing framework. >=20 In addition to getting status/stats, we are using this library for remote d= ebugging as this is the only mechanism available in DPDK now. For an instan= ce, accessing data from a pointer address through a root privileged tool. W= e can internally type cast them to u64 as well but thought of standardizing= the conversion through library API instead in case it is useful in other p= latforms too. If it does not seem more useful for now, I will take another approach on ty= pe casting the values internally in our driver (and avoiding library patch)= . Please share your thoughts. Thanks, Gowrishankar