From: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
To: "Hefty, Sean" <sean.hefty@intel.com>
Cc: Sagi Grimberg <sagi@grimberg.me>,
"Weiny, Ira" <ira.weiny@intel.com>,
Christoph Hellwig <hch@lst.de>,
"dledford@redhat.com" <dledford@redhat.com>,
"bart.vanassche@sandisk.com" <bart.vanassche@sandisk.com>,
"swise@opengridcomputing.com" <swise@opengridcomputing.com>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
"target-devel@vger.kernel.org" <target-devel@vger.kernel.org>
Subject: Re: [PATCH 02/12] IB/cma: pass the port number to ib_create_qp
Date: Thu, 28 Apr 2016 17:49:20 -0600 [thread overview]
Message-ID: <20160428234920.GA2782@obsidianresearch.com> (raw)
In-Reply-To: <1828884A29C6694DAF28B7E6B8A82373AB04724A@ORSMSX109.amr.corp.intel.com>
On Thu, Apr 28, 2016 at 11:23:33PM +0000, Hefty, Sean wrote:
> > This isn't dismissing them as silly, it is a pragmatic need in the
> > core code that everything associated with a PD have a minimum standard
> > of uniformity - and it is very clear that includes things like the
> > iwarp special cases and the particular format of the AHs.
>
> I was referring to Christoph's comment "that multi-protocol devices
> are indeed as silly as they seem". Maybe we're using different
> meanings for the term 'device'. I'm referring to the physical
> hardware.
Oh. I think the rest of this thread uses device to refer to a 'struct
ib_device'.
> > Fundamentally we have the wrong model for such hardware. When a PD is
> > created it should set the 'protocol' and select the compatible member
> > ports that belong to the PD. Cap tests and so forth should be done
> > against the PD, not a port or a device.
>
> I agree that the model is wrong. But this is the first email I've
> read (and I skip reading a lot) mentioning the PD.
The last time this came up we talked about the right place to apply
the 'cap' tests and the idea of using the PD or QP was briefly
discussed.
> My concern is that the discussion mentioned removing multi-protocol
> support completely, rather than improving it.
No, the topic is to remove the port num from the cap tests.
This is clarifying the current capability of the core code, which is
that a struct ib_device must have certain uniformity across all ports.
The port_num is totally wrong headed and is not the way to support
some future multi-protocol hardware within a single struct
ib_device.
> I was referring to the sharing of resources (e.g. CQs, MRs) across
> different protocols on the same device.
Hum, can those even realistically be shared? Eg an iWarp and IB MRs
have very different semantics, both in terms of the key and how the
permission model works.
IIRC CQs had some subtle differences too, and of course extracting an
address from a WC is very different.
This is why I bring up the PD as a 'narrower' container for the
required uniformity.
Jason
next prev parent reply other threads:[~2016-04-28 23:49 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-11 21:32 generic RDMA READ/WRITE API V6 Christoph Hellwig
[not found] ` <1460410360-13104-1-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2016-04-11 21:32 ` [PATCH 01/12] IB/mlx5: Expose correct max_sge_rd limit Christoph Hellwig
[not found] ` <1460410360-13104-2-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2016-04-17 13:53 ` Leon Romanovsky
[not found] ` <20160417135341.GC6349-2ukJVAZIZ/Y@public.gmane.org>
2016-04-17 18:06 ` Christoph Hellwig
2016-04-11 21:32 ` [PATCH 06/12] IB/core: add a simple MR pool Christoph Hellwig
2016-04-17 20:01 ` Sagi Grimberg
2016-04-19 3:19 ` Ira Weiny
2016-04-11 21:32 ` [PATCH 09/12] target: enhance and export target_alloc_sgl/target_free_sgl Christoph Hellwig
2016-04-11 21:32 ` [PATCH 02/12] IB/cma: pass the port number to ib_create_qp Christoph Hellwig
[not found] ` <1460410360-13104-3-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2016-04-15 17:55 ` Sagi Grimberg
2016-04-19 3:14 ` Ira Weiny
2016-04-19 17:30 ` Jason Gunthorpe
2016-04-19 18:38 ` Christoph Hellwig
[not found] ` <20160419183830.GB1211-jcswGhMUV9g@public.gmane.org>
2016-04-28 21:05 ` Doug Ledford
[not found] ` <20160419173032.GD20844-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-04-19 18:49 ` Sagi Grimberg
2016-04-19 19:24 ` Jason Gunthorpe
[not found] ` <20160419192430.GB27028-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-04-19 19:41 ` Steve Wise
2016-04-19 20:05 ` 'Christoph Hellwig'
2016-04-19 20:21 ` Jason Gunthorpe
[not found] ` <20160419200555.GA2561-jcswGhMUV9g@public.gmane.org>
2016-04-19 20:26 ` Steve Wise
2016-04-21 3:11 ` ira.weiny
2016-04-28 19:43 ` Hefty, Sean
2016-04-28 20:07 ` Jason Gunthorpe
2016-04-28 21:53 ` Hefty, Sean
2016-04-28 22:09 ` Jason Gunthorpe
2016-04-28 23:23 ` Hefty, Sean
2016-04-28 23:49 ` Jason Gunthorpe [this message]
2016-04-28 23:25 ` Weiny, Ira
[not found] ` <2807E5FD2F6FDA4886F6618EAC48510E22EC858F-8k97q/ur5Z2krb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-04-29 0:01 ` Jason Gunthorpe
2016-04-11 21:32 ` [PATCH 03/12] IB/core: allow passing mapping an offset into the SG in ib_map_mr_sg Christoph Hellwig
[not found] ` <1460410360-13104-4-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2016-04-15 17:56 ` Sagi Grimberg
2016-04-11 21:32 ` [PATCH 04/12] IB/core: add a helper to check for READ WITH INVALIDATE support Christoph Hellwig
[not found] ` <1460410360-13104-5-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2016-04-15 17:56 ` Sagi Grimberg
2016-04-19 3:15 ` Ira Weiny
2016-04-11 21:32 ` [PATCH 05/12] IB/core: refactor ib_create_qp Christoph Hellwig
2016-04-17 20:00 ` Sagi Grimberg
[not found] ` <1460410360-13104-6-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2016-04-19 3:08 ` Ira Weiny
2016-04-11 21:32 ` [PATCH 07/12] IB/core: add a need_inval flag to struct ib_mr Christoph Hellwig
[not found] ` <1460410360-13104-8-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2016-04-17 20:01 ` Sagi Grimberg
2016-04-19 3:20 ` Ira Weiny
2016-04-11 21:32 ` [PATCH 08/12] IB/core: generic RDMA READ/WRITE API Christoph Hellwig
[not found] ` <1460410360-13104-9-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2016-04-12 23:52 ` Bart Van Assche
[not found] ` <570D8A42.9040107-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-04-13 13:50 ` Christoph Hellwig
2016-04-11 21:32 ` [PATCH 10/12] IB/srpt: convert to the " Christoph Hellwig
2016-04-13 18:57 ` Bart Van Assche
2016-04-14 13:32 ` Christoph Hellwig
2016-04-28 21:02 ` Doug Ledford
[not found] ` <57227A6D.4000802-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-04-29 6:34 ` Christoph Hellwig
[not found] ` <20160429063443.GA18893-jcswGhMUV9g@public.gmane.org>
2016-04-29 14:44 ` Doug Ledford
2016-04-11 21:32 ` [PATCH 11/12] IB/core: add RW API support for signature MRs Christoph Hellwig
[not found] ` <1460410360-13104-12-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2016-04-22 21:53 ` Bart Van Assche
2016-04-11 21:32 ` [PATCH 12/12] IB/isert: convert to the generic RDMA READ/WRITE API Christoph Hellwig
[not found] ` <1460410360-13104-13-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2016-04-28 21:04 ` Doug Ledford
2016-04-29 11:46 ` Sagi Grimberg
[not found] ` <572349AA.2070407-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2016-04-29 14:45 ` Doug Ledford
[not found] ` <e7959da7-79ca-0422-fbc9-9b3814516e1b-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-04-29 16:42 ` Leon Romanovsky
2016-04-12 18:31 ` generic RDMA READ/WRITE API V6 Steve Wise
2016-04-22 22:29 ` Bart Van Assche
[not found] ` <571AA5C8.4080502-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-05-02 15:15 ` Christoph Hellwig
[not found] ` <20160502151535.GA520-jcswGhMUV9g@public.gmane.org>
2016-05-02 19:08 ` Bart Van Assche
2016-05-02 22:14 ` Bart Van Assche
2016-05-03 8:40 ` Christoph Hellwig
2016-05-03 16:10 ` Bart Van Assche
[not found] ` <5727A5C7.1090009-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-05-03 14:31 ` Christoph Hellwig
[not found] ` <20160503143104.GA30342-jcswGhMUV9g@public.gmane.org>
2016-05-03 21:23 ` Bart Van Assche
-- strict thread matches above, loose matches on Subject: below --
2016-04-18 20:14 generic RDMA READ/WRITE API V7 Christoph Hellwig
2016-04-18 20:14 ` [PATCH 02/12] IB/cma: pass the port number to ib_create_qp Christoph Hellwig
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=20160428234920.GA2782@obsidianresearch.com \
--to=jgunthorpe@obsidianresearch.com \
--cc=bart.vanassche@sandisk.com \
--cc=dledford@redhat.com \
--cc=hch@lst.de \
--cc=ira.weiny@intel.com \
--cc=linux-rdma@vger.kernel.org \
--cc=sagi@grimberg.me \
--cc=sean.hefty@intel.com \
--cc=swise@opengridcomputing.com \
--cc=target-devel@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.