public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
To: Bernard Metzler <BMT-OA+xvbQnYDHMbYB6QlFGEg@public.gmane.org>
Cc: "Tung,
	Chien Tin"
	<chien.tin.tung-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Jason Gunthorpe
	<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>,
	"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"Waskiewicz Jr,
	Peter P"
	<peter.p.waskiewicz.jr-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Roland Dreier <rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH v2] RDMA/CMA: fix iWARP adapter TCP port space usage
Date: Wed, 07 Jul 2010 09:26:14 -0700	[thread overview]
Message-ID: <4C34AAA6.2080909@opengridcomputing.com> (raw)
In-Reply-To: <OF9B577A15.49E0F3EB-ONC1257759.005129F2-C1257759.0055D7D7-Xeyd2O9EBijQT0dZR+AlfA@public.gmane.org>

Bernard Metzler wrote:
> Steve,
>
> merging the port space of different transports is very particular
> and it would be good if we could avoid it w/o losing on transport
> independence. 

But the IB and IW port space is _already_ merged by the RDMA_CM.  That's 
my point.  So a solution that breaks this impacts transport-independent 
applications that use the rdma cm...

> Could we prove a strong need for that short-cut?
> If its really needed, one global RDMA_CM instance should be able
> to achive that requirement. But wouldn't that go together with a waste
> of unused transports resources (i.e., IB binds would create
> and bind also TCP sockets..?).
>   

My comment has nothing to do with TCP ports but rather RDMA ports as 
abstracted by the RDMA_CM.  The RDMA_PS_TCP port space is shared among 
all the RDMA transports.  So if you rdma_bind() to port space 
RDMA_PS_TCP, addr INADDR_ANY, port 9999, then it will bind the cm_id to 
all IB and IW providers for that address/port (note the providers don't 
really get called until rdma_listen()).  Thus if you propose moving the 
bind operation down into the device providers, then the IB providers 
will also have to add this logic.  Or some solution must be defined to 
keep the IB and IW port spaces common.  Otherwise the RDMA_CM cannot 
support transport independent applications...

I don't think there is anything wrong with doing this, but realize this 
change will impact all rdma providers as well as the core.


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:[~2010-07-07 16:26 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-11 12:47 [PATCH v2] RDMA/CMA: fix iWARP adapter TCP port space usage Chien Tung
2010-06-11 16:03 ` Roland Dreier
     [not found]   ` <adapqzxy2sb.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-06-11 19:49     ` Tung, Chien Tin
     [not found]       ` <2EFBCAEF10980645BBCFB605689E08E904924CCE42-uLM7Qlg6MbdZtRGVdHMbwrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-06-11 21:13         ` Steve Wise
     [not found]           ` <4C12A6E8.5040400-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-06-11 22:08             ` Roland Dreier
     [not found]               ` <adamxv1w7cb.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-06-11 22:41                 ` Jason Gunthorpe
     [not found]                   ` <20100611224126.GA4630-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-06-11 22:47                     ` Hefty, Sean
     [not found]                       ` <CF9C39F99A89134C9CF9C4CCB68B8DDF255F6BB9B7-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-06-11 22:55                         ` Jason Gunthorpe
2010-06-11 23:40                     ` Steve Wise
     [not found]                       ` <4C12C971.4000909-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-06-12  0:04                         ` Jason Gunthorpe
     [not found]                           ` <20100612000431.GC4630-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-06-12  1:18                             ` Steve Wise
     [not found]                               ` <4C12E073.2040008-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-06-12  1:56                                 ` Jason Gunthorpe
     [not found]                                   ` <20100612015652.GA7648-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-06-12  2:10                                     ` Steve Wise
     [not found]                                       ` <4C12EC89.1030305-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-06-12  4:34                                         ` Peter P Waskiewicz Jr
     [not found]                                           ` <Pine.WNT.4.64.1006112117160.6192-sfjRBClDQW9noNDWh8xLylnYeNYlB/vhral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2010-06-12  4:46                                             ` Roland Dreier
     [not found]                                               ` <adaeigcx3hw.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-06-12  6:30                                                 ` Pradeep Satyanarayana
2010-06-12 15:17                                                 ` Steve Wise
     [not found]                                                   ` <4C13A526.3040500-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-06-17 14:14                                                     ` Bernard Metzler
     [not found]                                                       ` <OF026C9B22.332F6F2C-ONC1257745.00429E02-C1257745.004E411D-Xeyd2O9EBijQT0dZR+AlfA@public.gmane.org>
2010-06-17 14:56                                                         ` Steve Wise
     [not found]                                                           ` <4C1A378B.9030509-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-06-17 16:13                                                             ` Bernard Metzler
2010-06-23 17:30                                                         ` Roland Dreier
     [not found]                                                           ` <ada8w65veq4.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-06-23 17:37                                                             ` Steve Wise
     [not found]                                                               ` <4C224652.2060601-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-06-23 18:33                                                                 ` Tung, Chien Tin
     [not found]                                                                   ` <2EFBCAEF10980645BBCFB605689E08E90492696E76-uLM7Qlg6MbdZtRGVdHMbwrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-06-23 18:48                                                                     ` Steve Wise
2010-06-23 18:20                                                             ` Steve Wise
     [not found]                                                               ` <4C225078.6050001-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-06-23 18:28                                                                 ` Roland Dreier
     [not found]                                                                   ` <adar5jxtxho.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-06-23 18:46                                                                     ` Steve Wise
     [not found]                                                                       ` <4C225697.6060702-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-06-23 18:45                                                                         ` Roland Dreier
2010-06-23 19:29                                                                         ` Jason Gunthorpe
     [not found]                                                                           ` <20100623192909.GT4630-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-06-23 19:42                                                                             ` Steve Wise
     [not found]                                                                               ` <4C2263B3.9010608-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-06-23 19:45                                                                                 ` Steve Wise
     [not found]                                                                                   ` <4C226441.5000904-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-06-23 19:49                                                                                     ` Steve Wise
2010-06-23 19:52                                                                                 ` Jason Gunthorpe
     [not found]                                                                                   ` <20100623195210.GU4630-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-06-23 20:01                                                                                     ` Roland Dreier
     [not found]                                                                                       ` <adawrtpsem5.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-06-23 20:13                                                                                         ` Steve Wise
2010-06-23 20:11                                                                                     ` Steve Wise
     [not found]                                                                                       ` <4C226A6F.4000801-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-06-23 20:09                                                                                         ` Jason Gunthorpe
     [not found]                                                                                           ` <20100623200937.GV4630-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-06-23 20:19                                                                                             ` Steve Wise
     [not found]                                                                                               ` <4C226C53.7080802-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-06-23 20:26                                                                                                 ` Jason Gunthorpe
     [not found]                                                                                                   ` <20100623202607.GW4630-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-06-23 20:39                                                                                                     ` Steve Wise
2010-06-23 20:29                                                                                                 ` Steve Wise
2010-06-23 19:17                                                                     ` Tung, Chien Tin
     [not found]                                                                       ` <2EFBCAEF10980645BBCFB605689E08E90492696EF7-uLM7Qlg6MbdZtRGVdHMbwrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-06-23 19:50                                                                         ` Roland Dreier
     [not found]                                                                           ` <ada6319ttnj.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-06-23 20:51                                                                             ` Tung, Chien Tin
2010-06-25 16:46                                                                             ` Bernard Metzler
     [not found]                                                                               ` <OFE69DF7DF.E7AB1B1F-ONC125774D.0035CCED-C125774D.005C2F46-Xeyd2O9EBijQT0dZR+AlfA@public.gmane.org>
2010-06-25 20:14                                                                                 ` Tung, Chien Tin
     [not found]                                                                                   ` <2EFBCAEF10980645BBCFB605689E08E904926FF2A4-uLM7Qlg6MbdZtRGVdHMbwrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-07-06 20:52                                                                                     ` Tung, Chien Tin
     [not found]                                                                                       ` <2EFBCAEF10980645BBCFB605689E08E904928D9C9B-uLM7Qlg6MbdZtRGVdHMbwrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-07-06 21:03                                                                                         ` Steve Wise
     [not found]                                                                                           ` <4C339A13.3030802-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-07-07 15:37                                                                                             ` Bernard Metzler
     [not found]                                                                                               ` <OF9B577A15.49E0F3EB-ONC1257759.005129F2-C1257759.0055D7D7-Xeyd2O9EBijQT0dZR+AlfA@public.gmane.org>
2010-07-07 16:26                                                                                                 ` Steve Wise [this message]
     [not found]                                                                                                   ` <4C34AAA6.2080909-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-07-07 18:10                                                                                                     ` Tung, Chien Tin
     [not found]                                                                                                       ` <2EFBCAEF10980645BBCFB605689E08E904928DA373-uLM7Qlg6MbdZtRGVdHMbwrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-07-07 18:12                                                                                                         ` Steve Wise
2010-06-12  5:22                                             ` Jason Gunthorpe
     [not found]                                               ` <20100612052242.GA17793-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-06-12 14:51                                                 ` Tung, Chien Tin
2010-06-11 23:45                 ` Steve Wise
2010-06-11 19:40 ` Or Gerlitz
     [not found]   ` <AANLkTinDsfGtQZUc6kfW2-pWK51V2SK3CLjE-8jDjfzN-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-06-11 19:52     ` Tung, Chien Tin

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=4C34AAA6.2080909@opengridcomputing.com \
    --to=swise-7bpotxp6k4+p2yhjcf5u+vpxobypeauw@public.gmane.org \
    --cc=BMT-OA+xvbQnYDHMbYB6QlFGEg@public.gmane.org \
    --cc=chien.tin.tung-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
    --cc=linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=peter.p.waskiewicz.jr-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=rdreier-FYB4Gu1CFyUAvxtiuMwx3w@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