Sean Hefty wrote:
If you don't care what the service ID is, you can specify 0, and the kernel will
assign one.  The assigned value can be retrieved by calling ib_cm_attr_id().
(I'm assuming that you communicate the IDs out of band somehow.)
It is not zero, it should be:
#define IB_CM_ASSIGN_SERVICE_ID __cpu_to_be64(0x0200000000000000ULL)

Unfortunately the value defined in kernel level IBCM and does not exposed to user level.
Can you please expose it to user level (infiniband/cm.h)

Regards,
Pasha

Reply via email to