examples/multi_process: fix timer update
authorZhiyong Yang <zhiyong.yang@intel.com>
Thu, 23 Feb 2017 02:00:58 +0000 (10:00 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 1 May 2017 14:39:28 +0000 (16:39 +0200)
commitab69581b74232b9e5cffd104672b0afb7096163a
treee5c3a9673069e8f6a179549417ec50938ba10569
parentb7162fee8811461fb87dd9c5b843b3d1ba283e5c
examples/multi_process: fix timer update

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