[ewg] ipv6 support in rping

Pradeep Satyanarayana pradeep at us.ibm.com
Thu Sep 17 15:50:40 PDT 2009


Tziporet, Vlad,

Who will be able to help us with this? Need to include the correct level of
librdmacm.
Is it reasonable to expect that this will get done before the next beta
release?

Thanks!

Pradeep
pradeep at us.ibm.com

ewg-bounces at lists.openfabrics.org wrote on 09/17/2009 08:54:42 AM:

>
> On Thu, 2009-09-17 at 08:10 +0300, Or Gerlitz wrote:
> > David J. Wilder wrote:
> > > I am not finding support for ipv6 in rping in the 1.5 beta.
> > > What is the story for ipv6 support?  Is it supported by librdma and
> > > missing in rping? Is ipv6 in rping planed?
> >
> > rping supports IPv6 since last year, see the below commit
> >
> > Or.
> >
> > > commit 267c28a2f03b8fb63fa9907badd4130c710a1305
> > > Author: Aleksey Senin <alekseys at voltaire.com>
> > > Date:   Thu Aug 14 08:01:58 2008 -0700
> > >
> > >     rping: add ipv6 support
> > >
> > >     Signed-off-by: Aleksey Senin <alekseys at voltaire.com>
> > >     Signed-off-by: Sean Hefty <sean.hefty at intel.com>
>
> Humm,  that explains it..
> lidrdma in 1.5 contains librdmacm-1.0.8.tar.gz  dated 31-Jul-2008 two
> weeks before the change was checked in.  librdma in 1.5 needs to be
> updated.
>
> from rping.c in the 1.5 source.
>
> static int get_addr(char *dst, struct sockaddr_in *addr)
> {
>         struct addrinfo *res;
>         int ret;
>
>         ret = getaddrinfo(dst, NULL, NULL, &res);
>         if (ret) {
>                 printf("getaddrinfo failed - invalid hostname or IP
> address\n");
>                 return ret;
>         }
>
>         if (res->ai_family != PF_INET) {  <<<<<
>                 ret = -1;
>                 goto out;
>         }
>
>         *addr = *(struct sockaddr_in *) res->ai_addr;
> out:
>         freeaddrinfo(res);
>         return ret;
> }
>
>
>
> _______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20090917/33a159b1/attachment.html>


More information about the ewg mailing list