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 0C0E8A0C55; Wed, 13 Oct 2021 12:57:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E68B24115A; Wed, 13 Oct 2021 12:57:33 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 8626F40E64 for ; Wed, 13 Oct 2021 12:57:32 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10135"; a="227684596" X-IronPort-AV: E=Sophos;i="5.85,370,1624345200"; d="scan'208";a="227684596" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2021 03:57:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,370,1624345200"; d="scan'208";a="526990007" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga008.fm.intel.com with ESMTP; 13 Oct 2021 03:57:31 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 13 Oct 2021 03:57:30 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 13 Oct 2021 03:57:29 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 13 Oct 2021 03:57:29 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.172) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 13 Oct 2021 03:57:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DKKOiHvEoh+Q4WIFqvcb3Sn6vNu6MtKuQb1nPaqCML3ElzLHZbPWLykvl8Sr88jKToNFXKq9NWA8sv4kSdd9XKUyL+HyPrzJ5sU9M1zVZS3ovgkyrzH4v+2eTJytyEl7RKEw6sZvSmGpwBq3Ypbp7PAZbKn1C38uT9+t2KRjWu1/tweMi2JvK4cBcbO+apIGWVC1gYasOUF6Zjc1JTIfXpdvoHwYuDWBxBfRWsmRQjZJBCSZ0qBKTbtzacnfmOPXmdAQ0os989Ozk2VFTYaGrB1nU2q29fMmNlSlR9EaaLbi9bS6H0h4PjkTGjVmQLoxl5Yg1RliKED0LMfDpgj//A== 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=7JAuS+yl/MAqR5jX4MYGGfOcj44klI9FSIr4leOC2kk=; b=PkT+Q6BZW5duDqEgcYz5UJ04XpmlAgUBFwtJRtcoWgWI42SOpAetDiN/N6EWPJotTjhR+YHDhGG2mD4lET8iD1gtS7l3O6kYyywTDji3pwiSW7wT7bt3Fmw/8pazfKPXKqdU4MNG+cLi5iABrh9ZHN8NWkEjEoV8UOb7bZj/rKZIKpFy9hVCIrL+dF6aVeFRqtu1M/WceT7AcVd41tvGks+nwFpQiybS+ALWyDkzGtpb59AsQ1THQTpMjHk/drYeHsjF9SDwfdy/tak+7CCJ7/8jNgTqD40ITa/1S1CyJrwBQSQKfH6Wg09Hm89gfYHt0HS9l8/2SUBUy3xNUlw6sA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7JAuS+yl/MAqR5jX4MYGGfOcj44klI9FSIr4leOC2kk=; b=qa8+Ui6qD3Y7pB9HQTP9MVD1NxAYxAmwirlP5BIkDcua5Kf5Qk09EyDch1RQfkul3eF8RxXKGOa6sF8qW5+QXUcV0FRPzGlfPU/H8SJiSCIfo42zic3DR8p2xElkf4v63KlnDPRwTAl1qYBjY2+TR39/PEHFclw5g+N+RwT1n0E= Received: from MN2PR11MB3821.namprd11.prod.outlook.com (2603:10b6:208:f7::24) by MN2PR11MB3566.namprd11.prod.outlook.com (2603:10b6:208:ec::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.22; Wed, 13 Oct 2021 10:57:28 +0000 Received: from MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::304c:39f1:9d95:4ba2]) by MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::304c:39f1:9d95:4ba2%6]) with mapi id 15.20.4587.030; Wed, 13 Oct 2021 10:57:28 +0000 From: "Power, Ciara" To: "Troy, Rebecca" , "dev@dpdk.org" CC: "Zhang, Roy Fan" , Akhil Goyal , "Doherty, Declan" Thread-Topic: [PATCH v4] cryptodev: add telemetry callbacks Thread-Index: AQHXwBxBfDzseaBT2Euz2rHdXu8Yr6vQwcYA Date: Wed, 13 Oct 2021 10:57:28 +0000 Message-ID: References: <20211007141110.569739-1-rebecca.troy@intel.com> <20211013102214.108814-1-rebecca.troy@intel.com> In-Reply-To: <20211013102214.108814-1-rebecca.troy@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a5bf4c83-b9cb-4b96-c962-08d98e383f75 x-ms-traffictypediagnostic: MN2PR11MB3566: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1mUa08CfDwl4RPgixTMlVcXer3tEvzF4ApN69iudsxGdPe5SdQ3fYgNfZlBLQEBPeI7BzcL228qkEUISL6iqg6D/eM1e3JaBVNKgKkjqQD+u9dUpTvu398NdCTbAtQQSMsO9lb9ksjxmcgZAUCH2X/g3GpOmjCjAIbtSz1iwlK38Xup3xpvtiRQ54htuf8fAS2/8i853OGIYWnjnFZXD9weYkHq+rPq2OH/ndZyHYYbdC6MG8tJ46czKZHNJMNE1P8fv1tL1h3HaBbvF6La5f89uCyNbQqSm3Q2c5XgMNH4XOyTYXk5t+i1kvuQhGawkpHZK3z4J35QzdbCT1OWzeKfopKl/ApqqAZ1c5eYUmqrZ39M8mpZFDLzAeziwF3pFWJ79dHumIb9yJsAzEsiKHjGCsKdq2bx+decWSgil1m62nxNxIgSghXNmRzf0cepw+H0iGgAvQpvVcnVnHWyUBl0XXZlnUzrmH15iQfM33yxKZii/bjNaLnkl3Vn2s346FKQ8jdKzgm/vY2q0UhORDOXyPOS0Xx6Oe2SJHaZZkD5F9fSudOJT+Vv+ib+w1IiCWJ3vORVK92/wlXKgCVx4iN11hZJC7SlmWuq/+/qhlds058W37UQd1n517Usu3IhVDPmXk4tbTHbkM1bezlCrHnq/k9bwZ1wvu6vVyCng/IF6QraiCH6HQCYMRABlKYtfTw3UshnAqYfwFyamqpVnUg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3821.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(52536014)(86362001)(122000001)(5660300002)(33656002)(6506007)(316002)(83380400001)(9686003)(38070700005)(8936002)(2906002)(7696005)(8676002)(186003)(55016002)(66946007)(66556008)(64756008)(82960400001)(54906003)(38100700002)(66446008)(26005)(71200400001)(66476007)(508600001)(76116006)(4326008)(110136005)(107886003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?SCmI/z/FvzkjXOV1C8/W39dJl29z/YkqlcbTmogA0NrvtXqKbjNLS2qaAVV2?= =?us-ascii?Q?mvBFav4W+WzbWgt1r7kmscL1+oGLhA2RnSclU01X07c26lEv/0Kg3zFeGaje?= =?us-ascii?Q?5ZKja2WtFLYnOHyZ2rSK6rOiuI9OyQwW72r8R/2EX9sP9LU9iyDb1ummDQEs?= =?us-ascii?Q?0/zCDrfYZoRoeHF454ZPLrn+wTMA7wVL+/PEFCwN8BjBuFpXGtZdfZqS2qDL?= =?us-ascii?Q?P4yYlNTEs3/EsUnhFr4++DcsK7rWIb171d9cISZaO7aIO0+xVDDkGkmBKG4k?= =?us-ascii?Q?2UOrOAQ6dWhAVF4hClWeDNM3OViAB1JJCW00xPMCZZIVod+sdX0EYwxRRVWw?= =?us-ascii?Q?5R0PQmaYTbNfi5d9oo3P/iYU89iFrKZcKGaxx7bsL1fK/MkVUVvmV9dGlm6W?= =?us-ascii?Q?W1DXEYE1mjOz2D8vtsWorh7l4D/Z5fctQP4hOBfDg7VJE3pTsg1iFmg4VjaG?= =?us-ascii?Q?MjZPRtmW8P5OEko5PkYyW69lAQ2HnDcwArw13B0i5FL9SxOHQb/vVa8NGeeU?= =?us-ascii?Q?5qZDCsTWdR8ve3OqbSVOYNtUIRFq1UJdXyly4EfS1PMGtktE5rMzDHYReOcY?= =?us-ascii?Q?ZnLuduDrBbKQirIu2QyXr6sPvNek8rfotEFHdcG0EdJMu3RRMl+yUh0rarrc?= =?us-ascii?Q?J1yFvDEsub6XBZK+ll4QaFZ1eKNbMx9VfHI8GfGEfKeI58K4IBKEpn+t2moP?= =?us-ascii?Q?q0SBfIbZ37UGnZD+JF+nzjs78KO/BjTKSRUruigkHVXx8+hPafmhAEuWGJhg?= =?us-ascii?Q?zLEpImLSDwS3Bl0c640U5gNYQ1010mzEB4zKvFdu8XoeOhtl1WFbkCO5wBNz?= =?us-ascii?Q?Ax0M9R8ipKF6uy4dnM+ib7juh9syyPWLk66Sn3CzlZrsF/gUJ5xbKfeZcC16?= =?us-ascii?Q?P0sISjgxqb3yd4fhgX7tLV+EJqdY1i3KjUVq0k4E54ITC98S8MrzoR1DaURD?= =?us-ascii?Q?Yx/A2sI0fWOdqRkfCiRM/nLdwOThG+i0mEmLPv7uwWcEwZfHZNviq2S1K7ks?= =?us-ascii?Q?p1zxZeuSV10GSFRq/4S45GX+2W5OXGbfW7GG+6Z2kxsU4i+p0MSwkx17JAEZ?= =?us-ascii?Q?yZl/Hmhv1JGzsrcddk1RZUYnOjnPrxheO4LP7TNoTocR2zXHx9wihcFefY7l?= =?us-ascii?Q?/NgalXGU4Zyra92OBVCCh2uYQJFG2Onq9BM5Hw5WVsdMlDaNix2RPPyAuQ15?= =?us-ascii?Q?Mjt21xOAtHg/IffNr+XEWjEH21wAQov8fMy518B5JhtdkRPT4fDBXmEIHtLJ?= =?us-ascii?Q?DXuca2tk0w2khBqJwtYdWlwYdBX+qnpmLNTzfVevjdbXzAjqi/qa95SYF0BV?= =?us-ascii?Q?c8jTQrEBQpzVmTm5TresSfFB?= 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: MN2PR11MB3821.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a5bf4c83-b9cb-4b96-c962-08d98e383f75 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2021 10:57:28.2683 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: sRaPZ8NXvwq/AUaRKHE418ZIwpJuVXOziQV/J/jQ4yv5b4gT380M6gfVIZ31xGVWd+lYcyUBGwW5WC2DwIA+cg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3566 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4] 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" >-----Original Message----- >From: Troy, Rebecca >Sent: Wednesday 13 October 2021 11:22 >To: dev@dpdk.org >Cc: Power, Ciara ; Zhang, Roy Fan >; Troy, Rebecca ; Akhil >Goyal ; Doherty, Declan >Subject: [PATCH v4] cryptodev: add telemetry callbacks > >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 corres= ponding >cryptodev. > >An example usage can be seen below: > >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}} > >Signed-off-by: Rebecca Troy Acked-by: Ciara Power