From: Steve Wise Date: Thu, 20 May 2010 21:57:43 +0000 (-0500) Subject: RDMA/cxgb4: Optimize CQ overflow detection X-Git-Tag: v2.6.35-rc1~265^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84172dee05cbce6ae791eac481ef4d8590cda791;p=pandora-kernel.git RDMA/cxgb4: Optimize CQ overflow detection 1) save the timestamp flit in the cq when we consume a CQE. 2) always compare the saved flit with the previous entry flit when reading the next CQE entry. If the flits don't compare, then we have overflowed. Signed-off-by: Steve Wise Signed-off-by: Roland Dreier --- Reading git-diff-tree failed