All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Steve Wise" <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
To: 'Or Gerlitz' <or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	'Tatyana Nikolova'
	<Tatyana.E.Nikolova-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: 'Roland Dreier' <roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	"'Lacombe,
	John S'" <john.s.lacombe-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	'Sean Hefty' <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	'linux-rdma' <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	'Jason Gunthorpe'
	<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
Subject: RE: [PATCH 0/3] RDMA/core: iWARP Port Mapper Overview
Date: Mon, 9 Jun 2014 09:46:48 -0500	[thread overview]
Message-ID: <000801cf83f1$a4366920$eca33b60$@opengridcomputing.com> (raw)
In-Reply-To: <CAJZOPZ+E0sX6-_tT2DrbLvRvrHWvEcO5KtMGwZqhuoQeTqrrMg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

> 
> Hi Steve, Tatyana
> 
> Reading this cover letter, I think it's good idea to follow Steve's
> suggestion and add portions from here into the IB/core change you
> introduced (patch #1 in this series) and is now merged into Roland's
> for-next -- before Roland's sends his 3.16 merge window pull request
> to Linus (there is enough time!!), since the current change-log
> http://git.kernel.org/cgit/linux/kernel/git/roland/infiniband.git/commit/?h=for-
> next&id=1943d56776ad31a119517efeb309786db3b4383e
> practically says nothing on what is the PM about
> 

Roland, can you do this?

> 2nd, there's nothing specific to iWARP in the port mapper implementation, right?
> 
> What it does is the following:
> 
> 1. kernel rdma driver tells a user space daemon they want to reserve
> (claim) the combination of IP address X and TCP port Y for the sake of
> RDMA connections
> 
> 2. user space daemon opens a socket and binds to X:Y
> 

No, the use space daemon opens a socket and binds to address X port 0 and thus allocates an ephemeral port number Z.  The mapping of X->Z is then made available to clients trying to connect to this service.

> Specifically, down the road, more use cases, not only the current
> iWARP case may pop up.
> 

It is really only needed for iWARP and not IB because IB doesn't share the port space with the host TCP stack.  iWARP does.

> So taking into account that the implementation doesn't have anything
> whivh is IW specific, and that future non-IW use case might show up,
> why we need to fill the IB core code with IW_PM notation? why not just
> use RDMA_PM notation? this can be achieved quickly with
> 
> $ sed -i g/iw_pm/rdma_pm/g *
> 
> and friends on Roland's tree and later squashed into the relevant patches.
> 
> I understand that my comment came little late... but taking into
> account the ease of the change (sed exercise), why not doing it? the
> IB core patch exposes API to user-space, so we should make sure to do
> it right
> 

I'm not convinced this is desirable.

Steve.

--
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:[~2014-06-09 14:46 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-26 22:07 [PATCH 0/3] RDMA/core: iWARP Port Mapper Overview Tatyana Nikolova
2014-05-02 15:35 ` Steve Wise
2014-05-20  1:10 ` Roland Dreier
     [not found]   ` <CAL1RGDWNr53rXY_o2X7R76aVHtAH_EnK6DZk19N5fGoW1pOAdQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-05-20 13:45     ` Steve Wise
2014-05-20 17:46       ` Nikolova, Tatyana E
2014-06-03 20:20     ` Or Gerlitz
2014-05-20  7:47 ` Or Gerlitz
     [not found]   ` <001a01cf7431$f6d41f30$e47c5d90$@opengridcomputing.com>
2014-05-20 13:59     ` Or Gerlitz
2014-06-08 19:34 ` Or Gerlitz
     [not found]   ` <CAJZOPZ+E0sX6-_tT2DrbLvRvrHWvEcO5KtMGwZqhuoQeTqrrMg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-09 14:46     ` Steve Wise [this message]
2014-06-09 16:51     ` Jason Gunthorpe
     [not found]       ` <20140609165105.GB1816-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2014-06-09 18:10         ` Christoph Lameter
     [not found]           ` <alpine.DEB.2.10.1406091307230.9663-gkYfJU5Cukgdnm+yROfE0A@public.gmane.org>
2014-06-09 18:13             ` Steve Wise
2014-06-09 18:28               ` Christoph Lameter
     [not found]                 ` <alpine.DEB.2.10.1406091326430.9663-gkYfJU5Cukgdnm+yROfE0A@public.gmane.org>
2014-06-09 18:32                   ` Steve Wise
2014-06-09 18:12         ` Steve Wise
2014-06-09 18:42           ` Jason Gunthorpe
     [not found]             ` <2ABFA3E36CBB794685BFBA191CC1964952C605CB@FMSMSX105.amr.corp.intel.com>
     [not found]               ` <2ABFA3E36CBB794685BFBA191CC1964952C605CB-AtyAts71sc9qS6EAlXoojrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-06-10  0:08                 ` FW: " PJ Waskiewicz
     [not found]                   ` <CAEmgqz2HtEJ1ho0rS4xR7ud6YgFfeAvR8uD8MgPjVhw=E9PFEg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-10  6:10                     ` Or Gerlitz
     [not found]                       ` <5396A145.90504-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-06-10  7:03                         ` PJ Waskiewicz
2014-06-10 16:52                     ` Jason Gunthorpe
     [not found]                       ` <20140610165246.GA12951-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2014-06-10 19:30                         ` PJ Waskiewicz

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='000801cf83f1$a4366920$eca33b60$@opengridcomputing.com' \
    --to=swise-7bpotxp6k4+p2yhjcf5u+vpxobypeauw@public.gmane.org \
    --cc=Tatyana.E.Nikolova-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
    --cc=john.s.lacombe-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@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.