From: Jack Morgenstein Date: Fri, 6 Jan 2006 20:57:30 +0000 (-0800) Subject: IB/mthca: max_inline_data handling tweaks X-Git-Tag: v2.6.16-rc1~678^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b3bc7a68171138d52b1b62012c37ac888895460;p=pandora-kernel.git IB/mthca: max_inline_data handling tweaks Fix a case where copying max_inline_data from a successful create_qp capabilities output to create_qp input could cause EINVAL error: mthca_set_qp_size must check max_inline_data directly against max_desc_sz; checking qp->sq.max_gs is wrong since max_inline_data depends on the qp type and does not involve max_sg. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier --- Reading git-diff-tree failed