All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Patch accurate packet scheduling for ATM/ADSL
@ 2007-07-25 13:14 Edouard Thuleau
  2007-07-26  9:38 ` Russell Stuart
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Edouard Thuleau @ 2007-07-25 13:14 UTC (permalink / raw)
  To: lartc

Hi,

I use the patch
(http://ace-host.stuart.id.au/russell/files/tc/tc-atm/) for accurate
the packet scheduling on ATM/ADSL link and i think I've found a bug.
I tried to write to the author but he didn't answer me.

I work on a Linux 2.6.17 with the iproute2-2.6.18-061002 package.
I change the type of the cell_align char to short of the struct
tc_ratespec in the file pkt_sched.h (in the include/linux/ directories
of iproute package and the kernel source) :

struct tc_ratespec
{
	unsigned char	cell_log;
	unsigned char	__reserved;
	unsigned short	feature;	/* Always 0 in pre-atm patch kernels */
-	char		cell_align;	/* Always 0 in pre-atm patch kernels */
-	unsigned char	__unused;
+     short		cell_align;	/* Always 0 in pre-atm patch kernels */
	unsigned short	mpu;
	__u32		rate;
};

The results are much better and with my tests, it works very nicely.

If it can help someone,
Edouard.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-26 18:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-25 13:14 [LARTC] Patch accurate packet scheduling for ATM/ADSL Edouard Thuleau
2007-07-26  9:38 ` Russell Stuart
2007-07-26 10:22 ` Edouard Thuleau
2007-07-26 18:11 ` Philippe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.