[openib-general] How about ib_send_page() ?

Libor Michalek libor at topspin.com
Mon May 16 15:33:16 PDT 2005


On Mon, May 16, 2005 at 03:26:57PM -0700, Jeff Carr wrote:
> It seems to me it would be useful to have a simple ib_send_page() function.
> 
> This is essentially what I'm going to end up writing for what I need IB 
> to do. If there is anyone else that has similar needs or interests I'd 
> be happy to work with them.
> 
> The CM works well enough to allow me to initiate connections between 
> HCA's. I'm now going to spend some time trying to write something to 
> kmalloc pages and test the different ways to initiate IB communication 
> between the hosts. Hopefully I can get something smart enough to perform 
> better than IPoIB does.

FYI, this is what SDP in regular sockets mode is doing. The internal
buffers are allocated using __get_free_page and then userspace data
is copied to/from the buffer which are transmitted/received by posting
send/receive on the allocated pages.

-Libor



More information about the general mailing list