Hello,
I am trying to get statistics for HSR/PRP on Linux.
When I use recommended way as described in SDK documentation (4.2.4.13.3. LRE Statistics (firmware offload)):
ethtool -S <ifc_name>
I get different values for some stats than when using the method you listed in for example 4.2.4.13.5. PRP Testing:
cat /proc/prp0/lre-stats
One of the values that differs is lreTxC, while lreRxA and lreRxB are the same in both methods.
Why is there a difference and which method should be used? Or is there some other method to get statistic via C/C++ code?
Best regards.