Re: [PATCH 8/9] ib/addr: simplify resolving IPv4 addresses

David J. Wilder
2009-11-19T16:46:49Z

On Thu, 2009-11-19 at 16:52 +0200, Or Gerlitz wrote:
> > I reviewed patches 1-6 & 8 and they all look fine, I will give the whole series
> > a try later this week to further validate them
>

I tested ipv4 and ipv6 address resolution using ucmatose. All my tests
ran fine. I tested with patches 1 through 9 on ofed
1.5(OFED-1.5-20091118-0600) on 2.6.30. Ucmatose was taken from Sean's
librdmacm git (required for ipv6 support). Here are the tests I ran:

ucmatose
[-s server_address]
[-b bind_address]

ipv4 - Local address
----------------------
ucmatose -s 127.0.0.1
ucmatose -s 192.168.0.199
ucmatose -b 192.168.0.199 -s 192.168.0.199

ipv4 - Remote address
----------------------
ucmatose -s 192.168.0.198
ucmatose -b 192.168.0.199 -s 192.168.0.198

ipv6 - Local addresses
-----------------------
ucmatose -s fe80::202:c903:1:28ed%ib0
ucmatose -s 2001:db8:1234::1
ucmatose -b fe80::202:c903:1:28ed%ib0 -s fe80::202:c903:1:28ed%ib0
ucmatose -b 2001:db8:1234::1 -s 2001:db8:1234::1
ucmatose -b 2001:db8:1234::1 -s fe80::202:c903:1:28ed%ib0
ucmatose -b fe80::202:c903:1:28ee%ib1 -s 2001:db8:1234::1
ucmatose -b 2001:db8:1234::10 -s 2001:db8:1234::1

ipv6 - Remote addresses
------------------------
ucmatose -s 2001:db8:1234::2
ucmatose -b 2001:db8:1234::1 -s 2001:db8:1234::2
ucmatose -b fe80::202:c903:1:28ed%ib0 -s 2001:db8:1234::2
ucmatose -b fe80::202:c903:1:28ee%ib1 -s 2001:db8:1234::2
ucmatose -s fe80::202:c903:1:1925%ib0
ucmatose -b 2001:db8:1234::1 -s fe80::202:c903:1:1925%ib0
ucmatose -b fe80::202:c903:1:28ed%ib0 -s fe80::202:c903:1:1925%ib0