lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] again... Zero Copy Ethernet interface


From: Alain M.
Subject: Re: [lwip-devel] again... Zero Copy Ethernet interface
Date: Tue, 23 Dec 2008 21:07:26 -0200
User-agent: Thunderbird 2.0.0.17 (X11/20080914)

I believe that what he wants is to use a processor (like some ARMs) that have DMA only in a certain address range reserved for ethernet, but it is not too small. The problem might be that a normal malloc is not in that address range, so a special pbuff alloc is all that is needed...

Alain

bill escreveu:
You’d have to have more than one, sure. You might be able to ping-pong between 2 – but without copying you stand to lose packets if you don’t finish with the first and the second one has come in and then a third is pending.

Bill

i suppose i could have a driver with more than one pbuf allocated... it could be more efficient... but, my problem, is the pbuf allocation memory:

DMA MUST works in FIXED region in memory, and instead i have no control where pbuf payload are allocated... do you have a solution?






reply via email to

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