Re: [RFC v2 1/2] PCI-Express Non-Transparent Bridge Support

2012-07-31 Thread Jianbin Kang
> Actually this is what I'm working on now, using async_tx to replace the > memcpy. I believe the changes shouldn't be that significant. > > Is the "hardware that can setup dma" you refer to something that does > not use this interface? > Yes, they use this interface, but split 'memcpy_toio' to t

Re: [RFC v2 1/2] PCI-Express Non-Transparent Bridge Support

2012-07-30 Thread Jianbin Kang
> I've tried to make it all generic enough that non-Intel NTBs should plug in > with > minimal changes to ntb_hw.c. If their design is too divergent, then a slight > redesign of ntb_hw.c might be necessary. But from what I've seen of other > designs on the internet, they appear to be extremely s