This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE eCos : XXXX_RECV with zero copy
- From: mkhoyila at uci dot edu
- To: ecos-discuss at sourceware dot org
- Date: Fri, 2 Sep 2005 13:35:05 -0700 (PDT)
- Subject: [ECOS] RE eCos : XXXX_RECV with zero copy
- References: <56180.63.87.1.243.1125284222.squirrel@webmail.uci.edu> <1125520597.5367.5.camel@hermes>
Thanks Gary for your help on 2 EMAC. I have it working with 2EMACs.
I do have another question regarding XXXX_RECV function to implement
zero-copy. On the XXXX_SEND, I can avoid copying from scatter-gather list
to my DMA buffers since my hardware allows SOP (Start Of Packet) and EOP.
I also want to avoid copying in XXXX_RECV from DMA buffers to
Scatter-Gather list. Is there a way to acheive this? Meaning that I could
pass address/Length of my Receive DMA address to eCos where received data
is?
Thanks again.
MHK
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss