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 6B70EA00C2; Thu, 10 Feb 2022 11:04:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F0BAB4013F; Thu, 10 Feb 2022 11:04:29 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 6868440041 for ; Thu, 10 Feb 2022 11:04:28 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21A2i4lq014406; Thu, 10 Feb 2022 02:04:27 -0800 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2170.outbound.protection.outlook.com [104.47.56.170]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3e4am95rh1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Feb 2022 02:04:26 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ASA6BZvSLeY/CLRpNZP6yZ5v5ZV2gIpH/XHeN+Ffna5Sh384ksHBeBi5JkNYevClIQNxRdoSNEqWDu0DKg3DZYZlvydSrikXJyrSMTKmykksbf9ZmZf3Prme8KD/UEM/dkHwJ/qXnhtww8nqIQTSYaU1h2eUKLxSdjwREcZUBjQuTZDPwpdjZ5O+MKGYCSewC/lS92j/QBP0JmzEXthhgBPBFtv/TArVzbNKMdgr6gVaJMax8l11HdC4wR0FW0Sj16QtIoVrk8MfhNy4Be6SaRdi+/0sxcELwvBDOVPLsGqJka25a49ie2prg65oaeYOaWVyQ06FsRMNMDnZ87dqBQ== 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=6zSoTIbMDrfewBt6cBDh5OEqBQmj/diyNLbg6VZmGmo=; b=YdSbvKzvwIhq9SrFEoix01W7468mg27cOGyjkTgHNOnKgINoFFLN1NM723SLPV2hrmLDKeqMyv3x749twIKosoCfyM7KXG7iskKzVXgl593bnNTFTs88JzwAPoCLgg48HSOx7+0b0LrYHKT6npttT2F2m+lfUdHFtDd3jIhoZOHZGOtLwiIvVKhxFZxhshLtiCVVK2Th7H8lfk11EThdx6DILsHBh3l3PoToeaYj0ZWE/vytYdtHu6JaJ40UVidwjihkng0DwVKMSbB8sH5DK1H3lwIdC8DEZfW+AWG7BdvIe8lodS3dyr4lP9b9cIRrYCDPYzkiXc1uJ8Fy335Jmg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=6zSoTIbMDrfewBt6cBDh5OEqBQmj/diyNLbg6VZmGmo=; b=AHHw3+QRrFQGBdT5UQwcmUjO2SJ1W2PzJOnDR51nIiIZtvy5n8Of72f9esoRMX1AarBneNisRHNB0zZJ/4UDD+5qnubCQS6RCHRykKrTQT78Zo56XwL+1A10356OprYSm8RJYD6nFBoMbVyN5PH1nfS8xXEKUf2qIlA8mXD8/cs= Received: from DM5PR1801MB1884.namprd18.prod.outlook.com (2603:10b6:4:65::20) by PH0PR18MB4857.namprd18.prod.outlook.com (2603:10b6:510:110::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.14; Thu, 10 Feb 2022 10:04:22 +0000 Received: from DM5PR1801MB1884.namprd18.prod.outlook.com ([fe80::a4ba:4f58:93bc:4bac]) by DM5PR1801MB1884.namprd18.prod.outlook.com ([fe80::a4ba:4f58:93bc:4bac%6]) with mapi id 15.20.4975.011; Thu, 10 Feb 2022 10:04:22 +0000 From: Ankur Dwivedi To: Bruce Richardson CC: "dev@dpdk.org" , Nithin Kumar Dabilpuram , Kiran Kumar Kokkilagadda , Sunil Kumar Kori , Satha Koteswara Rao Kottidi , Jerin Jacob Kollanukkaran , Anoob Joseph , Tejasree Kondoj Subject: RE: [EXT] Re: [PATCH 0/2] add telemetry for inline IPsec Thread-Topic: [EXT] Re: [PATCH 0/2] add telemetry for inline IPsec Thread-Index: AQHYHksA5Tu0GD31qU68f4wO7JMzAqyMgA4AgAAKCjA= Date: Thu, 10 Feb 2022 10:04:22 +0000 Message-ID: References: <20220210065334.19942-1-adwivedi@marvell.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6df16e75-f131-4df7-0d27-08d9ec7cb611 x-ms-traffictypediagnostic: PH0PR18MB4857:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6ZDgoqqwY4oJbb5hTEuuEGT22x7i2uhhLpVMKcjoa7VAoE+d/GCKO67tsREutWT9RzvivLavsATiRMGlpcS19Cv5kIwXYfuFdotFkBmBDmiEjhRv6z9GciFxJsWKPbjedjqbGaJ9xKX6JzCpkC9gMkrlRXy6ukl6GPt2nW+AJSiPEnIzvQmKsA4hAQO8U6nBRGgMmx9/BVN6INyVHlYndrq94X0w+Vhlo965k1VrW56VI2wpgeY5xr+SCBpliKY5JLcDPQLDaLVGU3ES8Mg/OimkBRA86iwEdvlKTv5eTcgsRZpNnISGO7q+9KtYmxmTW5O+wFjZzKC4K6s2KwTmGau4MndyjOhtdiYlreo9J6lQ0jUcPZDsm0Yld+FWbazjaWgAGAFsL9aF6leE8oqaJOAPPlwQDu57iQeTtugBnq6EZZBvN/iA3orMhK3PPLoT/i2fP3QQYXRVXiq+XfSUGPcnuQTmnTVAxcRMVyUlepS5OsIxzWBi7eDYn5aGDZFOPWTJ9JSfwTf+kCCgpnA28wDxZtZewje0iCBjBa0p3MFn5gjwvcCjjFWoYoGc18JYmuBjpRHOaiVNuFyrGj7XB8nuXFgLLh9rHSvIvqjfLPwlN3w7mhhYd74hXzyFdtmnzJVtYYzMUSBeWpQkHYmyh+ty5o0x1gcdb+PrhlkixmvK3PFwVroD9pmb3uqcu4dmPblfrz/dFpkPBV3dayHXCZtxTn+lDtmtMuuU4qamMz+fhA/SuYVNMUfdrEdinEdJhVfBngWcvUrOXlLKyAd+6g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR1801MB1884.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(122000001)(7696005)(6506007)(2906002)(186003)(5660300002)(26005)(8676002)(8936002)(52536014)(4326008)(64756008)(76116006)(66556008)(66446008)(66476007)(66946007)(83380400001)(71200400001)(38100700002)(316002)(6916009)(33656002)(55016003)(107886003)(38070700005)(54906003)(19627235002)(9686003)(966005)(86362001)(508600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?vK9uN0/llvvUCRCVWWKxstLzptrM/v9awI0Z2e3/qUYEl9o5YA4ILxr/aA6u?= =?us-ascii?Q?WztsNnE6/ejuslihn4ld0SdyXIFvyHhhcSTRosDw4ySjhQv2FXBOGFrssgrG?= =?us-ascii?Q?y+GzNsV5wgHVBpFzu9d7ztw9qmopnJfS81lqs7jQDXvKvCo/kbo4td5gM18M?= =?us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klNrkRyM?= =?us-ascii?Q?YxJ40lsMWqQSBjkAg87qDY1kE5ZLbt4y1JJfxFEGlVr6V1n9ncxkf6K5BGOi?= =?us-ascii?Q?Rb7oPdw84ZKa24Sof73rCGw1i2P3aPxLiQWk2LtSv1TpgP9KYCbu83c52drp?= =?us-ascii?Q?vcRVhx0XV7XxcfJH0gLJTKWMl1d3Ky47ynRK7NRtndHhqiiiuwZprWnwQ2bn?= =?us-ascii?Q?IwtXYu9twUKJi96T3NFnlIfLBmkLD148Go4whK/TpRJ16zzSbol9ruQc4X51?= =?us-ascii?Q?th9YnWfSjhbNFAwKZrDPgj3T+xlV+mRAy44B1YAP+CiRox1r25gWrXhWabCQ?= =?us-ascii?Q?qafUIxtn9ozJKeVbiodH+iF7wv7cHcT+eNRqMAfk09CqIXxNMEPBRV8dl3pz?= =?us-ascii?Q?iLrumaJK/FJ6TYVSwVPTqBujAM+zhPUPVB8u14pGoBucG0M2rciqj7DBqFJ/?= =?us-ascii?Q?dKBXFFNuUTBq7dTbrbbUyTuIhd0VJG0OZ9c4hGtvO1BG2geECn2d7tCkFAJH?= =?us-ascii?Q?o2UNnosPNN6WKKpxsr8+XAFJL0BbJv/r5z7WhN78uTOO6hJGRjVXIuCitAf9?= =?us-ascii?Q?cg=3D=3D?= 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: DM5PR1801MB1884.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6df16e75-f131-4df7-0d27-08d9ec7cb611 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Feb 2022 10:04:22.2744 (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: zwTqgy7LmXkjtWrmJbTtBWby5JRZeC9yZXTwzJnzEmPYa0nX3kgOxRhAnv21oyxq3r1yA4EoDrnmxboa2ojO+g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB4857 X-Proofpoint-GUID: QMPY6VA39KAWLbNtRTiIkpXRisAmdtFm X-Proofpoint-ORIG-GUID: QMPY6VA39KAWLbNtRTiIkpXRisAmdtFm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-10_03,2022-02-09_01,2021-12-02_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 Hi Bruce, Please see my comment inline. Regards, Ankur >-----Original Message----- >From: Bruce Richardson >Sent: Thursday, February 10, 2022 2:42 PM >To: Ankur Dwivedi >Cc: dev@dpdk.org; Nithin Kumar Dabilpuram ; >Kiran Kumar Kokkilagadda ; Sunil Kumar Kori >; Satha Koteswara Rao Kottidi >; Jerin Jacob Kollanukkaran >; Anoob Joseph ; Tejasree >Kondoj >Subject: [EXT] Re: [PATCH 0/2] add telemetry for inline IPsec > >External Email > >---------------------------------------------------------------------- >On Thu, Feb 10, 2022 at 12:23:32PM +0530, Ankur Dwivedi wrote: >> Adds telemetry function for inline ipsec in net CNXK driver. >> >> This series depends on the following patch series: >> >> Series: Adding new features and improvements in cnxk crypto PMD >> https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__patches.dpdk.org_p >> roject_dpdk_list_-3Fseries- >3D21433&d=3DDwIBAg&c=3DnKjWec2b6R0mOyPaz7xtfQ&r >> >=3DILjiNF3GF25y6QdHZUxMl6JrStU0MIuCtO5dMzn3Ybk&m=3DszcLmV4s_NiVroE4B >vC5yW6 >> >litxm6Pfo2ymX7QhE1qDSpKTa56lnfmMqfnohRfI6&s=3DVtKHr9SAo3R0g7lGPoSJlg >xVxn >> r2t_TYhHbfH7rS4sE&e=3D >> >> Ankur Dwivedi (2): net/cnxk: add telemetry for inline IPsec for cn9k >> net/cnxk: add telemetry for inline IPsec for cn10k >> >Out of interest, is there any of this telemetry that could be made generic= and >apply at a device-class or library level rather than being tied to the cnx= k driver >only? I could think of that the callback function registered in rte_telemetry_reg= ister_cmd() can be a generic one. The net device (eth_dev) may have ops reg= istered, which can be called depending on dev->tx_offloads and dev->rx_offl= oads flags. However the data to be returned by telemetry might depend on th= e PMD. Please let me know if this is possible.