commit | fd1754fb8afbd9cf4ea279d533414aa6577b7e60 | [log] [tgz] |
---|---|---|
author | Hariprasad Shenai <hariprasad@chelsio.com> | Tue Sep 08 16:25:39 2015 +0530 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 09 12:29:26 2015 -0700 |
tree | e0b3894979aca67dd21b67b9cad52ab1870a7f67 | |
parent | d43cefcd68bbc9a67b2c0efe38eb9cf6b5170fe8 [diff] |
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 <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>