[Top][All Lists]

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

RE: [lwip-users] Lwip UDP performance

From: Goldschmidt Simon
Subject: RE: [lwip-users] Lwip UDP performance
Date: Tue, 28 Mar 2006 08:52:26 +0200


Couldn't you write a driver for the lan91c111 that uses the Altera DMA
to Transfer the Packets between RAM and the MAC? That should speed up


-----Original Message-----
From: address@hidden
On Behalf Of Timmy Brolin
Sent: Saturday, March 25, 2006 12:17 AM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Lwip UDP performance

>* Is lwip polled or interrupt driven. I've had a look at the code and 
>looks like it's a bit of both... (I call lan91c111if_service(&netif); 
>from main, the function is part of the driver provided for nios2.)
If you have a Ethernet MAC with DMA support (common for CPUs with
integrated 100Mbit/s MAC) then you can set it up so that the MAC will
automatically transfer the packets to pbuf chains using DMA. Then when
there are one or more pbuf chains filled with packets, you get an
interrupt. In this case it is of course interrupt driven, and quite

>* Is there an option to disable the udp checksum check? Or is it a case

>of modifying the code?
Don't know.
In etiher case, have you assembly optimized the checksum routine?
Checksum optimization has a huge impact on both UDP and TCP performance.


lwip-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]