Re: [ewg] ipv6 support in rping

2009-09-17 Thread David J. Wilder

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 aleks...@voltaire.com
  Date:   Thu Aug 14 08:01:58 2008 -0700
  
  rping: add ipv6 support
  
  Signed-off-by: Aleksey Senin aleks...@voltaire.com
  Signed-off-by: Sean Hefty sean.he...@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@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


Re: [ewg] ipv6 support in rping

2009-09-17 Thread Pradeep Satyanarayana
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
prad...@us.ibm.com

ewg-boun...@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 aleks...@voltaire.com
   Date:   Thu Aug 14 08:01:58 2008 -0700
  
   rping: add ipv6 support
  
   Signed-off-by: Aleksey Senin aleks...@voltaire.com
   Signed-off-by: Sean Hefty sean.he...@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@lists.openfabrics.org
 http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

[ewg] ipv6 support in rping

2009-09-16 Thread David J. Wilder
Hi  
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?

Thanks

Dave Wilder

___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


Re: [ewg] ipv6 support in rping

2009-09-16 Thread Or Gerlitz
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 aleks...@voltaire.com
 Date:   Thu Aug 14 08:01:58 2008 -0700
 
 rping: add ipv6 support
 
 Signed-off-by: Aleksey Senin aleks...@voltaire.com
 Signed-off-by: Sean Hefty sean.he...@intel.com
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg