examples/multi_process: fix timer update

To miss updating the variable prev_tsc in function l2fwd_main_loop()
The patch fixes it.

Fixes: e2366e74e0 ("examples: use buffered Tx")
Cc: stable@dpdk.org

Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
This commit is contained in:
Zhiyong Yang 2017-02-23 10:00:58 +08:00 committed by Thomas Monjalon
parent b7162fee88
commit ab69581b74

View File

@ -671,6 +671,8 @@ l2fwd_main_loop(void)
port_statistics[portid].tx += sent;
}
prev_tsc = cur_tsc;
}
/*