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,
Peter P Waskiewicz Jr
<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: Thu, 17 Jun 2010 09:56:11 -0500 [thread overview]
Message-ID: <4C1A378B.9030509@opengridcomputing.com> (raw)
In-Reply-To: <OF026C9B22.332F6F2C-ONC1257745.00429E02-C1257745.004E411D-Xeyd2O9EBijQT0dZR+AlfA@public.gmane.org>
Bernard Metzler wrote:
> I agree that the issue must get solved and its good that it has
> been brought up again. I agree with Chien that the
> solution should respect and interface to a single in kernel instance
> maintaining host global TCP port space. iWARP is just another
> protocol on top of TCP - like iSCSI. There is no good reason to
> invent another TCP port maintainer per TCP user type trying to
> synchonize with the kernel if the resource is host global and
> already maintained by the kernel.
>
> Since we are developing and already open sourced a full software
> implementation (SoftiWARP) of RDMA, our view on the optimal solution
> must be different. Like kernel iSCSI, we are running on top of regular
> kernel sockets. With that, there is no point having a connection manager
> blocking just the port we wanted to use for communication - SoftiWARP
> uses kernel sockets for data communication.
>
>
Hey Bernard,
Has SoftiWARP been submitted upstream yet?
> Therefore, I propose pushing back responsibility to the RDMA device driver,
> where the actual connection setup is initiated (RNIC) or takes place
> (software RMDA stack). I think, it is not the job of the RDMA connection
> manager to maintain TCP port space at all. It should be up to the driver
> to do the appropriate steps. Due to the lack of another interface, an
> RNIC driver would create and bind a kernel socket to get hold of
> the TCP port it is intending to use for offloaded communication,
> while a software RDMA stack just goes forward doing communication on
> that socket. For the future it might be a good idea to approach the
> netdev folks kindly asking for a neat interface for just TCP port
> maintainance without the need to create and bind an otherwise
> useless socket.
>
I proposed this design in 2007. It was NAK'd. Read the tail end of this
email where I describe such a solution and indicate that Miller already
NAK'd it. Now we could try again with this solution, but unless we have
end users backing us and showing how much demand there is for this, it
won't fly IMO.
http://lkml.org/lkml/2007/8/15/174
> Of course, the RNIC driver must restrict its activities to local
> IP adresses on its cards (or, for SoftiWARP, to IP adresses of interfaces
> it is bound to). For example, a wildcard listen must get translated
> into a listen restricted to the interface(s) under local control.
>
>
I implemented and submitted this type of solution for cxgb3 in 2007 as
well.
http://lkml.org/lkml/2007/9/13/268
Roland didn't like it, I think, because it used well known tokens in the
interface name to designate iwarp ip addresses via ifconfig. Like
"eth0:iw1". So the solution really required the admin to setup these
iwarp-only subnets/interfaces. There was nothing that prevented non
iwarp traffic to arrive on these ip addresses other than admin policy. I
think that was another reason Roland didn't like this solution. Anyway,
you can peruse that thread and maybe its a starting point for some
"separate iwarp ipaddresses" solution....
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
next prev parent reply other threads:[~2010-06-17 14:56 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 [this message]
[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
[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=4C1A378B.9030509@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