Re: [dpdk-dev] [PATCH] app/testpmd: fix stdout flush absence after printing stats

2019-03-20 Thread Iremonger, Bernard
Hi Andrew, > -Original Message- > From: Andrew Rybchenko [mailto:arybche...@solarflare.com] > Sent: Monday, March 18, 2019 11:36 AM > To: Lu, Wenzhuo ; Wu, Jingjing > ; Iremonger, Bernard > > Cc: dev@dpdk.org; Igor Romanov ; > sta...@dpdk.org > Subject: [PATCH] app/testpmd: fix stdout flu

[dpdk-dev] [PATCH] app/testpmd: fix stdout flush absence after printing stats

2019-03-18 Thread Andrew Rybchenko
From: Igor Romanov User can specify stats period(n). The statistics should be available to user every n second. But the print_stats() function does not force stdout to be flushed, so for instance, a user reading testpmd's stdout through pipe will not be able to read it untill the stdout buffer is