[openib-general] CMA and SDP hh
Michael S. Tsirkin
mst at mellanox.co.il
Wed Apr 5 16:13:42 PDT 2006
Sean, the following code in CMA
*ip_ver = sdp_get_ip_ver(hdr);
*port = ((struct sdp_hh *) hdr)->port;
*src = &((struct sdp_hh *) hdr)->src_addr;
*dst = &((struct sdp_hh *) hdr)->dst_addr;
seems to assume that SDP places the HH message at the beginning
of the private data in CM messages.
However, I think in SDP HH is preceded by the BSDH, so this looks wrong.
--
MST
More information about the general
mailing list