use rdma_post_sendv

2010-11-23 Thread Andrea Gozzelino
Hi, I have some problem in using function rdma_post_sendv. I find errno=22, so the client does not run. I use the code attached. Could you please explain how it is build a scatter gather list and how an element could be added? Thanks a lot, Andrea Andrea Gozzelino INFN - Laboratori

Problem Pinning Physical Memory

2010-11-23 Thread Brian
ibv_reg_mr works fine as long as the shared region is in RAM. However, if I change the memory region to the physical memory on a PCI device the call to ibv_reg_mr fails. What should I be doing to register a physical memory region? In searching through this forum I've seen some patches relating to

RE: use rdma_post_sendv

2010-11-23 Thread Hefty, Sean
I have some problem in using function rdma_post_sendv. I find errno=22, so the client does not run. I use the code attached. Could you please explain how it is build a scatter gather list and how an element could be added? You need to declare an array of ibv_sge entries and pass in the