RE: DMA to User-Space

2009-11-04 Thread john . p . price
Jonathan, what kind of memory is fpga_drv.strmdata? memory from the kernel stack, something you allocated? You'll notice you were trying to access location 0. To use dma streaming memory you must call dma_map_single() to get the physical address of fpga_drv.strmdata. That memory must be contigu

RE: Network Stack SKB Reallocation

2009-10-27 Thread john . p . price
Hmmm, so if the issue I see is related to what you see then setting mtu to 4KB may clear it otherwise I have a either a potential race condition freeing skb's or ultimately the protocol stack is not freeing the correct buffer... Thanks Jonathan. -Original Message- From: Jonathan Haws [mai

RE: Network Stack SKB Reallocation

2009-10-27 Thread john . p . price
Hi Jonathan, I've read your post with great interest. I have a custom board with custom fpga's connected to the PPC405EX EBC bus on banks 2 and 3. Running linux 2.6.29.1. The board collects data and dma's it to a scatter-gather dma buffer and then uses TCP/writev + Ethernet 9KB Jumbo packets to

remapping 4MB of kernel space with remap_pfn_range() and nopage()

2009-08-31 Thread john . p . price
I'm using linux kernel 2.6.29.1 I've been using the mmap system call to map 4MB of contiguous kernel memory (RAM), obtained by get_free_pages with order == 10, to user space. One implementation I have uses remap_pfn_range(), its seems to work ok, I do have other issues I just want to make sure its

RE: ppc405ex + gigabit ethernet

2009-07-01 Thread john . p . price
I have developed a board with the AMCC PPC405eX running at 600MHz and experimented with two transmission methods; 1.Raw socket w/jumbo frames �C approx. 600Mbits/sec 2.TCP using writev w/jumbo frames �C approx. 525Mbits/sec From: linuxppc-dev-bounces+john.p.price=l-3com@lists.