]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[NET_SCHED]: Making rate table lookups more flexible.
authorJesper Dangaard Brouer <hawk@comx.dk>
Wed, 12 Sep 2007 14:36:28 +0000 (16:36 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:20 +0000 (16:49 -0700)
commite08b09983fe9cf379faf1aefdf9164268d4610e7
tree579988b32bba063fa5e143b01887eb525176fc98
parente9bef55d3d062ee7a78fde2913ec87ca9305a1e0
[NET_SCHED]: Making rate table lookups more flexible.

This is done in order to, add support to changing the rate table to
use the upper-boundry L2T (length to time) value. Currently we use the
lower-boundry, which result in under-estimating the actual bandwidth
usage.

Extend the tc_ratespec struct, with two parameters: 1) "cell_align"
that allow adjusting the alignment of the rate table. 2) "overhead"
that allow adding a packet overhead before the lookup.

Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/pkt_sched.h
include/net/sch_generic.h