[ofa-general] RFC: SRC API

Michael S. Tsirkin mst at dev.mellanox.co.il
Mon Jul 30 02:16:39 PDT 2007


More code examples:

Create an SRC QP, part of SRC domain:

	attr.qp_type = IBV_QPT_SRC;
	attr.src_domain = d;
	qp = ibv_create_qp(pd, &attr);

Given remote SRQ number, send data to this SRQ over an SRC QP:

	wr.src_remote_srq_num = src_remote_srq_num;
	ib_post_send(qp, &wr);

Note: SRQ number needs to be exchanged as part of CM private data
      or some other protocol.

-- 
MST



More information about the general mailing list