public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Provision for direct device to device DMA
@ 2014-04-27  7:47 "Ing. Daniel Rozsnyó"
  0 siblings, 0 replies; only message in thread
From: "Ing. Daniel Rozsnyó" @ 2014-04-27  7:47 UTC (permalink / raw)
  To: linux-kernel

We are working on a product with PCIe based backplane (with PLX switch 
chips) to connect various high-bandwidth devices (namely an image sensor 
and multiple SSDs). The Linux system runs on a small (ARM based) 
processor, which has limited memory bandwidth (32bit/800MHz) and more 
importantly limited PCIe bandwidth (x1 root port). From linux sources, 
we could understand, that all DMA is towards or from system memory, 
which is the bottleneck in our use case (we peak at 2000MB/s).

What is the advised way of doing disk i/o with data coming from/to 
another PCIe device? We would prefer to keep a filesystem on the target 
drives, but it is not a hard requirement. The storage solution is AHCI 
(multiple ASM1061) and the other end are our FPGA devices. For future, 
it would be nice to stream over PCIe fabric into a 10GE nic, like i82599 
(ixgbe), from both the storage and from FPGA.

Do we need to write a kernel module to handle such transfers on a very 
low level (like a combined ahci-fpga-nic driver)?

Or a special mmap() before write() would auto-magically do the right job?


Thank you,
Daniel Rozsnyo


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-04-27  7:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-27  7:47 Provision for direct device to device DMA "Ing. Daniel Rozsnyó"

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox