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 7E28FA0032; Fri, 25 Mar 2022 10:29:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2DA1040687; Fri, 25 Mar 2022 10:29:10 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 0BB3D40140 for ; Fri, 25 Mar 2022 10:29:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648200548; x=1679736548; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=bT+mhmMJexu7mgntjr4JrFg0qAyeKCJMEiaoWob99WQ=; b=VCb9XK61ewHmj/x3pCbpc4NIHixpezhdFb2yjNNL1ZctBS0GFKOIYgTH CKtZsscrmxd9AgtZ1QSdQWJAkckGv/sgWmer2y4fWyEVrLdghCOL6bP13 0Uy8BPGmSJb/JMKVWnJW744+lDZZhvZHZcZxWNl35KrYe/UAJD7ZsBl0a KVYEz3i1raE+zyClv44YfNw8Qqau42Fws6a0xj/zRof0+ZybtXf70wTRf kzIPpCPPsH6tVXY51MhYbmvcIk7/1bW2iSSnsokXta6XhoqNWpruEYAD0 iq0iDMh9TfY9/SwjrF0BR9ee+hURsxaAl6QwpN0+QVmkDCh9pb8XzvIML g==; X-IronPort-AV: E=McAfee;i="6200,9189,10296"; a="239198870" X-IronPort-AV: E=Sophos;i="5.90,209,1643702400"; d="scan'208";a="239198870" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2022 02:29:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,209,1643702400"; d="scan'208";a="553174780" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga007.fm.intel.com with ESMTP; 25 Mar 2022 02:29:07 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Fri, 25 Mar 2022 02:29:06 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Fri, 25 Mar 2022 02:29:06 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.49) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.21; Fri, 25 Mar 2022 02:29:06 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JAWlIcTOW0VsGFXIV0MH5zWKlZJo5sRSHOEBa+jnODua7kEWrT7zRFakfBl3fswx8qfrLtaFXXp4s69BG6WgWtfKfE6JrOzewx6LL4jksQjeXW2Y1kA96CXBFZrXjRdh26xRda447moLl9ikyF+2hI6OzmtCYKi1aXU37ci/u2Kb8gdlp0vPLIdLBdqunu8+03JquC39ZBkIjC8Q0GUPTuYhMaJ0Yakmx9C/vBaSNT2ZQkKmVixczsup2mGDW8CFwZ45GLP2K8d7A8UJtA3n8Al99v+jRiSiQkLlExChr5kt5OTeJSLXx5LT1A0V8rg5H98vkb+Iat5GO+oEVb5F8Q== 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=QUlUy/57AbjGt1COgLfBrpX9/EjrpuJ3PY4VQjBj4DM=; b=C5g9Ht3QAfhPRO2H3csYBbQkfcwlCJBKOxYToeMXYEMdT6goeUss1+iCk6z7ww+UPR7lepbxslk0dcyi4jg+qOp/w9bt1eSViQ2rtb1/7Aj33C3FZqcVUkX4xYKK72hR9nBgcthI4fiSl+dUhykEItt8cRUNT+P3quCCxMnUuZ53+4tu9Tp8FwMm/xuazNlfpi/HrudWTRcGAEzaTqOOrFueAYUpR3HI+gtsojYwB8z4sI8DRpV9RiKKzkNZGyt3NbqZCJsb5azAq0FMKWKERARRO3oyMkdlm5qJMeZGiAqxAiIiEoFPXnIKT/wnIahTWpSQLjmcuVSQkJamiN9dsA== 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 Received: from DM8PR11MB5605.namprd11.prod.outlook.com (2603:10b6:8:26::11) by CY4PR11MB0056.namprd11.prod.outlook.com (2603:10b6:910:7c::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.15; Fri, 25 Mar 2022 09:29:02 +0000 Received: from DM8PR11MB5605.namprd11.prod.outlook.com ([fe80::4868:ed44:2d90:55dd]) by DM8PR11MB5605.namprd11.prod.outlook.com ([fe80::4868:ed44:2d90:55dd%6]) with mapi id 15.20.5102.019; Fri, 25 Mar 2022 09:29:02 +0000 From: "Pai G, Sunil" To: "Morrissey, Sean" , Chengwen Feng , "Laatz, Kevin" , "Richardson, Bruce" CC: "dev@dpdk.org" , "Morrissey, Sean" Subject: RE: [PATCH v1] dmadev: add telemetry support Thread-Topic: [PATCH v1] dmadev: add telemetry support Thread-Index: AQHYPtYGqiTIxxTExUaz3nJHrRT0eqzP1iqw Date: Fri, 25 Mar 2022 09:29:02 +0000 Message-ID: References: <20220323164907.548318-1-sean.morrissey@intel.com> In-Reply-To: <20220323164907.548318-1-sean.morrissey@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.401.20 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bc574c76-dcf5-43f9-d027-08da0e41e62e x-ms-traffictypediagnostic: CY4PR11MB0056:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gEYbCJ1X8lTG6iF+2VIXl+barloeSltATf9iewXnZKXoyyqZ2fSSjSv4lieZXG1DcKTxXcJojoT3jbx9SpkCcLoOrXboRgi5FhfihcdSGfiTzWFayMxEVtlFCeMenijnFWkq23ZY4k9zABwQTp9Q/8yibIRDBkUrY0MUIgUu6YrDJlFEn/ncFtdAL+3Qzyiac76/sBrm5yAf8rBpKNc4mSJuZ99b5xjD4EABz/MzF+j9Tm3G4+jjszaHCstKbuUpsG81jTsv00fXRMrVovXL6aSrPqnIBcUhwO6pxR5Din6cGSiSS16QPmDmxXfGgqtD0hZwHvV0Ns4Wh10qDBkrbi6y6PI8+AbgyAXhWcFmkijOnwaRUS0165Y0qvv221IKZikfdu26eOvcq2GbiTXLIBCLfLXPpSOfINTKpDar964FgTF0UzCdFVSUfrVOW1Pioh58ohTxcaNvJo/2lmpYnlGLpUIzoV8W1pnGOAf33XDPWPFa43OfFpPD4teoUmhElqyLC9aJfTqpZYlqTCgRRxtGxmGTmP7rCTa7dc/9A25feD1x/hrsdMLByH2sjM9p6zUwSmwuZg8ZtJnuI/e7X7QC/ksGXRv6oYxblbv+WQohu+MFGcflXt3uylzQOWJ3jmZ7muOFc6PaX0/ImYkJJbavN86b61ISNDDUOVFOxuB33LJcItxR51hOp3Su0oRhmtwfupfeNPIVkzsz/j+cuw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR11MB5605.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(316002)(54906003)(52536014)(9686003)(76116006)(33656002)(508600001)(107886003)(2906002)(38100700002)(83380400001)(71200400001)(5660300002)(86362001)(38070700005)(53546011)(6506007)(6636002)(7696005)(66556008)(66476007)(122000001)(66446008)(4326008)(82960400001)(8676002)(66946007)(110136005)(8936002)(55016003)(64756008)(26005)(186003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?93uIGly/L+QuyxWg4aGXvm82QTW0EWgi+7+xvOZebtPOfY0kXplkWsEOsHMS?= =?us-ascii?Q?RI0Xr5/wZ4gbORBKqNmfAOw//4rY0aOP/nRLv4HWOglaAhWFUj+e3thdiWHJ?= =?us-ascii?Q?9DslRuigLvz4Sd0W9SfKE3/fzkrWo0dtgJb+KYnpz+rqkHDdgvOTHdl7dApV?= =?us-ascii?Q?2MKFa4R6gBRsDegNrcrD9L8am4QfGYWqLJeN3GDkzldhbsbXK0XQo1hQh/dk?= =?us-ascii?Q?PJoychAR/uZCpHBt5pe2c5zzpVgr3eclrjw7PMk3p0Nl7pfD7dPSc58oeFiC?= =?us-ascii?Q?5Z0iPyOOkTgBFZhNMzw14w22z4x2qdAh7o6TeFrAR6+knwy2Ce2fgLX5VSMn?= =?us-ascii?Q?kbnkhu6zr34f4auehJrCJnM1oFvwU/Rxppesn818vxqPq7apNL8AwRYLNMeO?= =?us-ascii?Q?rSAV/EGhT6ZPcADWQxTVAUXordHbs1BJz1WlL0LlHKlSIwKalD7osJ4xTyCt?= =?us-ascii?Q?t1BO5jWtCtrftUQ0vyGZVcw4RY3dat7kAQOhP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8B3enaNfnu6mZoP7rn7txEX/rXHq1NX27wHlOSZqMJusChk7pBG?= =?us-ascii?Q?k8YSjCVP3Cr9fkIomtGRnDoSV1b1ZXZV?= 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: DM8PR11MB5605.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bc574c76-dcf5-43f9-d027-08da0e41e62e X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Mar 2022 09:29:02.2887 (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: kSSixFzBK7PS6yDs94j36dZx8n/FpOWnQ9rLfSs/BgZxeAvVKE81SBeW8vy1Gj2/1cHiw1KHa6NtWV3WF8mVJQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB0056 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Sean Morrissey > Sent: Wednesday, March 23, 2022 10:19 PM > To: Chengwen Feng ; Laatz, Kevin > ; Richardson, Bruce > Cc: dev@dpdk.org; Morrissey, Sean > Subject: [PATCH v1] dmadev: add telemetry support >=20 > Telemetry commands are now registered through the dmadev library for the > gathering of DSA stats. The corresponding callback functions for listing > dmadevs and providing info and stats for a specific dmadev are implemente= d > in the dmadev library. >=20 > An example usage can be seen below: >=20 > Connecting to /var/run/dpdk/rte/dpdk_telemetry.v2 > {"version": "DPDK 22.03.0-rc2", "pid": 2956551, "max_output_len": 16384} > Connected to application: "dpdk-dma" > --> / > {"/": ["/", "/dmadev/info", "/dmadev/list", "/dmadev/stats", ...]} > --> /dmadev/list > {"/dmadev/list": [0, 1]} > --> /dmadev/info,0 > {"/dmadev/info": {"name": "0000:00:01.0", "nb_vchans": 1, "numa_node": 0}= } > --> /dmadev/stats,0,0 > {"/dmadev/stats": {"submitted": 0, "completed": 0, "errors": 0}} >=20 > Signed-off-by: Sean Morrissey > --- > doc/guides/prog_guide/dmadev.rst | 24 ++++++ > doc/guides/rel_notes/release_22_07.rst | 4 + > lib/dmadev/meson.build | 2 + > lib/dmadev/rte_dmadev.c | 105 +++++++++++++++++++++++++ > 4 files changed, 135 insertions(+) >=20 Thanks for adding the telemetry support. Tested-by: Sunil Pai G =20 Regards, Sunil