> 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 number of entries as nsge. struct ibv_sge sgl[3]; rdma_post_sendv(id, context, sgl, 3, 0); - Sean N�����r��y����b�X��ǧv�^�){.n�+����{��ٚ�{ay�ʇڙ�,j��f���h���z��w��� ���j:+v���w�j�m��������zZ+�����ݢj"��!�i