commit | 511e11e396dc596825ce04d53d7f6d579404bc01 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <dada1@cosmosbay.com> | Mon May 18 19:26:37 2009 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon May 18 19:26:37 2009 -0700 |
tree | 236f3316d5577d9a4abd9ee15d4479ac7ec113b0 | |
parent | c4ca2374312b4de819dd700e72a68395eddb5fcb [diff] |
pkt_sched: gen_estimator: use 64 bit intermediate counters for bps gen_estimator can overflow bps (bytes per second) with Gb links, while it was designed with a u32 API, with a theorical limit of 34360Mbit (2^32 bytes) Using 64 bit intermediate avbps/brate counters can allow us to reach this theorical limit. Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: Jarek Poplawski <jarkao2@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>