Message ID | 3F128C9216C9B84BB6ED23EF16290AFB0CB55290@CRSMSX101.amr.corp.intel.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
On Thu, Jul 23, 2015 at 07:26:32PM +0000, Wan, Kaike wrote: > The nl sequence increased sequentially. What's the difference? Hmm, looks like in my version the DGID was getting mangled and this causes ipoib to enter a tight query loop.. Not your problem. > > Actually, looks like nothing removes nl queries from the timeout loop when > > they successfully complete. (ie this series doesn't even have a hope of > > working properly) > > That is incorrect. The first thing in ib_nl_handle_resolve_resp is > to find the request and remove it from the ib_nl_rquest_list. the > timeout routine will remove the entries that have timed out from the > nl request list. Yep, okay, I see it now. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--- a/drivers/infiniband/core/sa_query.c +++ b/drivers/infiniband/core/sa_query.c @@ -653,6 +653,7 @@ static void ib_nl_process_good_resolve_rsp(struct ib_sa_query *query, } } } + printk("Request %u returns answer %u\n", nlh->nlmsg_seq); query->callback(query, status, mad); }