[dpdk-dev] [PATCH] app/testpmd: fix redundant time update

2016-07-15 Thread Thomas Monjalon
> > Inside flush_fwd_rx_queues removed redundant prev_tsc update with > > cur_tsc, > > as prev_tsc value is always updated with rte_rdtsc() in for loop. > > > > Coverity issue: 127797 > > > > Fixes: f487715f36f5 ("app/testpmd: add timeout in Rx queue flushing") > > > > Signed-off-by: Reshma Patt

[dpdk-dev] [PATCH] app/testpmd: fix redundant time update

2016-07-15 Thread Reshma Pattan
Inside flush_fwd_rx_queues removed redundant prev_tsc update with cur_tsc, as prev_tsc value is always updated with rte_rdtsc() in for loop. Coverity issue: 127797 Fixes: f487715f36f5 ("app/testpmd: add timeout in Rx queue flushing") Signed-off-by: Reshma Pattan --- app/test-pmd/testpmd.c | 1

[dpdk-dev] [PATCH] app/testpmd: fix redundant time update

2016-07-15 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Reshma Pattan > Sent: Friday, July 15, 2016 10:19 AM > To: dev at dpdk.org > Cc: Pattan, Reshma > Subject: [dpdk-dev] [PATCH] app/testpmd: fix redundant time update > > Inside flu