numam-dpdk/app/test-pmd
Viacheslav Ovsiienko 9fac5ca8ed app/testpmd: fix Tx scheduling interval
The first "set txtimes" command parameter specifies the time
interval between scheduled send bursts for single queue. This
interval should be the same for all the forwarding ports.
It requires to maintain the timing related variables on per
queue basis instead of per core, as currently implemented.
This resulted in wrong burst intervals if two or more cores
were generating the scheduled traffic for two or more ports
in txonly mode.

This patch moves the timing variable to the fstream structure.
Only txonly forwarding mode with enabled send scheduling is
affected.

Fixes: 4940344dab ("app/testpmd: add Tx scheduling command")
Cc: stable@dpdk.org

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2022-01-14 18:02:30 +01:00
..
5tswap.c net: rename Ethernet header fields 2021-10-08 14:58:11 +02:00
bpf_cmd.c app/testpmd: send failure logs to stderr 2021-07-24 15:12:57 +02:00
bpf_cmd.h build: replace use of old build macros 2020-10-19 22:15:44 +02:00
cmd_flex_item.c app/testpmd: fix flex item flush 2021-11-05 22:19:38 +01:00
cmdline_flow.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
cmdline_mtr.c app/testpmd: fix access to DSCP table entries 2021-10-19 18:10:28 +02:00
cmdline_mtr.h app/testpmd: support policy actions per color 2021-04-21 12:22:18 +02:00
cmdline_tm.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
cmdline_tm.h app/testpmd: add TM command for non-leaf and packet mode 2020-09-18 18:55:10 +02:00
cmdline.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
config.c app/testpmd: fix tunnel offload validation 2021-11-17 13:12:56 +01:00
csumonly.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
flowgen.c app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
icmpecho.c app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
ieee1588fwd.c mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
iofwd.c app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
macfwd.c app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
macswap_common.h mbuf: add namespace to offload flags 2021-10-24 13:37:43 +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
macswap.c app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
macswap.h net: rename Ethernet header fields 2021-10-08 14:58:11 +02:00
meson.build build: make metrics libraries optional 2021-11-17 12:48:33 +01:00
noisy_vnf.c app/testpmd: update forward engine beginning 2021-10-08 18:57:48 +02:00
parameters.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
rxonly.c app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
shared_rxq_fwd.c app/testpmd: add forwarding engine for shared Rx queue 2021-10-22 00:09:19 +02:00
testpmd.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
testpmd.h app/testpmd: fix Tx scheduling interval 2022-01-14 18:02:30 +01:00
txonly.c app/testpmd: fix Tx scheduling interval 2022-01-14 18:02:30 +01:00
util.c app/testpmd: fix flow transfer proxy port handling 2021-11-17 11:26:27 +01:00