commit | 086dc6e359d11fd29d0f2041cdc0bb76a5d807d8 | [log] [tgz] |
---|---|---|
author | Steve Wise <swise@opengridcomputing.com> | Wed Feb 17 08:15:42 2016 -0800 |
committer | Doug Ledford <dledford@redhat.com> | Mon Feb 29 17:10:27 2016 -0500 |
tree | 20dc645465f0115f6bf77990929cab1ef371ad83 | |
parent | 765d67748bcf802c4642a49cd0139787d0d80783 [diff] |
iw_cxgb4: add queue drain functions Add completion objects, named sq_drained and rq_drained, to the c4iw_qp struct. The queue-specific completion object is signaled when the last CQE is drained from the CQ for that queue. Add c4iw_drain_sq() to block until qp->rq_drained is completed. Add c4iw_drain_rq() to block until qp->sq_drained is completed. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>