Re: [ovs-dev] [PATCH v12] ofproto-dpif-upcall: Don't set statistics to 0 when they jump back

2023-05-25 Thread Ilya Maximets
On 5/25/23 15:37, Balazs Nemeth wrote: > The only way that stats->{n_packets,n_bytes} would decrease is due to an > overflow, or if there are bugs in how statistics are handled. In the > past, there were multiple issues that caused a jump backward. A > workaround was in place to set the statistics

[ovs-dev] [PATCH v12] ofproto-dpif-upcall: Don't set statistics to 0 when they jump back

2023-05-25 Thread Balazs Nemeth
The only way that stats->{n_packets,n_bytes} would decrease is due to an overflow, or if there are bugs in how statistics are handled. In the past, there were multiple issues that caused a jump backward. A workaround was in place to set the statistics to 0 in that case. When this happened while