All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert LeBlanc <robert-4JaGZRWAfWbajFs6igw21g@public.gmane.org>
To: Or Gerlitz <gerlitz.or-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-rdma <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: iSER with policy based routing error
Date: Thu, 18 May 2017 12:52:28 -0600	[thread overview]
Message-ID: <CAANLjFpKGoruxvwhtHwF-fBH+dLT9RKqkd3POYwLVK856WEfFA@mail.gmail.com> (raw)
In-Reply-To: <CAANLjFqNkNVDiGr-yW9y6XCiWE_O7+OewmxWM+xmWHQ39n4wkw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Thu, May 18, 2017 at 12:51 PM, Robert LeBlanc <robert-4JaGZRWAfWbajFs6igw21g@public.gmane.org> wrote:
> On Sat, May 13, 2017 at 11:55 AM, Or Gerlitz <gerlitz.or-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> On Sat, May 13, 2017 at 12:02 AM, Robert LeBlanc <robert-4JaGZRWAfWbajFs6igw21g@public.gmane.org> wrote:
>> [...]
>>> If we put a default gateway for IPv6 in the 'default' table, then iSER
>>> is able to make a connection, but we can only use one port. It looks
>>> as if iSER is not following the rules in the default routing table to
>>> find the appropriate default gateway in a different table.
>>
>> can you just try to make rdma connection with the rping utility? do
>> you see the same problem/s?
>
> Using mlx4 cards with IB/RoCE, I am seeing the same connection problem
> with rping. There seems to be a bug that prevents rping from working
> with RoCE on mlx5.
>
> I also found a thread between you and Mike Christie
> https://groups.google.com/forum/#!topic/open-iscsi/IywifztV7Xs. It
> doesn't say that things were all worked out about binding to dev/ip
> address. Should iSER be able to bind to ip address (my preference), or
> by device name (workable) to provide multipathing? Should this binding
> be able to work with additional tables for finding the proper gateway?
> We are intending to route all RoCE traffic over L3 boundaries as it
> greatly simplifies the network configuration.
>
> Here is the test that I ran to show the problem (it is also in the
> "rdma_cm unable to find route on sub-table" thread):

Test #1
-------
Using ConnectX-3 and Infiniband with two hosts back to back.

Server
------

# systemctl start opensm

# ip -6 addr add dev ib0 fd00::13/64

# ip link set ib0 up

# rping -s -a ::0
server DISCONNECT EVENT...
wait for RDMA_READ_ADV state 10


Client
------

# ip -6 addr add dev ib0 fd00::14/64

# ip link set ib0 up

# ping6 fd00::13
PING fd00::13(fd00::13) 56 data bytes
64 bytes from fd00::13: icmp_seq=1 ttl=64 time=0.927 ms
64 bytes from fd00::13: icmp_seq=2 ttl=64 time=0.134 ms
^C
--- fd00::13 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 0.134/0.530/0.927/0.397 ms

# rping -c -a fd00::13
^C

Results #1
----------
Tests complete successfully


Test #2
-------
Built upon the configuration of Test #1

Server
------
# rping -s -a ::0

Client
------
# echo "100 r0" >> /etc/iproute2/rt_tables

# ip -6 route del fd00::/64 dev ib0

# ip -6 rule add from fd00::14 table r0

# ip -6 route add fd00::/64 dev ib0 table r0

# ping6 fd00::13
PING fd00::13(fd00::13) 56 data bytes
64 bytes from fd00::13: icmp_seq=1 ttl=64 time=0.158 ms
64 bytes from fd00::13: icmp_seq=2 ttl=64 time=0.136 ms
^C
--- fd00::13 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1020ms
rtt min/avg/max/mdev = 0.136/0.147/0.158/0.011 ms

# rping -c -a fd00::13
rdma_resolve_addr: Network is unreachable

Results #2
----------
rping is unable to find a route to use

----------------
Robert LeBlanc
PGP Fingerprint 79A2 9CA4 6CC4 45DD A904  C70E E654 3BB2 FA62 B9F1
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2017-05-18 18:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-12 21:02 iSER with policy based routing error Robert LeBlanc
     [not found] ` <CAANLjFoB3V6_exH8TnQQobaHkz2K1Lxj0sVOVa2Q+MKAsCqCKQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-13 17:55   ` Or Gerlitz
     [not found]     ` <CAJ3xEMiYwGDott_gLrh7e4tG9Ti71vftMPuvyT3+czu7jWwqFA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-18 18:51       ` Robert LeBlanc
     [not found]         ` <CAANLjFqNkNVDiGr-yW9y6XCiWE_O7+OewmxWM+xmWHQ39n4wkw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-18 18:52           ` Robert LeBlanc [this message]
     [not found]             ` <CAANLjFpKGoruxvwhtHwF-fBH+dLT9RKqkd3POYwLVK856WEfFA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-23 23:17               ` Robert LeBlanc
     [not found]                 ` <CAANLjFqhPUd=kyuv0CBR69KuAwGZzne8ZY3-1J6YiNHuWqZBZA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-24 18:14                   ` Robert LeBlanc
     [not found]                     ` <CAANLjFpHbMXjMnxO0B7sn9rRz2Sn3CEx-bEWKW5BrYj3itQ0HQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-24 19:25                       ` Jason Gunthorpe
     [not found]                         ` <20170524192550.GB25200-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-05-24 19:41                           ` Robert LeBlanc
     [not found]                             ` <CAANLjFpZU6GodD-HAaTtive+dQZs4Gfgpw=u-1=UgC4zDTryKQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-24 21:13                               ` Jason Gunthorpe
2017-05-25 16:03                               ` Or Gerlitz
2017-05-15 10:39   ` Sagi Grimberg
     [not found]     ` <71232433-a3d1-1bc0-a995-ae32fc05913f-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2017-05-16  3:33       ` Robert LeBlanc
     [not found]     ` <CAANLjFogRE3ShHoUtGG1DPt5VzxBe8SBOAL86xc+AebQLBomJg@mail.gmail.com>
     [not found]       ` <CAANLjFogRE3ShHoUtGG1DPt5VzxBe8SBOAL86xc+AebQLBomJg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-16  7:19         ` Sagi Grimberg
     [not found]           ` <5441f53c-f81f-b5d6-3c05-0bbe141f152e-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2017-05-16 17:39             ` Robert LeBlanc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAANLjFpKGoruxvwhtHwF-fBH+dLT9RKqkd3POYwLVK856WEfFA@mail.gmail.com \
    --to=robert-4jagzrwafwbajfs6igw21g@public.gmane.org \
    --cc=gerlitz.or-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.