On Thu, Oct 12, 2006 at 10:51:33AM +0530, Jinesh K J wrote: > On 10/11/06, Girish Venkatachalam <girishvenkatachalam@xxxxxxxxx> wrote: > >What is the userspace app? If I were you I would keep things in the kernel > >since FPGA are such slow things... > > > >I think u have to directly manipulate your packet data from the FPGA > >memory. > > > >What does the FPGA device do? And why are you so insistent on userspace? > These things have not yet been decided. First decide what exatly u r going to do... > > > > >The context switch overhead between userspace and kernel is just too high > >to justify your stance... > Is it so? Hmm.. May be there exist some way to reduce such an > overhead. Otherwise how could tcpdump work fine. right? You are talking about a desktop system and I am talking about a router/switch. The throughput requirements are completely different... It all depends on your bitrate. If you NIC is not loaded it wont matter much. regards, Girish -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/