Thread (1 message) 1 message, 1 author, 2015-10-13

Re: [PATCH rdma-RC] IB/cm: Fix sleeping while atomic when creating AH from WC

From: Matan Barak <hidden>
Date: 2015-10-13 08:22:31

On Mon, Oct 12, 2015 at 7:42 PM, Hefty, Sean [off-list ref] wrote:
quoted
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).
--
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
--
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help