|
From: | Grubb, Jared |
Subject: | RE: [lwip-devel] again... Zero Copy Ethernet interface |
Date: | Mon, 5 Jan 2009 11:57:09 -0800 |
Are you only concerned about making sure the RX packets are
located in a specific region, or do you need the TX packets to also be in that
region? From:
address@hidden
[mailto:address@hidden On Behalf Of Piero
74 Hi all I want to open again a thread for zero copy driver
implementation I think that it could be useful a more powerful
implementation of pbufs, that could give to developer the possibility to build
driver which can avoid a copy from friver to stack. I have a microcontroller with an emac HW which uses DMA for
ethernet packet managment. It works with a circular array of buffers with descriptors. My ethernetif loop, checks if packet is present, copies it
in a raw pbuf, and move DMA pointer. I'd like to remove copy operation; i have to understand
better how pbufs works, but i suppose that something have to change: first, it could be necessary the possibility to allocate
pbuf memory in particula memory region: my micro, for example, has emac dma
which works on a fixed RAM region. second, it could be necessary that stack informs lowlevel
driver when a pbuf is free Any idea? any implementation of this planned in the future? and... out of thread... what about of SOCKET2 (sockets build without netconn)? some
news? is it planned in the future? bye Piero " merry Christmas and happy new year!! :OD " |
[Prev in Thread] | Current Thread | [Next in Thread] |