Re: New Qdisc - How to

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ricardo,

you need to change the tc source too

ps: saudações :)

[]'s

x-arnie

Ricardo Leite wrote:


Hello Lartc's users,


This is my first contact.


I'm trying to implement a new queue discipline based on bfifo schedule.
I search on internet but there are some problem(s) that I don't Know how to solve them and that's why I'm here asking for your help.


Well,
These were my steps for the implementation:

- Put the new qdisc routine "sch_ric.c" into the directory "/usr/src/linux/net/sched/" ,

- Insert a new line on the file "/net/sched/Makefile",

- Insert a new line on the file "/net/sched/Config.in",

- Insert a new line on the file "/include/linux/pkt_sched.h",

- Insert a new line on the file "/net/sched/sch_api.c"


Then I created a new kernel, which include the new qdisc:


- make menuconfig
- make dep
- make clean
- make bzImage
- make modules
- make modules_install
- Change the lilo.conf

Reboot

when I tried to program my qdisc with the tc command

tc qdisc add dev eth0 root bric limit 10

the kernel (or the tc command) couldn't find the the bric qdisc.



I think that I shoud change more files, but I don't know which they are.
Do you know what am I doing wrong?


Cheers! Para os Portistas...Saudações Dragonárias



Ricardo Leite

_________________________________________________________________
MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br


_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



_______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux