All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Haris Iqbal <haris.iqbal@ionos.com>
Cc: RDMA mailing list <linux-rdma@vger.kernel.org>,
	Jason Gunthorpe <jgg@ziepe.ca>, Jinpu Wang <jinpu.wang@ionos.com>,
	Danil Kipnis <danil.kipnis@ionos.com>,
	Aleksei Marov <aleksei.marov@ionos.com>
Subject: Re: Task hung while using RTRS with rxe and using "ip" utility to down the interface
Date: Tue, 23 Nov 2021 11:06:50 +0200	[thread overview]
Message-ID: <YZyvKjxgO5Eb3umE@unreal> (raw)
In-Reply-To: <CAJpMwyhcoWf-19KdBeYb_V7asXBKB4dx9pQo7C5rFcCjDAdS5Q@mail.gmail.com>

On Wed, Nov 17, 2021 at 12:21:14PM +0100, Haris Iqbal wrote:
> On Sun, Nov 14, 2021 at 7:12 AM Leon Romanovsky <leon@kernel.org> wrote:
> >
> > On Thu, Nov 11, 2021 at 05:25:11PM +0100, Haris Iqbal wrote:
> > > Hi,
> > >
> > > We are experiencing a hang while using RTRS with softROCE and
> > > transitioning the network interface down using ifdown command.
> > >
> > > Steps.
> > > 1) Map an RNBD/RTRS device through softROCE port.
> > > 2) Once mapped, transition the eth interface to down (on which the
> > > softROCE interface was created) using command "ifconfig <ethx> down",
> > > or "ip link set <ethx> down".
> > > 3) The device errors out, and one can see RTRS connection errors in
> > > dmesg. So far so good.
> > > 4) After a while, we see task hung traces in dmesg.

<...>

> We think one of the below questions is the problem,
> 
> 1. why cm_process_send_error was triggered only for 1 of 3 sent dreq?
> Why the cm_send_handler is not called for others?
> 2. When RTRS receives an error and starts closing the network, during
> which rdma_disconnect is called, shouldnt cm_alloc_msg fail in such a
> case?

I don't know answer for first question, but for the second one, the
answer is no. The properly performed disconnect request involves DREQ
and DREP messages which are needed to be sent with cm_alloc_msg().

IBTA 12.10.8 COMMUNICATION RELEASE

Thanks

      reply	other threads:[~2021-11-23  9:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-11 16:25 Task hung while using RTRS with rxe and using "ip" utility to down the interface Haris Iqbal
2021-11-14  6:12 ` Leon Romanovsky
2021-11-17 11:21   ` Haris Iqbal
2021-11-23  9:06     ` Leon Romanovsky [this message]

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=YZyvKjxgO5Eb3umE@unreal \
    --to=leon@kernel.org \
    --cc=aleksei.marov@ionos.com \
    --cc=danil.kipnis@ionos.com \
    --cc=haris.iqbal@ionos.com \
    --cc=jgg@ziepe.ca \
    --cc=jinpu.wang@ionos.com \
    --cc=linux-rdma@vger.kernel.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.