@eider Thanks for the info about getting the raw values.
I generated around 8GB of traffic from the the Raspberry Pi 3 on port 5 to the Edgerouter-X on port 1 with iperf3.
I think the bug is in the code in the embedded processor in the CSS106. It appears there are multiple 64 bit values being sent, but the upper "high" 32 bits is being sent with tags that end with "h".
e.g. rb: is the low 32 bits of received bytes, rbh: is the high 32 bits.
rup: low 32 bits of received unicast packets, ruph: high 32 bits of received unicast packets.
{rbp:[0x0000425d,0x00000000,0x00000000,0x00000000,0x0000000d,0x00000000],rpp:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],rmp:[0x000017ca,0x00000000,0x00000000,0x00000000,0x00000023,0x00000000],rfcs:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],rae:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],rr:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],fr:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],r64:[0x0005d272,0x00000000,0x00000000,0x00000000,0x00000252,0x00000000],r65:[0x002b260b,0x00000000,0x00000000,0x00000000,0x000025a6,0x00000000],r128:[0x000028a8,0x00000000,0x00000000,0x00000000,0x00000ac0,0x00000000],r256:[0x000000be,0x00000000,0x00000000,0x00000000,0x0000008a,0x00000000],r512:[0x000104b2,0x00000000,0x00000000,0x00000000,0x00000008,0x00000000],r1k:[0x00001f23,0x00000000,0x00000000,0x00000000,0x0054544f,0x00000000],rmax:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],rtl:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],rb:[0x10633607,0x00000000,0x00000000,0x00000000,0xf421706a,0x00000000],rbh:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000001,0x00000000],rov:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],tbp:[0x000006cf,0x00000000,0x00000000,0x00000000,0x0000491d,0x00000000],tpp:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],tmp:[0x0000ca4f,0x00000000,0x00000000,0x00000000,0x0000e1f9,0x00000000],tur:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],t64:[0x0003d484,0x00000000,0x00000000,0x00000000,0x0000fc96,0x00000000],t65:[0x0000261b,0x00000000,0x00000000,0x00000000,0x002a37dd,0x00000000],t128:[0x000011de,0x00000000,0x00000000,0x00000000,0x000028a8,0x00000000],t256:[0x00011522,0x00000000,0x00000000,0x00000000,0x000000af,0x00000000],t512:[0x00041e62,0x00000000,0x00000000,0x00000000,0x000009ce,0x00000000],t1k:[0x005454b2,0x00000000,0x00000000,0x00000000,0x00001f23,0x00000000],tmax:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],ttl:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],tb:[0x052aef79,0x00000000,0x00000000,0x00000000,0x0cc122a3,0x00000000],tbh:[0x00000002,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],tcl:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],tec:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],tmc:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],tsc:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],ted:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],tdf:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],tlc:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],rtp:[0x003245b8,0x00000000,0x00000000,0x00000000,0x00548799,0x00000000],rup:[0x0031eb91,0x00000000,0x00000000,0x00000000,0x00548769,0x00000000],rte:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],ttp:[0x005d94b3,0x00000000,0x00000000,0x00000000,0x002b86bb,0x00000000],tup:[0x005cc395,0x00000000,0x00000000,0x00000000,0x002a5ba5,0x00000000],tte:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],rrb:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],trb:[0x00000040,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],rrp:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],trp:[0x00000001,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],ruph:[0x0000000b,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],rmph:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],rbph:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],tuph:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000009,0x00000000],tmph:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000],tbph:[0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000]}
It appears to me that there are values being sent in the ruph: and tuph: arrays that are not correct. They are too high.
In this case both should still be zero.