This change doesn't look right either.
We should use u64 instead of u32.

like this:

vlib_cli_output (
vm, "rx: %Upps %Ubps tx: %Upps %Ubps", format_base10,
(u64) ((vrx[spin].packets - vrx[spin ^ 1].packets) / tsd),
format_base10,
(u64) (8 * (vrx[spin].bytes - vrx[spin ^ 1].bytes) / tsd),
format_base10,
(u64) ((vtx[spin].packets - vtx[spin ^ 1].packets) / tsd),
format_base10,
(u64) (8 * (vtx[spin].bytes - vtx[spin ^ 1].bytes) / tsd));
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21683): https://lists.fd.io/g/vpp-dev/message/21683
Mute This Topic: https://lists.fd.io/mt/92478151/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to