Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - The network stack takes time.... question about where to look if i want to write direct to a driver.: (2 Items)
   
The network stack takes time.... question about where to look if i want to write direct to a driver.  
Hi

I have a setup where i trying to send a packet over one ethernet port from an external interrupt.
But io-pkt takes lot of time when my interrupt is faster and faster.

So I thinking about bypassing the stack because it only take too much time. And it hopefully be faster if make the DMA 
direct from my program.

I know that i need to setup the driver and other things before i can send, but this is all in the driver devnp-mpc85xx.
so.

If i want to program this where can i look in io-pkt so understand how to do this and send packages to a driver directly
.
In my task a stack is not necessary, because i will send one package receive is calculate and send a new package. 
Package on the Ethernet port is always from myself.


/Lasse
RE: The network stack takes time.... question about where to look if i want to write direct to a driver.  
Sure - take the source from devnp-mpc85xx.so and use
it's _attach and _init code to set up the hardware,
use the _start code to transmit, and the process_interrupt
code to rx.

--
aboyd