On Mon, Oct 12, 2015 at 7:42 PM, Hefty, Sean <sean.hefty@xxxxxxxxx> 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). > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > 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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html