* [PATCH 3/6] [IPROUTE2]: Update pkt_sched.h (to resemble the kernel one)
@ 2007-09-12 10:14 Jesper Dangaard Brouer
2007-09-12 11:02 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Jesper Dangaard Brouer @ 2007-09-12 10:14 UTC (permalink / raw)
To: netdev@vger.kernel.org
Cc: Patrick McHardy, David S. Miller, Stephen Hemminger
commit ef065a43b8900fbc0763eac0fa0a9a8a00c8aaa2
Author: Jesper Dangaard Brouer <hawk@comx.dk>
Date: Tue Sep 11 16:17:46 2007 +0200
[IPROUTE2]: Update pkt_sched.h (to resemble the kernel one)
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 in the kernel.
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.
Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>
diff --git a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h
index 268c515..919af93 100644
--- a/include/linux/pkt_sched.h
+++ b/include/linux/pkt_sched.h
@@ -77,8 +77,8 @@ struct tc_ratespec
{
unsigned char cell_log;
unsigned char __reserved;
- unsigned short feature;
- short addend;
+ unsigned short overhead;
+ short cell_align;
unsigned short mpu;
__u32 rate;
};
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH 3/6] [IPROUTE2]: Update pkt_sched.h (to resemble the kernel one)
2007-09-12 10:14 [PATCH 3/6] [IPROUTE2]: Update pkt_sched.h (to resemble the kernel one) Jesper Dangaard Brouer
@ 2007-09-12 11:02 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2007-09-12 11:02 UTC (permalink / raw)
To: jdb; +Cc: netdev@vger.kernel.org, Patrick McHardy, David S. Miller
On Wed, 12 Sep 2007 12:14:14 +0200
Jesper Dangaard Brouer <jdb@comx.dk> wrote:
> commit ef065a43b8900fbc0763eac0fa0a9a8a00c8aaa2
> Author: Jesper Dangaard Brouer <hawk@comx.dk>
> Date: Tue Sep 11 16:17:46 2007 +0200
>
> [IPROUTE2]: Update pkt_sched.h (to resemble the kernel one)
>
> 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 in the kernel.
>
> 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.
>
> Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>
>
Okay, but don't need a special patch to do it. I perodically sync
up the headers before each release.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-12 11:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-12 10:14 [PATCH 3/6] [IPROUTE2]: Update pkt_sched.h (to resemble the kernel one) Jesper Dangaard Brouer
2007-09-12 11:02 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).