commit | 6eed5e7c8bdce6ee21bbe0be4a3f3dce4d4b392a | [log] [tgz] |
---|---|---|
author | Don Wood <donald.e.wood@intel.com> | Sat Sep 05 20:36:39 2009 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Sat Sep 05 20:36:39 2009 -0700 |
tree | f9b6dc7cef73fb401acbb3b04947fe8b527d7a50 | |
parent | 4b281faec3ad00f7fb00080078321e4d819795eb [diff] |
RDMA/nes: Make poll_cq return correct number of wqes during flush When a flush request is given to the hw, it will place one cqe marked as flushed (unless there is nothing to flush). An application that is waiting for all wqe's to complete will be left hanging. This modifies poll_cq to return the correct number of flushes for the pending elements on the wq. Signed-off-by: Don Wood <donald.e.wood@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>