[LARTC] multiple IFBs

2006-09-01 Thread Leigh Sharpe



Hi 
all,
Further to my 
previous questions, I need lots of IFBs on this thing.
I have 
configured IFB as a module, and issuing a modprobe ifb loads it, but only gives 
me 2 IFBs (ifb0 and ifb1). How can I get more? I'm probably looking at needing 
about 20 on this project.



Regards, 
Leigh

Leigh SharpeNetwork Systems EngineerPacific 
WirelessPh +61 3 9584 8966Mob 0408 009 502email [EMAIL PROTECTED]web 
www.pacificwireless.com.au
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[LARTC] HFSC help

2006-09-01 Thread doudouyam
hi,I would like to use the HFSC scheduler for my QoS.I've 4 class and 2 of them need to control the bandwidth and the latencies so I think I must use HFSC.So I read some doc ( 
http://del.icio.us/tag/hfsc ) but its not very clear.I make some tests with differents parameters but I'm not able to use correctly this scheduler:$TC qdisc add dev $dev root handle 1: hfsc default 40  
$TC class add dev $dev parent 1: classid 1:1 hfsc sc rate 10mbit ul rate 10mbit### VOIP$TC class add dev $dev parent 1:1 classid 1:10 hfsc rt umax 1500b dmax 5ms rate 200kbit ls umax 1500b dmax 60ms rate 200kbit ul rate 200kbits
### Video$TC class add dev $dev parent 1:1 classid 1:20 hfsc rt umax 1500b dmax 10ms rate 5mbit ls umax 1500b dmax 60ms rate 5Mbit ul rate 5Mbit## Data$TC class add dev $dev parent 1:1 classid 1:30 hfsc sc rate 1mbit ul rate 10mbit
$TC class add dev $dev parent 1:1 classid 1:40 hfsc sc rate 1mbit ul rate 10mbit$TC qdisc add dev $dev parent 1:10 handle 10 sfq perturb 10$TC qdisc add dev $dev parent 1:20 handle 20 sfq perturb 10$TC qdisc add dev $dev parent 1:30 handle 30 sfq perturb 10
$TC qdisc add dev $dev parent 1:40 handle 40 sfq perturb 10Can you help me ? i want a prioritize like this :1 VOIP2 VIDEO3 Data1 (1:30)4 Data2 (1:40)Thanks.
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[LARTC] I not find in the kernel code the code of this command

2006-09-01 Thread Franco



Hi!,

My problem is this:
I'm searching, in kernel 
code, the code that implement thi command:

tc filter add dev eth2 parent : protocol ip prio 1 u32 match ip src 
0.0.0.0/0 police rate $1 burst $2 drop flowid :1

I thought that this code was police.c but 
seem that it isn't
i must implement a proc file in the code 
andrecompiling the kernel.

Please send eventual response to my mail address 
([EMAIL PROTECTED])

Thanks

Franco
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] I not find in the kernel code the code of this command

2006-09-01 Thread Andreas Mueller
Franco wrote:
 Hi!,
 My problem is this:
 I'm searching, in kernel code, the code that implement thi command:
 
 tc filter add dev eth2 parent : protocol ip prio 1 u32 match ip src 
 0.0.0.0/0 police rate $1 burst $2 drop flowid :1
 
 I thought that this code was police.c but seem that it isn't
 i must implement a proc file in the code and recompiling the kernel.
 
 Please send eventual response to my mail address ([EMAIL PROTECTED])
 
 Thanks
 
 Franco

 ___
 LARTC mailing list
 LARTC@mailman.ds9a.nl
 http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

In 2.6.17.11 it should be in net/sched/act_police.c .

Andreas
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] multiple IFBs

2006-09-01 Thread Stephen Hemminger
On Fri, 1 Sep 2006 16:23:37 +1000
Leigh Sharpe [EMAIL PROTECTED] wrote:

 Hi all,
 Further to my previous questions, I need lots of IFBs on this thing.
  I have configured IFB as a module, and issuing a modprobe ifb loads it,
 but only gives me 2 IFBs (ifb0 and ifb1). How can I get more? I'm
 probably looking at needing about 20 on this project.
  

Read the source Leigh

modprobe ifb numifbs=20


-- 
Stephen Hemminger [EMAIL PROTECTED]
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] HFSC help

2006-09-01 Thread gypsy
doudouyam wrote:
 So I read some doc ( http://del.icio.us/tag/hfsc ) but its not very
 clear.

http://linux-ip.net/tc/hfsc.en/
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc