From: Jason Gunthorpe <jgg@ziepe.ca>
To: "Walker, Benjamin" <benjamin.walker@intel.com>
Cc: "Howell, Seth" <seth.howell@intel.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"monis@mellanox.com" <monis@mellanox.com>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
"dledford@redhat.com" <dledford@redhat.com>
Subject: Re: [PATCH] rdma: move the ib_wr_opcode enum to include/uapi
Date: Mon, 17 Sep 2018 15:08:24 -0600 [thread overview]
Message-ID: <20180917210824.GF11367@ziepe.ca> (raw)
In-Reply-To: <11f85f780435a5ded567bc8559d7c770d3bc4464.camel@intel.com>
On Mon, Sep 17, 2018 at 08:38:16PM +0000, Walker, Benjamin wrote:
> On Mon, 2018-08-20 at 14:32 -0700, Howell, Seth wrote:
> > Hi Jason,
> >
> > I apologize for the few days of radio silence on this one. I was able to apply
> > your patch on my local configuration and can confirm that it fixes the issue
> > of send with invalidate being improperly mapped between a user-space process
> > and the kernel rxe driver.
> >
> > Thanks again for your time and help.
> >
> > Seth Howell
> >
> > From: linux-rdma-owner@vger.kernel.org [mailto:
> > linux-rdma-owner@vger.kernel.org] On Behalf Of Jason Gunthorpe
> > Sent: Thursday, August 16, 2018 11:01 AM
> > To: Howell, Seth <seth.howell@intel.com>
> > Cc: Walker, Benjamin <benjamin.walker@intel.com>; Doug Ledford <
> > dledford@redhat.com>; linux-rdma@vger.kernel.org; linux-kernel@vger.kernel.org
> > ; Moni Shoua <monis@mellanox.com>
> > Subject: Re: [PATCH] rdma: move the ib_wr_opcode enum to include/uapi
> >
> > On Wed, Aug 15, 2018 at 11:27:36PM +0000, Howell, Seth wrote:
> >
> > > Thank you for taking the time to review this issue. The patch you
> > > submitted will definitely fix the problem I was facing.
> >
> > Can you test it to be certain?
> >
> > Thanks,
> > Jason
>
> We've recently run into this same issue on i40iw, which appears to make the same
> mistake of using the kernel version of the enum instead of the userspace
> version.
Confused by this?? i40iw_upost_send does not handle the kernel numbers
at all, as far as I can see? How does it develop a kernel dependency??
> What's the current status here? Can it be merged? I just checked and
> do not see it merged to Linux master.
Oh! This apparently got lost, thanks for bringing it up again.
> Running a user-space NVMe-oF target with RDMA and a recent Linux kernel
> initiator is not currently possible on rxe or i40iw because it requires send
> with invalidate support.
Okay, but i40iw doesn't seem to support send with invalidate at all in
userspace?
i40iw_upost_send() swithces on opcode, doesn't handle SEND_INV and
then blows up in the default clause - how does this patch make any
difference???
Jason
next prev parent reply other threads:[~2018-09-17 21:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-14 22:33 [PATCH] rdma: move the ib_wr_opcode enum to include/uapi Seth Howell
2018-08-15 22:50 ` Jason Gunthorpe
2018-08-15 23:27 ` Howell, Seth
2018-08-16 18:01 ` Jason Gunthorpe
2018-08-20 21:32 ` Howell, Seth
2018-09-17 20:38 ` Walker, Benjamin
2018-09-17 21:08 ` Jason Gunthorpe [this message]
2018-09-17 22:29 ` Walker, Benjamin
2018-09-17 22:47 ` Jason Gunthorpe
2018-09-19 23:03 ` Nikolova, Tatyana E
2018-09-17 23:08 ` Jason Gunthorpe
2018-09-17 23:14 ` Howell, Seth
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=20180917210824.GF11367@ziepe.ca \
--to=jgg@ziepe.ca \
--cc=benjamin.walker@intel.com \
--cc=dledford@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=monis@mellanox.com \
--cc=seth.howell@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox