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 10D6BA0C55; Wed, 13 Oct 2021 13:07:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CD8DB410EB; Wed, 13 Oct 2021 13:07:15 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 4E6A5410DA for ; Wed, 13 Oct 2021 13:07:14 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10135"; a="290893591" X-IronPort-AV: E=Sophos;i="5.85,370,1624345200"; d="scan'208";a="290893591" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2021 04:07:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,370,1624345200"; d="scan'208";a="715525106" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga006.fm.intel.com with ESMTP; 13 Oct 2021 04:07:11 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX606.amr.corp.intel.com (10.22.229.19) 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 04:07:11 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX610.amr.corp.intel.com (10.22.229.23) 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 04:07:10 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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.2242.12 via Frontend Transport; Wed, 13 Oct 2021 04:07:10 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.102) 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 04:07:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DEE7h+UUMf7HpNyuqlxHCHGrhF3zFA2DKrpupdsuTyngKUDIDFCHb0Tqrt9P/SBoJvtetylSW2Uyc6Mo8JmjdFyjV0XnU5UHKFs9PFqcQlsdJ+QjJmJY0AcA7WFYnpgEiwa/v7aFaneNSWHH8tVkfRb7JbjmnadMGS3//+tiv4Rtad1UGd5DDpS2Bj16Yo3Pg2G3hVrI/TrJjbwUYRvcm1AP3OsHNOnjZ1K4TvgAQtWTJoyal4MT/fGEJAoIMifAHQniSmjGeUfmuGWGBNPaVyZdcwT6kGG+g8atVWWPUW+w6sOvuDVEPjFOtAykSFA4Am/Ncpx1YE/+TRz9KIwdpA== 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=EPTkzZn9Rj3h3PkTYlnr/6ACwHO7rh0I4t3jo9VpSbM=; b=ZHpts3j3oW4uq+uuGGk76x6c1hJq1dQEfQ5Esja7pMC5D+kr7wEiTar5zxCqgv27lqlxV6kBslhSKMtgo4OfMEgwujE7PNA3gwOLicHLAqoTNyaLws8V2Id42Ajcx5WuQKmEhnbGJlbkwIPvO9npNKNRb5+oFPvXY2qEvHSsyQz1+1DndNzWI1xKAR5CYDjMG4KPXPzTyWCakzDkXMm3HkwnZJYOEvJbXqKZHXQRgz9DS9oDZ88rUKw97qC8TiI2LDvWdLxW5X9eo61EnK8dhKx2RmKWukKJQsrp20D7M1ECXwWnXQwMl3B+V7KForsn4uxuyf2ITj/OlDSb62Pwgg== 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=EPTkzZn9Rj3h3PkTYlnr/6ACwHO7rh0I4t3jo9VpSbM=; b=Z2wwPxf4wEHxuUz9a4eON/wO+dLQHIpJcPq5kQx2Pwq8qdShNs/H26EXnGn1fxqv9SvcMPW9Ynbel1X5L9ffhTEqui9YyuKIyeTycJbnH7XGkrDBTxircDDpSpyjA1Li4+7s6KkA1mkeQo1PysxJD9WZa7P6fah1l2EEbW42Gnc= Received: from MN2PR11MB3821.namprd11.prod.outlook.com (2603:10b6:208:f7::24) by BL1PR11MB5288.namprd11.prod.outlook.com (2603:10b6:208:316::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.15; Wed, 13 Oct 2021 11:06:53 +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 11:06:53 +0000 From: "Power, Ciara" To: Gowrishankar Muthukrishnan , "dev@dpdk.org" CC: "Richardson, Bruce" , "jerinj@marvell.com" Thread-Topic: [v6] telemetry: remove limitation on JSON output buffer length Thread-Index: AQHXvo512ChVasKm4Ey0ws1Vd/RKWqvQxsgA Date: Wed, 13 Oct 2021 11:06:53 +0000 Message-ID: References: <65d6e703fa474bc6c2396462511a2126dc05e736.1633949496.git.gmuthukrishn@marvell.com> In-Reply-To: <65d6e703fa474bc6c2396462511a2126dc05e736.1633949496.git.gmuthukrishn@marvell.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: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 87c2e5ea-cb75-484c-fab6-08d98e399063 x-ms-traffictypediagnostic: BL1PR11MB5288: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AW6cexoxYxlmi6xiyuF/FlO217x2vwDZILt/jyyd8Hq+au2iv8OdXEN0BuaSaHISNtIvTPOg/C5f3TXIIhdpjwgzRBYDwWFdo2Psi52UvzmAWIXAN2BeY+KG+LJDvIAFTS3Qix7xJUpoqZEvWdt1DkOJyTWE5W5kwNzb/LURKWCfmAMZVa4LIKyy6G40SI1YfaHIPAxISgSDQOcVAHYH20glTL/3JANdlKfR8Eg/XRWlGftgUyi9YtKeFOt6Y/KShSlKW77PUC3wrCA1aqdj+txEkClfsN/kp30fl3Nis1cc/bGBy1BULCt9Xxs7magLuLPUFrWvI9VNjz+z59HOKDOxlPQBBcNTmcjuxlOgLuFnVxwaud+hCNR5knZZeaToQ8z6KzbCM/LftO+F4d3/R02HcbsPE6wxFoZwkwVJ8RWNWFJOf6vlN5CjIUzKO4d84i+a04kniGHlfN8YdTLsWIvJ8RTm94dGVDeAoQqkxyzvwZjcpeKomBeBz4yWqAQkV6npurTXSg02iii6nf3G4sXsAoIFsn98ZXIrVkH0Qrthzas5k2kM4IyTzLroOtApE9ZsvXIFM4xMly6M7jpCu9bkVrExOvwcDIwEKT8Wr5oPW2pggvFbi8rOJaER6znFxde+2mkcwudXHTLrfYXjSo3EgcNDOS0fYbUnb57P4BRN0kdcm53JAJ3PI661+DaizeTKBrDYFFyqAmy2w+DsvQ== 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)(66446008)(66946007)(64756008)(8676002)(66556008)(66476007)(508600001)(83380400001)(2906002)(122000001)(4326008)(7696005)(71200400001)(82960400001)(5660300002)(38100700002)(76116006)(54906003)(316002)(110136005)(26005)(6506007)(8936002)(38070700005)(52536014)(9686003)(4744005)(186003)(86362001)(55016002)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?JnRLfz/tjsGFex9fpUyAbxixYo06mMcE8D8cOr/gggMobAF11PinkGgPtWOB?= =?us-ascii?Q?k8j3xUJT+lA9HsHx40XrYjEq/M5TscIhwH+XXbA0gkFsLAKNEKpekDMrsmME?= =?us-ascii?Q?cQpVpTKA99uUu7CyX2RWc+Fl3MVbmkB9mEa1kz1QqON4XyJpSTJj4USGlOfZ?= =?us-ascii?Q?lSCYfd5up066PH0m2Lk3IKkG/sXNPlkhimNa1oopXmAx3vMIjqDRyv6OEM9t?= =?us-ascii?Q?SKoPKPLnlMHzXi0UY7h67ALiCnl+CXwAdNnYaLtR27ZkbWfPlyMXw3viQyi4?= =?us-ascii?Q?x4kAkaSM75hOakkYVY7pLEG9yiA8p0xrxbCzwUBRkdNOIFMZ47lIbTwTQIrP?= =?us-ascii?Q?bJOlfvVdREBUYjX5fioj5wOcylOtQIANiIS2NKCWDrA2+tZLE4dfA0tm3EOH?= =?us-ascii?Q?uFC0j1PeACg804qmgLMZZcKBIGNX8PjzLpdD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KKO0TQz5?= 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: 87c2e5ea-cb75-484c-fab6-08d98e399063 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2021 11:06:53.4928 (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: WvI5F8MwJn5t+muKiV6T4IFr025SlryMYF89NvGSq02prJQf8Ij55hgoclSsiD493NIYr30eyluORuuElPksBg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5288 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [v6] telemetry: remove limitation on JSON output buffer length 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: Gowrishankar Muthukrishnan >Sent: Monday 11 October 2021 11:55 >To: dev@dpdk.org >Cc: Richardson, Bruce ; Power, Ciara >; jerinj@marvell.com; Gowrishankar Muthukrishnan > >Subject: [v6] telemetry: remove limitation on JSON output buffer length > >Earlier, JSON message length was limited to 1024 which would not allow dat= a >more than this size. Removed this limitation by creating output buffer bas= ed >on requested data length. > >Fixes: 52af6ccb2b39 ("telemetry: add utility functions for creating JSON") > >Signed-off-by: Gowrishankar Muthukrishnan >--- Thanks, Acked-by: Ciara Power