diff options
author | Roland Dreier <rolandd@cisco.com> | 2005-11-09 20:18:51 +0000 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-11-09 19:57:04 -0800 |
commit | 9351061f8b56d566a878af69aaa7ca20629b10b2 (patch) | |
tree | f59835b55c292b14aaaaffbf4942f7217260f23f | |
parent | f0721148654ca090423638a490397e81e8f2745b (diff) | |
download | libmthca-9351061f8b56d566a878af69aaa7ca20629b10b2.tar.gz |
Handle wrap-around in mthca_cq_clean()
Fix mthca_cq_clean() to handle wrap-around of CQ indices, especially
the case where the CQ is empty.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2005-11-09 Roland Dreier <roland@cisco.com> + + * src/cq.c (mthca_cq_clean): Handle case where CQ indices wrap + around by treating signed comparisons of prod_index and + cq->cons_index carefully. + 2005-11-09 Michael S. Tsirkin <mst@mellanox.co.il> * src/srq.c (mthca_tavor_post_srq_recv), src/qp.c |