[openib-general] non-transparent integration with SDP in ofed

Eitan Zahavi eitan at mellanox.co.il
Wed Dec 13 07:52:50 PST 2006


Hi

A change in SDP was done between IBGD and OFED:
You only need to replace the address family to AF_INET_SDP when opening
the socket.
You should not use AF_INET_SDP when providing a struct sockaddr_in.
These should stay AF_INET.

Hope this helps.

EZ

yangdong wrote:
> Hello all:
>
> Some problems disturbed me. For non-transparent integration with SDP, no
> special environment variable is necessary. It is only required to
> recompile the application replacing AF_INET with AF_INET_SDP. The
> constant AF_INET_SDP is defined in sdp_inet.h.
>
> When i want to make use of non-transparent integration with SDP in
> kernel, i can replace PF_INET with PF_INET_SDP and AF_INET with
> AF_INET_SDP, then recompile the kernel module.
>
> e.g. sock_create_kern (PF_INET_SDP, SOCK_STREAM, IPPROTO_TCP, &new_sock);
> sin.sin_family = AF_INET;
>
> That did well when i use IBGD, but it can't work with OFED. I want to
> know what should I do.
>
>
>
> Some info :
> ./ibstat
> CA 'mthca0'
> CA type: MT23108
> Number of ports: 2
> Firmware version: 3.3.2
> Hardware version: a1
> Node GUID: 0x0002c90200004c68
> System image GUID: 0x0002c90200004c6b
> Port 1:
> State: Active
> Physical state: LinkUp
> Rate: 10
> Base lid: 7
> LMC: 0
> SM lid: 33
> Capability mask: 0x00510a68
> Port GUID: 0x0002c90200004c69
> Port 2:
> State: Down
> Physical state: Polling
> Rate: 2
> Base lid: 0
> LMC: 0
> SM lid: 0
> Capability mask: 0x00510a68
> Port GUID: 0x0002c90200004c6a
>
>
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general





More information about the general mailing list