> On Mon, Oct 12, 2015 at 7:42 PM, Hefty, Sean <sean.he...@intel.com> wrote:
> >> When IP based addressing was introduced, ib_create_ah_from_wc was
> >> changed in order to support a suitable AH. Since this AH should
> >> now contains the DMAC (which isn't a simple derivative of the GID).
> >> In order to find the DMAC, an ARP should sometime be sent. This ARP
> >> is a sleeping context.
> >
> > Wait - are you saying that the CM may now be waiting for an ARP response
> before it can send a message?
> >
> 
> ib_create_ah_from_wc needs to resolve the DMAC in order to create the
> AH (this may result sending an ARP and waiting for response).
> CM uses this function (which is now sleepable).

This is a significant change to the CM.  The CM calls are invoked assuming that 
they return relatively quickly.  They're invoked from callbacks and internally. 
 Having the calls now wait for an ARP response requires that this be 
re-architected, so the calling thread doesn't go out to lunch for several 
seconds.

- Sean

Reply via email to