From: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
To: Jason Gunthorpe
<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
Cc: Roland Dreier <rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>,
Bernard Metzler <BMT-OA+xvbQnYDHMbYB6QlFGEg@public.gmane.org>,
"Tung,
Chien Tin"
<chien.tin.tung-ral2JQCrhuEAvxtiuMwx3w@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>
Subject: Re: [PATCH v2] RDMA/CMA: fix iWARP adapter TCP port space usage
Date: Wed, 23 Jun 2010 15:19:31 -0500 [thread overview]
Message-ID: <4C226C53.7080802@opengridcomputing.com> (raw)
In-Reply-To: <20100623200937.GV4630-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
Jason Gunthorpe wrote:
> On Wed, Jun 23, 2010 at 03:11:27PM -0500, Steve Wise wrote:
>
>> The IP address assigned for the cxgb3i iscsi device is _not_ assigned to
>> a netdev interface via ifconfig, as far as I understand it (by looking
>> at the cxgb3i code). So the host stack doesn't know about this address.
>> There is an administrative requirement, I assume, that the secret iscsi
>> ipaddr is within a subnet that is bound to the T3 ethX interface.
>> Otherwise the routing lookup wouldn't work.
>>
>
> So who responds to neighbor queries, and how do outgoing queries get
> sent with the right IP? Sounds odd...
>
>
The iscsi hba is only an initiator, so it doesn't need to respond to arp
queries. I guess the Source Protocol Address in the outgoing ARP
request will be the ipaddr of the outgoing interface. Its ok though
because what is needed is the next-hop peer's hwaddr. So the ARP reply
comes in, updates the host neigh entry, and a NEIGH_EVENT callout is
performed to the offload device drivers. It is a little hackish, but
that's the only way the netdev maintainers would allow iscsi offload
in. They originally tried to use the src address from the ethX
interface for the offload iscsi connections and that was rejected.
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-23 20:19 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 [this message]
[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=4C226C53.7080802@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