From: Steve Wise Date: Fri, 9 Nov 2007 15:21:58 +0000 (-0600) Subject: RDMA/cxgb3: Set the max_qp_init_rd_atom attribute in query_device X-Git-Tag: v2.6.24-rc3~14^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a7666494bac60b99d2bd7d904bd22e8c9b1e3f7;p=pandora-kernel.git RDMA/cxgb3: Set the max_qp_init_rd_atom attribute in query_device The device attribute max_qp_init_rd_atom is not getting set in cxgb3's query_device method. Version 1.0.4 of librdmacm now validates the user's requested initiator and responder resources against the max supported by the device. Since iw_cxgb3 wasn't setting this attribute (and it defaulted to 0), all rdma_connect()s fail if there are initiator resources requested by the app. Fix this by setting the correct value in iwch_query_device(). Signed-off-by: Steve Wise Signed-off-by: Roland Dreier --- Reading git-diff-tree failed