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

2023-05-24 Thread Eelco Chaudron
On 24 May 2023, at 21:05, Ilya Maximets wrote: > On 5/23/23 15:11, 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

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

2023-05-24 Thread Ilya Maximets
On 5/23/23 15:11, 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

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

2023-05-24 Thread Eelco Chaudron
On 23 May 2023, at 15:11, 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

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

2023-05-23 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