Forum Discussion
Altera_Forum
Honored Contributor
19 years agoHi hippo,
<div class='quotetop'>QUOTE </div> --- Quote Start --- I had that message too. But it was just a warning, you may turn it off. There are actually two SMC91111 drivers. The one in main-stream Linux is smc91x.c from Monta Vista. And the other is scm91111.c from Microtonix's release 1.4. Both came the same vendor source, SMC. Both works.[/b] --- Quote End --- thank you for answer. i appreciate your help. <div class='quotetop'>QUOTE </div> --- Quote Start --- I feel dm9ks.c is more stable than others, and a little faster with checksum offloading support. I think it can be even faster if we can add scattered DMA.[/b] --- Quote End --- Checksum offloading and DMA will help (for UDP you can simply disable the udp checksum). Zero-Copy-Sockets would be nice. However moving big data portions is a pain on nios; it takes 10 clock cycles/ 4bytes if its not cached. IMO because of this issue, we have big performance penalties. So in general DMA is the way to go. And if the chip does the checksum, moving the data with DMA is gonna be a lot of easier. helmchen <EDIT> <div class='quotetop'>QUOTE </div> --- Quote Start --- I think it can be even faster if we can add scattered DMA.[/b] --- Quote End --- Just looked in the Altera Scatter DMA paper, http://www.altera.com/literature/an/an417.pdf (http://www.altera.com/literature/an/an417.pdf). This is what we need.