RDMA/cxgb4: Optimize CQ overflow detection
authorSteve Wise <swise@opengridcomputing.com>
Thu, 20 May 2010 21:57:43 +0000 (16:57 -0500)
committerRoland Dreier <rolandd@cisco.com>
Tue, 25 May 2010 04:08:01 +0000 (21:08 -0700)
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 <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found