Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app/testpmd: fix Tx scheduling interval
[ upstream commit 9fac5ca ] 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: 4940344 ("app/testpmd: add Tx scheduling command") Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
- Loading branch information
1 parent
96b92d0
commit bb1854b
Showing
2 changed files
with
7 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters