[ofa-general] A question about rdma_get_cm_event
Dotan Barak
dotanb at dev.mellanox.co.il
Thu Sep 20 04:37:17 PDT 2007
Hi Sean.
(First of all, thanks for applying all of the valgrind patches...)
When one calls to rdma_get_cm_event, he gets a structure of the
rdma_cm_event.
In this structure there are 2 attributes which i want to discuss about:
* private_data
* private_data_len
It seems that when one side send to the other private data, the private
data is correct
(i mean that the attribute private data points to a memory buffer with
the expected data)
but the private_data_len has a fixed size (depend on the ucma function
which was called).
1) Is this is the expected behavior?
2) can you please add entry to the man pages of this function to clarify
this expected
content of those attributes?
thanks
Dotan
More information about the general
mailing list