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 6A47CA0547; Tue, 26 Oct 2021 16:37:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F77740E0F; Tue, 26 Oct 2021 16:37:54 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id EB939407FF for ; Tue, 26 Oct 2021 16:37:51 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19QAMYvl014652; Tue, 26 Oct 2021 07:37:51 -0700 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2100.outbound.protection.outlook.com [104.47.70.100]) by mx0a-0016f401.pphosted.com with ESMTP id 3bxfv8h2d4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Oct 2021 07:37:50 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eAO1cLlJSxeqANIl83hr9zspotFaUAmIwuWy0rIPRdtzEAerikjI0AU/FIvIzyzDT8HojY7JdBVKkb948JuUwAZ5ubD0CXnOmgekPgnRTBTFHjTkSjIuNr/3YdUojNPysGm6G8yY2KEbCMsdecp1B/ke9etsrkwyj8/cWka6eshK9Na6HQLJplvKeUlFHGdcNz6A1s+dvRPfLkTKNtMOzHLwr511iSyBzvxspMmBmI97ctPZFvY6krhJ95R9oa+QQbPfMUn9qU3rBzoIs2bLR+yUCByRL1omcjRc+aT5mZAWk7V+dBHxu/+XvpOy1DXe1fVetKHPJcjcZdV544fpQQ== 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=50gX90e38uoI/JyQ8M9Dt8FG5T5PnKjn4FhhZocAerg=; b=Si2MqKcBpsUVlgbFb/2aHhUEnE1YQIBHU6yXm1tfysZJWFdHSylCoZyUQ4fPnKPTNZLj9piToK4PP8irjo6fzp9V6aSIBUQ0K61Cd2b0S0OxB09sD7bvCnnnyvshz7+GTaJqbb8Evv5xqadGyFFEY381kQEKVdYf9DNLMOlXK+2V4blNa2tDLFIAXFr2Wy5HJ9pzuQcF5i+xXx9JRmSqKhP7LEUFVNpDkpwg9zVTQH3UpaPmjEDsqur1B7etUnworcuf0CIxb+wYHbSVMsNSPaLxcyxgr18jj5tE1I55sV9LsqH86CNLAJ6TV58moSYOfwrURvbXVQiRrah3FoqsQg== 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=50gX90e38uoI/JyQ8M9Dt8FG5T5PnKjn4FhhZocAerg=; b=idz5XUNlkEOF2YiRUGXHhL3szU6gPdveSOP8W1ZFClV0k2x3GCYNPkwYFM9iz/CWGMBYuIZZscK7tfeziqbWTovbi2EckqRZjo7dzYD8PtZSvGPh0JCF8/IzmaJcsp2mI0R8oXmYeMZwsS0i8dL41D2hnJp41XM06ESLV/T9w3c= Received: from PH0PR18MB4491.namprd18.prod.outlook.com (2603:10b6:510:e6::13) by PH0PR18MB4687.namprd18.prod.outlook.com (2603:10b6:510:ca::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Tue, 26 Oct 2021 14:37:48 +0000 Received: from PH0PR18MB4491.namprd18.prod.outlook.com ([fe80::944b:49db:20a2:2d0e]) by PH0PR18MB4491.namprd18.prod.outlook.com ([fe80::944b:49db:20a2:2d0e%7]) with mapi id 15.20.4628.020; Tue, 26 Oct 2021 14:37:48 +0000 From: Akhil Goyal To: Rebecca Troy , "dev@dpdk.org" CC: "ciara.power@intel.com" , "roy.fan.zhang@intel.com" , Declan Doherty Thread-Topic: [EXT] [PATCH v6] cryptodev: add telemetry callbacks Thread-Index: AQHXymEuXi+RkCzb30iMPFrbFiXpFqvlWR/Q Date: Tue, 26 Oct 2021 14:37:48 +0000 Message-ID: References: <20211013152206.148589-1-rebecca.troy@intel.com> <20211026120045.297653-1-rebecca.troy@intel.com> In-Reply-To: <20211026120045.297653-1-rebecca.troy@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c5c3f776-9541-4e50-dd07-08d9988e2e9f x-ms-traffictypediagnostic: PH0PR18MB4687: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qszV1Mt/2LXFEaUP81Ixo04CFvglRE/NsoMvi4YxJA2/Khde3v6eCl39p7hU2pgB+4MFHCjedJXnqToHBbZsXSkCIH2W4necxHyRzNtKb73g0kE3zqF+InXnMSlfyetqCI6JOwY+dKdxPqAh6SdIm4jjuIsJyeSq5csLiuFGoWAR+rjJINHFcsC9THDDT0OO3VwY09WsnX9ow8MbEOooInXr/3YrViW+DpgzXF4TgQoSpsY0Ya8HTwa72KMIgE2znPMFrsg7k7JJ+eEgiTeWanA7orOTdmPo/HR8HoyumEL0bgHBie5iPDCe2Yz68YDM6KnzTf1rX91EDLmewPYfFWf3BK20Ae083w6zBJ7gGJxGCttP9EpE37D3WAelD3+Ohb4270fx2CQ5CoWHcW+U0w3LP8TKcoV3E9Arel88JgVA7wFlZv9130hqkqICsAIgJOEIxWDvU6dnPt4johJ6gJIoSNUaOqnAaZ5lJpbK/IaE38iB8uf0/Dm8f/r7EqudQ3iNSxveXgj1fJp8e6WvsdZ5Sr7yKI3WIKUfa77KHuB1IYtgjTDxefsRXUbKsNfFeED2dIVndA1m+I2mQPR8dc5+ucMX6jgS/0DKbC5/MqvmG/8sIApH4kb4g8doVHUXdX40P+MsCaCJ/F+Hx8C+1t7Ha8OnciI24hO/O8jBPwOypYLPfwwH3LCuZdtuZjbYBjgkBn0+FOx3/XfNBXa8fg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4491.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(316002)(5660300002)(186003)(55016002)(71200400001)(8936002)(66556008)(66946007)(52536014)(6506007)(4326008)(8676002)(508600001)(26005)(7696005)(55236004)(2906002)(38070700005)(33656002)(86362001)(122000001)(38100700002)(4744005)(66446008)(9686003)(110136005)(64756008)(76116006)(54906003)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?3zqoerPHEpfBlnWqFQbMC3GaL3xmcXqgIOe0Ogfn+yqPnKxsu1TkKVKQ8cVg?= =?us-ascii?Q?WwE9l18r3BK9mRWyUELIxWuof/oLiCEvvvNDHdsBhH/QNV9sSgXg9+4LRhwJ?= =?us-ascii?Q?xVZqSSc/h0OBrL0WtNWy9qNkQznqW03Y6DNEr0oF120iKjjF4QdrwNYAaJJb?= =?us-ascii?Q?vSxyNjP3xndDJxqfMOiqEn9leuQfta8FDgA4x17vkho9h/TImPq/Mi8jKyHp?= =?us-ascii?Q?KvrZEw3UQFrS7SzvW5cYvQISKXhpg61w8RLSvdD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WDyFUKhHTK9NdDTeJ/m4Br/BfUC380xqNZYaTh0coGG1VenLVsIpoFP+C?= =?us-ascii?Q?9W6WzQYATa8Qc+GTLq3PgP1yUW8MMUBVQ7oP6I7bTblgDfvP8vQnlE1BZbq1?= =?us-ascii?Q?ubRYASDzI/vStiHwHjmJpfFSoRXakEPK7AERZhYjtQA0iCZcRrxd/zcPngKk?= =?us-ascii?Q?KgufdvLlUXPEYiKFZW44pqpc/pdY7M+gOosw2njusLkyurE8a9Tizgor9ZRi?= =?us-ascii?Q?+xqi1cU3mtxRCHGPThtAINQM3zBRVkqTyC3TwFk4GlD7ZG5yCSisXpZjbCui?= =?us-ascii?Q?RS8zPcCVZ4bvtGnJ+nmgNU8LwPa9tHKxM0kfuWQ2DhXddJ9HdH3g/YSLp3/L?= =?us-ascii?Q?Ve1OyznPLt+1lIfFzj7uSLCZES6zddPAkEa074FB/jGo9Hjkl1bq70A8weZd?= =?us-ascii?Q?elAM4jgL64Oc3RYehhEuL71CO60jjsM6WSgkDEak2ZveKkMbfX/SCnyZqi7h?= =?us-ascii?Q?GptcE2Q/5byrnQQrAqlAwFQ=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: PH0PR18MB4491.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c5c3f776-9541-4e50-dd07-08d9988e2e9f X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2021 14:37:48.2591 (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: vtxz5RShSaODw1haU0QcwS+9VM7sdAsdA51UN23JaQQc9m/jCanxrLlDfJCQkgcfJdpQyVkzfBIC0jeFNeewxQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB4687 X-Proofpoint-GUID: 0FvNl_JocVQaToX1aUclrXoMk9bggL9W X-Proofpoint-ORIG-GUID: 0FvNl_JocVQaToX1aUclrXoMk9bggL9W X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-26_04,2021-10-26_01,2020-04-07_01 Subject: Re: [dpdk-dev] [EXT] [PATCH v6] cryptodev: add telemetry callbacks 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" > The cryptodev library now registers commands with telemetry, and > implements the corresponding callback functions. These commands > allow a list of cryptodevs to be queried, as well as info and stats > for the corresponding cryptodev. >=20 > An example usage can be seen below: >=20 > Connecting to /var/run/dpdk/rte/dpdk_telemetry.v2 > {"version": "DPDK 21.11.0-rc0", "pid": 1135019, "max_output_len": 16384} > --> / > {"/": ["/", "/cryptodev/info", "/cryptodev/list", "/cryptodev/stats", ...= ]} > --> /cryptodev/list > {"/cryptodev/list": [0,1,2,3]} > --> /cryptodev/info,0 > {"/cryptodev/info": {"device_name": "0000:1c:01.0_qat_sym", \ > "max_nb_queue_pairs": 2}} > --> /cryptodev/stats,0 > {"/cryptodev/stats": {"enqueued_count": 0, "dequeued_count": 0, \ > "enqueue_err_count": 0, "dequeue_err_count": 0}} >=20 > Signed-off-by: Rebecca Troy > Acked-by: Ciara Power >=20 Acked-by: Akhil Goyal Applied to dpdk-next-crypto Thanks.