[openib-general] [PATCH] NOARP Device Support in the CMA
Tom Tucker
tom at opengridcomputing.com
Fri Feb 10 15:45:16 PST 2006
Sean:
Good catch. You're right. I was looking in the wrong place. It is
processed as you suggest in process_req(...).
We don't need the change to the CMA, only the mod in
addr_resolve_remote(...).
On Fri, 2006-02-10 at 17:38 -0600, Tom Tucker wrote:
> I'll try it and see what happens. I haven't tested your approach in the
> latest tree, so it may work as you describe.
>
> Thanks,
>
> Tom
>
> On Fri, 2006-02-10 at 14:44 -0800, Sean Hefty wrote:
> > >I think what would happen in that case is that the ARP request would get
> > >queued, but never resolved because the ARP reply would never hit the
> > >host (it's eaten by the adapter itself).
> >
> > Returning success (0) from addr_resolve_remote() should mark the request as done
> > and queue it for a callback. This is similar to the case where the ARP data is
> > already cached. In the callback, process_req(), the request will have status ==
> > 0, resulting in a callback to the user.
> >
> > - Sean
> >
>
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
More information about the general
mailing list