[rds-devel] Trying out RDS
Vladimir Sokolovsky
vlad at dev.mellanox.co.il
Mon Nov 6 08:29:10 PST 2006
Hello Carl,
Try to use AF_INET_OFFLOAD instead of AF_INET as a parameter to socket call.
#define AF_INET_OFFLOAD 30
#define NF_INET_OFFLOAD 30
Note:
The Oracle RDS from http://oss.oracle.com/projects/rds/src/trunk has the
different API.
See an example http://oss.oracle.com/projects/rds-tools/src/trunk
and the README file:
http://oss.oracle.com/projects/rds/dist/documentation/rds.7.txt
Regards,
Vladimir
Carl Yang (caryang) wrote:
> All,
>
> I am using 2.6.9-42.ELsmp kernel, which comes with IB support (include
> RDS). I enabled loading RDS module in /etc/sysconfig/openib.conf and
> rebooted the system. I then checked that ib_rds has been successfully
> loaded with lsmod. I then wrote a simple UDP program and substitute
> AF_INET with 21 in the socket() call. When I ran the program, I got
> the following message: "Opening socket: Address family not supported
> by protocol."
>
> What did I miss?
>
> Regards,
> Carl
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rds-devel mailing list
> rds-devel at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/rds-devel
>
More information about the rds-devel
mailing list