diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2009-05-18 19:26:37 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-18 19:26:37 -0700 |
commit | 511e11e396dc596825ce04d53d7f6d579404bc01 (patch) | |
tree | 236f3316d5577d9a4abd9ee15d4479ac7ec113b0 /drivers/net/vxge/vxge-traffic.c | |
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>
Diffstat (limited to 'drivers/net/vxge/vxge-traffic.c')
0 files changed, 0 insertions, 0 deletions