examples/ioat: fix stats print
authorKevin Laatz <kevin.laatz@intel.com>
Thu, 17 Sep 2020 13:07:40 +0000 (14:07 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 8 Oct 2020 12:38:02 +0000 (14:38 +0200)
commit64d0a9097d96e554697f8473f196266bfaf62b9d
tree04777da0b8082075e18cf80158014f4f3caef43a
parent2ae23f564761248a17d3569e9425af1af4dd8710
examples/ioat: fix stats print

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")
Cc: stable@dpdk.org
Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
examples/ioat/ioatfwd.c