Re: [dpdk-dev] [PATCH v3] latencystats: fix timestamp marking and latency calculation

2018-10-25 Thread Thomas Monjalon
25/09/2018 16:51, Reshma Pattan: > Latency calculation logic is not correct for the case where > packets gets dropped before TX. As for the dropped packets, > the timestamp is not cleared, and such packets still gets > counted for latency calculation in next runs, that will result > in inaccurate l

[dpdk-dev] [PATCH v3] latencystats: fix timestamp marking and latency calculation

2018-09-25 Thread Reshma Pattan
Latency calculation logic is not correct for the case where packets gets dropped before TX. As for the dropped packets, the timestamp is not cleared, and such packets still gets counted for latency calculation in next runs, that will result in inaccurate latency measurement. So fix this issue as b