Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 821A5C433E2 for ; Thu, 17 Sep 2020 13:22:02 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id E215E206D4 for ; Thu, 17 Sep 2020 13:22:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E215E206D4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6ED311D639; Thu, 17 Sep 2020 15:22:00 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id A5ABE1C10C for ; Thu, 17 Sep 2020 15:21:58 +0200 (CEST) IronPort-SDR: 2Z1EoDXXz5ACybxpjPbmVuGL1os1UX5dDZBhCH1R8GeGqmiwDrCGgWD5LGnMVYLd4gHQwK4zuL 2evoTUCSMmkA== X-IronPort-AV: E=McAfee;i="6000,8403,9746"; a="221241072" X-IronPort-AV: E=Sophos;i="5.76,437,1592895600"; d="scan'208";a="221241072" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 06:21:57 -0700 IronPort-SDR: YBBlI/46CpO6m7jFrD9bMtoJUttKqX0f8v1VCjkaoZ3EBB4GUKY56M5oG7XzSWaqzvGauzeFRf kbwMjrCnlOow== X-IronPort-AV: E=Sophos;i="5.76,437,1592895600"; d="scan'208";a="483743510" Received: from bricha3-mobl.ger.corp.intel.com ([10.213.24.6]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 17 Sep 2020 06:21:55 -0700 Date: Thu, 17 Sep 2020 14:21:51 +0100 From: Bruce Richardson To: Kevin Laatz Cc: dev@dpdk.org, marcinx.baran@intel.com, pawelx.modrak@intel.com Message-ID: <20200917132151.GG1568@bricha3-MOBL.ger.corp.intel.com> References: <20200917110221.205960-1-kevin.laatz@intel.com> <20200917130740.207443-1-kevin.laatz@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200917130740.207443-1-kevin.laatz@intel.com> Subject: Re: [dpdk-dev] [PATCH v2] examples/ioat: fix stats print X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" On Thu, Sep 17, 2020 at 02:07:40PM +0100, Kevin Laatz wrote: > Currently some of the status string at the top of the stats output is being > cut off. To fix this, the status string array size has been increased. > In addition to this, the "\n" has been moved to the printf, rather than > having it in the last string, in case of future formatting issues due to > truncation. > > Bugzilla ID: 536 > Fixes: 632bcd9b5d4f ("examples/ioat: print statistics") > > Signed-off-by: Kevin Laatz > Acked-by: Bruce Richardson