diff options
author | Steve Wise <swise@opengridcomputing.com> | 2010-05-20 16:57:43 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-05-24 21:08:01 -0700 |
commit | 84172dee05cbce6ae791eac481ef4d8590cda791 (patch) | |
tree | d631f0991e8be72d1d4d1cd2e1ce8d32eb5116e5 /drivers/hid/hid-ortek.c | |
parent | 895cf5f3d6cb72825919a39ae48a41476a821e65 (diff) | |
download | kernel_samsung_smdk4412-84172dee05cbce6ae791eac481ef4d8590cda791.zip kernel_samsung_smdk4412-84172dee05cbce6ae791eac481ef4d8590cda791.tar.gz kernel_samsung_smdk4412-84172dee05cbce6ae791eac481ef4d8590cda791.tar.bz2 |
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 <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/hid/hid-ortek.c')
0 files changed, 0 insertions, 0 deletions