Re: [ovs-discuss] Should report an error when something are wrong in SFlow

2024-04-01 Thread Neil McKee via discuss
This behavior comes from the sFlow version 5 spec at https://sflow.org/sflow_version_5.txt : The following values should be used for fields that are unknown (unless otherwise indicated in the structure definitions). - Unknown integer value. Use a value of 0 to indicate that

[ovs-discuss] Should report an error when something are wrong in SFlow

2024-03-31 Thread 李兴鑫 via discuss
Hi. Nearly, I found the values both of IfOutDiscards and IfInDiscards are 2^31-1 in our environment. The SFlow returned a record is filled its all bits with 1. I checked the relevant code, the implementation of SFlow in OVS ignored the error from netdev_get_stats (see https://github.com/open