From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B66EDA04B6; Thu, 17 Sep 2020 13:06:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 30F4A1D5F1; Thu, 17 Sep 2020 13:06:15 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 6E7421D5EF for ; Thu, 17 Sep 2020 13:06:13 +0200 (CEST) IronPort-SDR: 5WGbKzBr+4SslEQTT/VGFRLOraTXzFMFi4t8al+L3XSaxBlThmqV5BmIsaGxJmWW2YKe6rrwa4 oRxjy8MpAXNQ== X-IronPort-AV: E=McAfee;i="6000,8403,9746"; a="157076197" X-IronPort-AV: E=Sophos;i="5.76,436,1592895600"; d="scan'208";a="157076197" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 04:06:11 -0700 IronPort-SDR: Bgf4V0jx6b4Q9c9dDJbJKK6iU87TDWMDL+4h+3Fy97UG1OUNxS6WogH4QW1n2hukkj4ZHViBIQ oceSSEmw7Bjw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,436,1592895600"; d="scan'208";a="339399617" Received: from silpixa00399838.ir.intel.com ([10.237.213.224]) by fmsmga002.fm.intel.com with ESMTP; 17 Sep 2020 04:06:09 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: marcinx.baran@intel.com, pawelx.modrak@intel.com, bruce.richardson@intel.com, Kevin Laatz Date: Thu, 17 Sep 2020 12:02:21 +0100 Message-Id: <20200917110221.205960-1-kevin.laatz@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] 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" 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. Bugzilla ID: 536 Fixes: 632bcd9b5d4f ("examples/ioat: print statistics") Signed-off-by: Kevin Laatz --- examples/ioat/ioatfwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ioat/ioatfwd.c b/examples/ioat/ioatfwd.c index 43a19843ee..8a8c81edfb 100644 --- a/examples/ioat/ioatfwd.c +++ b/examples/ioat/ioatfwd.c @@ -168,7 +168,7 @@ print_stats(char *prgname) struct rte_rawdev_xstats_name *names_xstats; uint64_t *xstats; unsigned int *ids_xstats, nb_xstats; - char status_string[120]; /* to print at the top of the output */ + char status_string[140]; /* to print at the top of the output */ int status_strlen; int ret; -- 2.25.1