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 3CFF3A0524; Wed, 5 May 2021 09:49:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AD40740040; Wed, 5 May 2021 09:49:40 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 51D824003C for ; Wed, 5 May 2021 09:49:39 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 1457jG7G001563; Wed, 5 May 2021 00:49:38 -0700 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2168.outbound.protection.outlook.com [104.47.56.168]) by mx0a-0016f401.pphosted.com with ESMTP id 38beb51j7x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 May 2021 00:49:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OxrmKbv82cY+e+Q+hgiul/jUuPympL9m9i49R6ELOG2SwjHh/GJNyhTlxXXEswA49xflpYPJT8EZiXqCgSnUnkW2jXwaMKAi/FP26MEo/ABnOMEgcKd0kgnDG4dZsp63qZvaXxljVkAZJyr1DEa/cnttpUhU0ITHq8CYopRTJL60q4IGFG0j79xfNsWaOQsp9ZPEhUkND0FhOl4oMMWw57ehro97Dkck1fX+HxBmWAz9gNICC8/f7x+7rmtW/KTsbP3ntYXrDf8ZxuTJR0O++10Zpgs75DTSoVyGY6rwlIOvkPt66Hl6ISEMYn2w3qSG1xUh+2Uzy03NkDX2iTa79A== 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=UEY3a1p6d3qecBiQQVtVcROHSxhiUVoOyrdUmyXY8pY=; b=NZTfVsK345t+baOvADMqVHS6H9t7V4f3N3hxcoIiug56b9hx6iX/bhSMi4mUj6DrnSrF8zx0RhBhZuZShsjvCYpceu5pqiOr8cJdXeKOaVewKOtwBi4/IjGrxqlCN02aznYjfuSsxx3VhRxx+Yv2M+3KlF1t8P/jOZlIFtvRSxbl9oY2rBeax3u95dQbW1FXucnW3b2BCzt6poLeRuy5VmLshjX5UaT63OeDCsTteGWS5wu1UUA3EkYfYngpaTwgHoJO2LHI61hJ9PYT3QE+tSUevPRVxm06jErE/YgsTiMCqj2AfBoKrT1UnZLsYnq9CYnX9wsnT+dMlrLlsFiL7g== 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=UEY3a1p6d3qecBiQQVtVcROHSxhiUVoOyrdUmyXY8pY=; b=LYrC77qSMUf9GMa9Saf05MeJ8CtDPGndeW+PruB0+tnKKnxZdRQtpY12H8UcsJBjYj2L2lqOVS0TiRDNBB03KCbzHKngDt/wUKezrHEPBf3IxHmxkSXG6OUmMZPYUziFye84JsvgDrW22TbWGUnDNuJCxDwlmqncSx5HAzZF9+Q= Received: from BN9PR18MB4204.namprd18.prod.outlook.com (2603:10b6:408:119::18) by BN6PR18MB0913.namprd18.prod.outlook.com (2603:10b6:404:6f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.44; Wed, 5 May 2021 07:49:35 +0000 Received: from BN9PR18MB4204.namprd18.prod.outlook.com ([fe80::4a:16d8:def5:197c]) by BN9PR18MB4204.namprd18.prod.outlook.com ([fe80::4a:16d8:def5:197c%5]) with mapi id 15.20.4087.044; Wed, 5 May 2021 07:49:35 +0000 From: Harman Kalra To: "bruce.richardson@intel.com" , "kevin.laatz@intel.com" , David Marchand , "thomas@monjalon.net" , "stephen@networkplumber.org" CC: "dev@dpdk.org" Thread-Topic: DPDK Telemetry library enhancement Thread-Index: AddBgsX9bGrOeYbrTaa5dOorJz6tLQ== Date: Wed, 5 May 2021 07:49:35 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=marvell.com; x-originating-ip: [106.212.243.44] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4dfb17e5-6aa9-4789-dd57-08d90f9a53ca x-ms-traffictypediagnostic: BN6PR18MB0913: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Vj3AXjFDtQxtnwYPIq+o9HOP+G8sy5zrHTsXhlbGPmDk4SSEq8raSt3SeEzldi6R0BjX8F2Xpdyx6SS7s0DAW24IzCJcqa6EuttZ1t8Xxzq2Y7F+oRLGxkjsnWevoijHezeaCV4c96BJeo3BctItIBC0YJ4IcqVmPRgshLSL0U7yskKXg1oVVvE05l50WEMquFRsiuIMdtlnSwGJDKhI5yyg3qr9UTERUX+v0fZU2AJso6y3ZADijiANoCPhdV1BpUAZ6Dap+nTgjwuDukndCmH7Ymz8XXKbdw6a9Gran7MLf6WiuQXIqRjAleOJirqA5lCZ4kN86N/cgCP60AoH/2hkQlrsIfcWhydc8wHh3/t0sbmhqVhV7xQccsM1xAgjxV2Hbzffa1yf9EXqFH/fQxrTODPZwJe6ua03t9kirfq7qFMhXwUoQ9BJRaabubjY5bylIDJ7m5aAdNkAf288vQoIF8ZIl+hrl0N0xenFhVmlfZgdoWfL0ArsLtRfaF0QhXyH+lcFEsLoq7i4xM822ctTFR4it8oL1lLOx9J5H3GJjddCF8LpuEp1nIMbr1PVyhSTimGM9jNFtfzctikq/eM/wHC0brYboCWFsNUMAG8= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN9PR18MB4204.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(366004)(376002)(396003)(346002)(66946007)(8676002)(4326008)(7696005)(86362001)(6506007)(316002)(64756008)(66446008)(8936002)(76116006)(122000001)(9686003)(66556008)(5660300002)(66476007)(478600001)(71200400001)(4744005)(26005)(2906002)(3480700007)(83380400001)(110136005)(38100700002)(33656002)(55016002)(186003)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?3i+6ISkqOST6jZQb4mIWZDg/EeMg9i+/g1bpBK0sWMcefpSt3r8ds2tf54Mu?= =?us-ascii?Q?Qy6QdWYH0OqjPmAYNJOBH717kA1U72DmBIWDHDJxfmEqGE7O0fX6KS2nVTkb?= =?us-ascii?Q?309vt/9VIkl4XbFxe9P/JBCTFFX3a7M2J6VVr/YkLP0lFVDAYt60xDcOGmmR?= =?us-ascii?Q?Epzs/rsmw+YM7TERRLccx8jtPtQ9mi+SOj7DQI/iO0oqYW+QlVCkAa72gRdc?= =?us-ascii?Q?SjdooTU1t3Nf0nS28akTmdJLw4ULXsx7Aj4MwDnNnrxFvpzWxuZTUbP4Klan?= =?us-ascii?Q?dB878MvclOuAXjut+oTWJYfp1UqBS+MG+u1JxvKvhbH7LmNjvg2ffEi3BcTQ?= =?us-ascii?Q?j0QDfrNZpfgr3zFtwONiR/L9Ge+Y9NoGfVSdiIFl7S8SCScH9kLYCXq1H6xw?= =?us-ascii?Q?TgvbKl6+gxqzOrK06UccYXS7suJ5W1h9axZ1LoWfR+gDoWWlMn8E7cM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DILcJ0mQaBwi9Hg?= x-ms-exchange-transport-forked: True 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: BN9PR18MB4204.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4dfb17e5-6aa9-4789-dd57-08d90f9a53ca X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2021 07:49:35.3097 (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: DCB4qzWtqD3XUtNxkIu4r0e+6AgAar5wZFQ2s+UY0SwMsOGtdjVpE4ecO6EFeegSlJv0PmD1TYAy8AZ25VScBw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR18MB0913 X-Proofpoint-ORIG-GUID: e7SeJdZKAITX9587bP-ii9t8d_HgRtvd X-Proofpoint-GUID: e7SeJdZKAITX9587bP-ii9t8d_HgRtvd X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-05_02:2021-05-05, 2021-05-05 signatures=0 Subject: [dpdk-dev] DPDK Telemetry library enhancement 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 All, We have a use case where we need to gather statistics over network. Current= implementation of telemetry library is based on Unix socket, we would like= to enhance the scope of library to use network sockets. We understand secu= rity challenges with network sockets, to overcome them can we can think of = two steps: 1. By default library will be using Unix sockets, it will be user decision = to run library with network sockets by passing respective eal flags. 2. We can introduce some key/password authentication mechanism to the libra= ry, where only authorized clients can get connected to the server. Password= can be passed by the user as eal flags, something similar to vf token whic= h is uuid based. Kindly provide us suggestions/challenges over this enhancements. One more query, can we register driver specific telemetry commands to colle= ct driver stats? Is this upstream able? Thanks Harman