dpdk-fm10k/app/test-pmd
Viacheslav Ovsiienko 5ce13f1acd app/testpmd: fix timestamp init in txonly mode
The testpmd application forwards data in multiple threads.
In the txonly mode the Tx timestamps must be initialized
on per thread basis to provide phase shift for the packet
burst being sent. This per thread initialization was performed
on zero value of the variable in thread local storage and
happened only once after testpmd forwarding start. Executing
"start" and "stop" commands did not cause thread local variables
zeroing and wrong timestamp values were used.

Fixes: 4940344dab ("app/testpmd: add Tx scheduling command")

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
2020-07-30 00:41:24 +02:00
..
5tswap.c app/testpmd: add 5-tuple swap forwarding engine 2020-07-11 06:18:54 +02:00
bpf_cmd.c replace unused attributes 2020-04-16 18:30:58 +02:00
bpf_cmd.h app/testpmd: add commands to load/unload BPF filters 2018-05-12 00:37:51 +02:00
cmdline.c app/testpmd: fix typos 2020-07-17 18:21:21 +02:00
cmdline_flow.c app/testpmd: add eCPRI in flow creation patterns 2020-07-13 02:49:03 +02:00
cmdline_mtr.c app/testpmd: fix memory leak on error path 2020-05-28 17:57:07 +02:00
cmdline_mtr.h app/testpmd: add commands for metering and policing 2018-01-10 00:51:31 +01:00
cmdline_tm.c replace unused attributes 2020-04-16 18:30:58 +02:00
cmdline_tm.h app/testpmd: add TM commands to mark packets 2018-10-08 17:53:03 +02:00
config.c app/testpmd: fix output format in flow query 2020-07-17 18:21:21 +02:00
csumonly.c app/testpmd: enable empty polls in burst stats 2020-07-07 23:38:28 +02:00
flowgen.c fix Mellanox copyright and SPDX tag 2020-02-13 18:47:28 +01:00
icmpecho.c app/testpmd: enable empty polls in burst stats 2020-07-07 23:38:28 +02:00
ieee1588fwd.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
iofwd.c app/testpmd: enable empty polls in burst stats 2020-07-07 23:38:28 +02:00
macfwd.c app/testpmd: enable empty polls in burst stats 2020-07-07 23:38:28 +02:00
macswap.c app/testpmd: enable empty polls in burst stats 2020-07-07 23:38:28 +02:00
macswap.h net: add rte prefix to ether functions 2019-05-24 13:34:45 +02:00
macswap_common.h net: add rte prefix to IP structure 2019-05-24 13:34:46 +02:00
macswap_neon.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
macswap_sse.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
Makefile app/testpmd: add 5-tuple swap forwarding engine 2020-07-11 06:18:54 +02:00
meson.build app/testpmd: add 5-tuple swap forwarding engine 2020-07-11 06:18:54 +02:00
noisy_vnf.c app/testpmd: add noisy neighbour forwarding mode 2018-10-11 18:56:02 +02:00
parameters.c app/testpmd: add 5-tuple swap forwarding engine 2020-07-11 06:18:54 +02:00
rxonly.c app/testpmd: enable empty polls in burst stats 2020-07-07 23:38:28 +02:00
testpmd.c app/testpmd: add 5-tuple swap forwarding engine 2020-07-11 06:18:54 +02:00
testpmd.h app/testpmd: add 5-tuple swap forwarding engine 2020-07-11 06:18:54 +02:00
txonly.c app/testpmd: fix timestamp init in txonly mode 2020-07-30 00:41:24 +02:00
util.c fix Mellanox copyright and SPDX tag 2020-02-13 18:47:28 +01:00