From: Hariprasad Shenai Date: Tue, 8 Sep 2015 10:55:39 +0000 (+0530) Subject: cxgb4: Fix tx flit calculation X-Git-Tag: omap-for-v4.3/fixes-rc1~42^2~26^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd1754fb8afbd9cf4ea279d533414aa6577b7e60;p=pandora-kernel.git cxgb4: Fix tx flit calculation In commit 0aac3f56d4a63f04 ("cxgb4: Add comment for calculate tx flits and sge length code") introduced a regression where tx flit calculation is going wrong, which can lead to data corruption, hang, stall and write-combining failure. Fixing it. Signed-off-by: Hariprasad Shenai Signed-off-by: David S. Miller --- Reading git-diff-tree failed