>>>>> "Tomasz" == Tomasz Motylewski <[EMAIL PROTECTED]> writes:

 Tomasz> On Mon, Mar 22, 1999 at 03:26:05PM +0000, Vicente Navarro
 Tomasz> wrote:

 >> I am new in the RT Linux world. I have a question about RT
 >> drivers. How can I modify the PCI ethernet driver that comes with
 >> linux to implement a RT Ethernet driver ?. I am developing a some
 >> kind of router with RT

 Tomasz> First of all implementing RT ethernet driver gives you
 Tomasz> nothing in this context, because you will just get reliably
 Tomasz> data and will be able to reply to them in real-time (fast)
 Tomasz> but to do routing you have to pass them to the network
 Tomasz> subsystem of normal kernel anyway. You would need to put the
 Tomasz> whole Linux routing code in RT - quite big task. But I do not
 Tomasz> think it is neccesary for your task.

I think Vincente's concept makes perfect sense.

A router has two types of things it needs to do:

1. Forward packets -- with low latency and low overhead, tiny amount
of code.
2. Run routing and management protocols -- no tight latency bounds,
large amount of code.

Putting (1) in a real-time task and (2) in plain Linux tasks is a
sensible way to arrange things.  The forwarding decision in a router
is quite simple.  Computing the forwarding table is another matter,
but that is part of (2).

The one absolutely critical thing is to ensure that (1) can never suck 
up all of the CPU resources.

        paul
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to