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 181FC428E8; Fri, 7 Apr 2023 21:28:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9DD4240E0F; Fri, 7 Apr 2023 21:28:20 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 769B240E03 for ; Fri, 7 Apr 2023 21:28:18 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 94C32213B62E; Fri, 7 Apr 2023 12:28:17 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 94C32213B62E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1680895697; bh=ksJHkUjIrPDnxCZrrUriF73izSxrqX+UzdBFqnIJid4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Zg2KVM6QbWQzFtFIrtHdlQ8p26yJnhc45kbbvOOz/VBGMkt1ZVPA7Oecp9P7yFfW/ xaauPjCa/FgMuFAQzTh1hjxFomMGoLGll4ZLYMlAOeVkaDlD6kh+/g7orcH4PsdYfy 4rLSDBTA0xPboiwyIrqCwXd33xPklmJBQNi9YqBw= Date: Fri, 7 Apr 2023 12:28:17 -0700 From: Tyler Retzlaff To: Bruce Richardson Cc: dev@dpdk.org, ciara.power@intel.com Subject: Re: [PATCH v3 3/5] telemetry: split out body of json string format fn Message-ID: <20230407192817.GD3014@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20230310181836.162336-1-bruce.richardson@intel.com> <20230405160326.186921-1-bruce.richardson@intel.com> <20230405160326.186921-4-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230405160326.186921-4-bruce.richardson@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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 On Wed, Apr 05, 2023 at 05:03:24PM +0100, Bruce Richardson wrote: > To enable further rework to (efficiently) avoid using variable-length > arrays, we first separate out the body of the __json_format_str > function. This means that the actual VLA buffer is in the wrapper > function, and means we can reuse the actual writing code in multiple > code paths without duplication. > > Signed-off-by: Bruce Richardson > --- Acked-by: Tyler Retzlaff