git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7162fe
)
examples/multi_process: fix timer update
author
Zhiyong Yang
<zhiyong.yang@intel.com>
Thu, 23 Feb 2017 02:00:58 +0000
(10:00 +0800)
committer
Thomas Monjalon
<thomas@monjalon.net>
Mon, 1 May 2017 14:39:28 +0000
(16:39 +0200)
To miss updating the variable prev_tsc in function l2fwd_main_loop()
The patch fixes it.
Fixes:
e2366e74e029
("examples: use buffered Tx")
Cc: stable@dpdk.org
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
examples/multi_process/l2fwd_fork/main.c
patch
|
blob
|
history
diff --git
a/examples/multi_process/l2fwd_fork/main.c
b/examples/multi_process/l2fwd_fork/main.c
index
311a427
..
d922522
100644
(file)
--- a/
examples/multi_process/l2fwd_fork/main.c
+++ b/
examples/multi_process/l2fwd_fork/main.c
@@
-671,6
+671,8
@@
l2fwd_main_loop(void)
port_statistics[portid].tx += sent;
}
+
+ prev_tsc = cur_tsc;
}
/*