From: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
To: Jason Gunthorpe
<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
Cc: Or Gerlitz <ogerlitz-hKgKHo2Ms0FWk0Htik3J/w@public.gmane.org>,
Sean Hefty <mshefty-+/W+9+QloQG75v1z/vFq2g@public.gmane.org>,
linux-rdma <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"Tung,
Chien Tin"
<chien.tin.tung-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: Re: sense remote hardware address change by rdma-cm applications
Date: Tue, 20 Jul 2010 16:15:22 -0500 [thread overview]
Message-ID: <4C4611EA.6000700@opengridcomputing.com> (raw)
In-Reply-To: <4C460F08.7030304-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
Steve Wise wrote:
> Jason Gunthorpe wrote:
>> On Tue, Jul 20, 2010 at 03:50:05PM -0500, Steve Wise wrote:
>>
>>
>>>> I think if RDMACM manages the dst and lets the devices access it then
>>>> all the existing netdev infrastructure for poking at a dst should be
>>>> available to the device?
>>>>
>>> Yes. But I'm not sure exactly how the logic I described previous
>>> for cxgb* would be handled in the design being ironed out here.
>>>
>>
>> I'm thinking something like this..
>>
>> - The RDMA CM gets the dst from its route lookup locks it and stores
>> it.
>> - Instead of doing a route lookup cxgb gets the dst from RDMA CM,
>> locks it and stores it
>> - RDMA CM traps all notifications/etc and generates callback to cxgb
>> to say the dst has changed.
>> - cxgb releases the old dst and grabs the new one, updates the HW,
>> etc.
>>
>> Basically the same as what you have now, but all the logic to find
>> and monitor the dst moves to RDMA CM..
>>
>> redirects/etc are all handled by netdev/rdma cm and just generate the
>> same 'dst has changed' call back to cxgb..
>>
>> Or's user space notification stuff hooks the same callback to generate
>> a notification to userspace about the new dst.
>>
>> All the stuff you do now with the dst you can keep doing, you just
>> remove all the route lookup and netdev hooking to get the dst from
>> RDMA CM.
>>
>> Jason
>>
>
> Sounds like this would work nicely.
>
>
> Steve.
>
Need to hear from Intel. CCing 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
next prev parent reply other threads:[~2010-07-20 21:15 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-19 21:42 sense remote hardware address change by rdma-cm applications Or Gerlitz
[not found] ` <AANLkTimmWiNqHJIqSEKbY-X6mSx6zA19p__JDYPEmp8b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-20 0:14 ` Jason Gunthorpe
[not found] ` <20100720001436.GH7920-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-07-20 7:25 ` Or Gerlitz
[not found] ` <4C454F80.1060808-hKgKHo2Ms0FWk0Htik3J/w@public.gmane.org>
2010-07-20 17:22 ` Jason Gunthorpe
2010-07-20 18:12 ` Steve Wise
[not found] ` <4C45E701.7030501-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-07-20 18:46 ` Jason Gunthorpe
[not found] ` <20100720184620.GJ7920-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-07-20 19:20 ` Steve Wise
[not found] ` <4C45F6F5.6050008-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-07-20 20:30 ` Jason Gunthorpe
[not found] ` <20100720203044.GK7920-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-07-20 20:50 ` Steve Wise
[not found] ` <4C460BFD.5010707-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-07-20 20:57 ` Jason Gunthorpe
[not found] ` <20100720205746.GL7920-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-07-20 21:03 ` Steve Wise
[not found] ` <4C460F08.7030304-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-07-20 21:15 ` Steve Wise [this message]
2010-07-21 14:40 ` Or Gerlitz
2010-07-21 14:33 ` Or Gerlitz
[not found] ` <4C47053B.3000802-hKgKHo2Ms0FWk0Htik3J/w@public.gmane.org>
2010-07-21 15:48 ` Steve Wise
[not found] ` <4C4716D8.2040902-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-07-22 8:18 ` Or Gerlitz
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=4C4611EA.6000700@opengridcomputing.com \
--to=swise-7bpotxp6k4+p2yhjcf5u+vpxobypeauw@public.gmane.org \
--cc=chien.tin.tung-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mshefty-+/W+9+QloQG75v1z/vFq2g@public.gmane.org \
--cc=ogerlitz-hKgKHo2Ms0FWk0Htik3J/w@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.