IB/qib: Use rdmavt send and receive flags
Use the definitions of the s_flags and r_flags which are now in rdmavt. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Harish Chegondi <harish.chegondi@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:

committed by
Doug Ledford

parent
0aeddea29c
commit
01ba79d4dd
@@ -703,11 +703,11 @@ busy:
|
||||
|
||||
ibp = &ppd->ibport_data;
|
||||
ibp->rvp.n_dmawait++;
|
||||
qp->s_flags |= QIB_S_WAIT_DMA_DESC;
|
||||
qp->s_flags |= RVT_S_WAIT_DMA_DESC;
|
||||
list_add_tail(&priv->iowait, &dev->dmawait);
|
||||
}
|
||||
spin_unlock(&dev->rdi.pending_lock);
|
||||
qp->s_flags &= ~QIB_S_BUSY;
|
||||
qp->s_flags &= ~RVT_S_BUSY;
|
||||
spin_unlock(&qp->s_lock);
|
||||
ret = -EBUSY;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user