linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
To: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
Cc: 'Or Gerlitz' <or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	'Tatyana Nikolova'
	<Tatyana.E.Nikolova-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	'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>
Subject: Re: [PATCH 0/3] RDMA/core: iWARP Port Mapper Overview
Date: Mon, 9 Jun 2014 12:42:07 -0600	[thread overview]
Message-ID: <20140609184207.GA534@obsidianresearch.com> (raw)
In-Reply-To: <004501cf840e$6cf0c240$46d246c0$@opengridcomputing.com>

On Mon, Jun 09, 2014 at 01:12:50PM -0500, Steve Wise wrote:

> > > 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
> > >
> > > Specifically, down the road, more use cases, not only the current
> > > iWARP case may pop up.
> > 
> > This really seems horrible, using user space to circumvent the kernel
> > stack because kernel maintainers don't want this kind of integration
> > is not going to make people very happy.
> > 
> > IIRC the patch set that tried to do this directly in the kernel was
> > NAK'd, adding a userspace round trip doesn't really change anything.

> The patch set you refer to tried to _unify_ the port space and was
> rejected.  The only other alternative is to pick ephemeral ports and
> maintain a mapping for RDMA services.

I thought both approaches were tried in kernel and NAK'd by netdev?
This looks very similar to the 2010 patchset, except the dummy socket
allocation is living in userspace in this version.

Again, from here, this looks like another patch to do an end-run
around netdev's NAK by hiding the offending stuff in userspace. That
is no good either...

> > The message from netdev has, IMHO, always been pretty clear - offload
> > can live in it's own little side world but cannot appear to the user
> > to be integrated to the main stack (because it isn't).
> 
> That is what this design does...

Not really, it is still sharing an IP used by the main stack,
otherwise you wouldn't have this problem in the first place.

Jason
--
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

  reply	other threads:[~2014-06-09 18:42 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
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 [this message]
     [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=20140609184207.GA534@obsidianresearch.com \
    --to=jgunthorpe-epgobjl8dl3ta4ec/59zmfatqe2ktcn/@public.gmane.org \
    --cc=Tatyana.E.Nikolova-ral2JQCrhuEAvxtiuMwx3w@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 \
    --cc=swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).