numam-dpdk/app/test-pmd
Igor Romanov 683d1e82a0 app/testpmd: fix stdout flush after printing stats
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 until the stdout
buffer is filled.

Fixes: cfea1f3048 ("app/testpmd: print statistics periodically")
Cc: stable@dpdk.org

Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
2019-03-20 21:12:33 +01:00
..
bpf_cmd.c bpf: add extra information for external symbol definitions 2018-07-12 09:37:16 +02:00
bpf_cmd.h app/testpmd: add commands to load/unload BPF filters 2018-05-12 00:37:51 +02:00
cmdline_flow.c app/testpmd: add TOS and TTL fields to VXLAN encapsulation 2019-02-07 12:59:17 +01:00
cmdline_mtr.c app/testpmd: fix memory leak for DSCP table 2018-11-18 22:32:47 +01:00
cmdline_mtr.h app/testpmd: add commands for metering and policing 2018-01-10 00:51:31 +01:00
cmdline_tm.c app/testpmd: expand RED queue thresholds to 64 bits 2018-12-22 00:22:57 +01:00
cmdline_tm.h app/testpmd: add TM commands to mark packets 2018-10-08 17:53:03 +02:00
cmdline.c app/testpmd: fix a typo in log message 2019-03-20 18:15:42 +01:00
config.c app/testpmd: fix QinQ strip display option 2018-10-26 22:14:06 +02:00
csumonly.c app/testpmd: fix L4 length for UDP checksum 2018-11-14 00:35:53 +01:00
flowgen.c app/testpmd: fix Tx offload flags 2018-11-05 15:01:25 +01:00
icmpecho.c app/testpmd: use SPDX tags in 6WIND copyrighted files 2018-02-01 02:33:20 +01:00
ieee1588fwd.c app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
iofwd.c app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
macfwd.c app/testpmd: conserve offload flags of mbuf 2018-04-27 20:11:33 +02:00
macswap_common.h app/testpmd: move MAC swap functions 2018-12-21 16:22:40 +01:00
macswap_neon.h app/testpmd: optimize MAC swap for Arm 2019-03-20 18:15:42 +01:00
macswap_sse.h app/testpmd: fix missing prefetch in macswap mode 2019-01-14 17:44:29 +01:00
macswap.c app/testpmd: optimize MAC swap for Arm 2019-03-20 18:15:42 +01:00
macswap.h app/testpmd: move MAC swap functions 2018-12-21 16:22:40 +01:00
Makefile mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
meson.build build: add dependency on telemetry to apps with meson 2018-10-27 15:21:33 +02:00
noisy_vnf.c app/testpmd: add noisy neighbour forwarding mode 2018-10-11 18:56:02 +02:00
parameters.c app/testpmd: reserve NUMA node per port and per ring 2018-10-26 22:14:05 +02:00
rxonly.c app/testpmd: add packet dump callbacks 2018-10-18 10:24:39 +02:00
softnicfwd.c app/testpmd: fix memory leak for TM object 2018-11-12 17:45:31 +01:00
testpmd.c app/testpmd: fix stdout flush after printing stats 2019-03-20 21:12:33 +01:00
testpmd.h app/testpmd: remove unused field from port struct 2019-03-20 18:15:42 +01:00
txonly.c app/testpmd: fix metadata API and Tx insertion 2018-10-26 22:14:06 +02:00
util.c app/testpmd: check mbufs in verbose mode 2019-01-15 02:40:40 +01:00