All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Haakon Bugge <haakon.bugge@oracle.com>
Cc: Doug Ledford <dledford@redhat.com>,
	OFED mailing list <linux-rdma@vger.kernel.org>,
	Leon Romanovsky <leon@kernel.org>,
	Mark Haywood <mark.haywood@oracle.com>
Subject: Re: Double RESET -> INIT transitions
Date: Tue, 6 Apr 2021 12:28:49 -0300	[thread overview]
Message-ID: <20210406152849.GU7405@nvidia.com> (raw)
In-Reply-To: <F6F7D0C5-ECA6-43C5-91C5-818076C5619A@oracle.com>

On Tue, Apr 06, 2021 at 03:01:41PM +0000, Haakon Bugge wrote:

> Running rdma_server (RC transport) on an IB device that supports
> abi_ver 4, I see two ib_modify_qp() calls to the INIT state with
> mask 0x39 (STATE, ACCESS_FLAGS, PKEY_INDEX, and PORT) and of course,
> state == 1 (IB_QPS_INIT).
>
> Presumable, from ucma_init_conn_qp(), then again in ucma_modify_qp_rtr().
> 
> Slip of the keyboard?
 
The control flow is complicated here and I worry parts of this are ABI
now. Would it be OK to return from rdma_create_qp_ex() with an
incompletely initialized QP? I don't know.

Jason

  reply	other threads:[~2021-04-06 15:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-06 15:01 Double RESET -> INIT transitions Haakon Bugge
2021-04-06 15:28 ` Jason Gunthorpe [this message]
2021-04-06 15:45   ` Haakon Bugge

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=20210406152849.GU7405@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=dledford@redhat.com \
    --cc=haakon.bugge@oracle.com \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=mark.haywood@oracle.com \
    /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.