From: Roland Dreier Date: Tue, 15 Jul 2008 06:48:52 +0000 (-0700) Subject: IB/mthca: Fix check of max_send_sge for special QPs X-Git-Tag: v2.6.27-rc1~1090^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aed012279d35e88e29fd55737d8821604433f50a;p=pandora-kernel.git IB/mthca: Fix check of max_send_sge for special QPs The MLX transport requires two extra gather entries for sends (one for the header and one for the checksum at the end, as the comment says). However the code checked that max_recv_sge was not too big, instead of checking max_send_sge as it should have. Fix the code to check the correct condition. Signed-off-by: Roland Dreier --- Reading git-diff-tree failed