summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2011-10-12 17:20:25 +0100
committerBen Hutchings <bhutchings@solarflare.com>2012-01-27 00:10:59 +0000
commitf9c762500ae77ab8940094be1325c8a2a1c8e5f5 (patch)
treec72369c2abde3d502d2ddbaeb5828f0778fbcce5 /scripts
parent0fca8c97612f90a68ff6e1873e674b4d69a435db (diff)
downloadtalos-op-linux-f9c762500ae77ab8940094be1325c8a2a1c8e5f5.tar.gz
talos-op-linux-f9c762500ae77ab8940094be1325c8a2a1c8e5f5.zip
sfc: Make all MAC statistics consistently 64 bits wide
Currently we use type u64 for byte counts, which can very quickly exceed 2^32, and unsigned long for packet counts, which do not. But it can still take only 20-something minutes to send or receive 2^32 packets, and not all tools properly handle overflow even if they sample more often than this. The MAC statistics are all updated synchronously, so it costs very little to make them all 64-bit regardless of native word size. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud