From: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
To: "Tung,
Chien Tin"
<chien.tin.tung-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Bernard Metzler <BMT-OA+xvbQnYDHMbYB6QlFGEg@public.gmane.org>,
Roland Dreier <rdreier-FYB4Gu1CFyUAvxtiuMwx3w@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>
Subject: Re: [PATCH v2] RDMA/CMA: fix iWARP adapter TCP port space usage
Date: Tue, 06 Jul 2010 14:03:15 -0700 [thread overview]
Message-ID: <4C339A13.3030802@opengridcomputing.com> (raw)
In-Reply-To: <2EFBCAEF10980645BBCFB605689E08E904928D9C9B-uLM7Qlg6MbdZtRGVdHMbwrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
I haven't thought through all the details, but in principal this should
work. But this isn't just and iWARP issue. Currently all RDMA-CM users
share the same port space. I think we need to maintain this, so a
transport-independent RDMA app can run over both IB and IW. This goes
for server side wrt listen/accept as well.
Steve.
Tung, Chien Tin wrote:
> Steve,
>
> Do you see any issues with Bernard's proposal? Is this something we can agree on?
>
> Chien
>
>
>> -----Original Message-----
>> From: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org [mailto:linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org] On Behalf Of Tung,
>> Chien Tin
>> Sent: Friday, June 25, 2010 3:15 PM
>> To: Bernard Metzler; Roland Dreier
>> Cc: Jason Gunthorpe; linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Waskiewicz Jr,
>> Peter P; Steve Wise
>> Subject: RE: [PATCH v2] RDMA/CMA: fix iWARP adapter TCP port space usage
>>
>>
>>> To my understanding, our discussion touches two topics. One is
>>> to solve the TCP port space issue, the other is more general, its about
>>> proper integration of offloaded TCP within Linux. So, the second
>>> topic is a generalization of the first.
>>>
>>> Regarding the first topic, what I was about to propose is that the
>>> iWARP kernel driver (software iWARP or RNIC) itself should take care of
>>> port space allocations. Port space maintenance functionality should
>>> be minimized at iWARP CM level. It looks straightforward to me if
>>> during the rdma_connect() call the driver picks a free port using
>>> a socket/bind sequence for its local interface. The same would be possible
>>> for
>>> the passive connection setup, which always involves an rdma_bind_addr()
>>> - we would have to pass the rdma_bind_addr() call down to the driver
>>> and EADDRINUSE would be a reasonable return value.
>>> Here things are getting a little more complicated, if it comes to
>>> INADDR_ANY and port 0 bindings. In private email, Bob Sharp already
>>> suggested it - the iWARP CM would have to pick a port and
>>> try it on all interfaces....maybe by starting with port 0 binding
>>> on one interface and trying to extend with the returned port on
>>> all remaining interfaces. That introduces an unbind() call if things
>>> fail, too. In any case, the rdma_bind_addr() call would create additional
>>> state
>>> at driver level.
>>>
>> I am okay with adding rdma_bind_addr and rdma_unbind_addr calls. I won't
>> speak for Sean and the work that needs to go into the CM. But this will allow
>> all known iWARP implementations to work together.
>>
>>
>>> For softiwarp, during bind() or connect(), a TCP socket would be created
>>> and bound, for an RNIC driver (currently) the same would happen. While with
>>> softiwarp this socket would be used for communication later, the RNIC
>>> driver
>>> would simply have to keep it around until the connection endpoint gets
>>> destroyed
>>> or the port gets unbound.
>>>
>> We want to be careful and make sure there is only one iWARP provider per IP address.
>> If softiWARP binds and surfaces another verbs interface on an existing one,
>> this scheme will not work.
>>
>> Chien
>>
>>
>> --
>> 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
>>
> --
> 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
>
--
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
next prev parent reply other threads:[~2010-07-06 21:03 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 [this message]
[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
[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=4C339A13.3030802@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