> -----Original Message----- > From: William Tu [mailto:[email protected]] > Sent: Wednesday, November 28, 2012 6:02 AM > To: [email protected] > Subject: [E1000-devel] Ethernet driver on top of shared memory > > Hi Folks, > > I have two machines A and B. And I have a shared memory system so A > can read/write B's RAM and vice versa. On top of this shared memory > system I plan to develop a Ethernet-like driver running on A and B so > that each can talk to the other using IP/socket API. There will be no > real Ethernet card in my system. > > At first, this looks like RDMA over Ethernet. However, it's the > inverse. The shared memory system acts like RDMA underneath, and the > Ethernet-like driver running on top of it. So the TX/RX ring actually > becomes just a pie of memory in RAM. Sorry this may not be a directly > related question to Intel's Ethernet driver. I hope someone can give > me some pointers or related open source projects about this kind of > driver.
If you want to do a little bit of hacking you can probably modify the NTB driver I have submitted to Linux for your usage. NTB is a PCI-E Non-transparent bridge, which communicates with a remote system via mirroring writes to MMIO "windows" into a predefined memory space on the remote system. This could be modified to suit your needs by faking out the NTB hardware. You could then use the existing NTB Transport layer and NTB virtual ethernet device on top of your NTB-shared mem code. Thanks, Jon > > Regards, > William Tu > Stony Brook University > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > INSIGHTS What's next for parallel hardware, programming and related areas? > Interviews and blogs by thought leaders keep you ahead of the curve. > http://goparallel.sourceforge.net > _______________________________________________ > E1000-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/e1000-devel > To learn more about Intel® Ethernet, visit > http://communities.intel.com/community/wired ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net _______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
