diff options
author | Dennis Dalessandro | 2016-01-19 23:43:01 +0100 |
---|---|---|
committer | Doug Ledford | 2016-03-11 02:37:40 +0100 |
commit | 54d10c1eb1dc381e62361213bbd100a433b733c9 (patch) | |
tree | 2f6720283d2ea2acea39b839a5482170b0fc99b2 /drivers/staging/rdma/hfi1/qp.h | |
parent | staging/rdma/hfi1: Remove user context allocation and de-alloction functions (diff) | |
download | kernel-qcow2-linux-54d10c1eb1dc381e62361213bbd100a433b733c9.tar.gz kernel-qcow2-linux-54d10c1eb1dc381e62361213bbd100a433b733c9.tar.xz kernel-qcow2-linux-54d10c1eb1dc381e62361213bbd100a433b733c9.zip |
staging/rdma/hfi1: Use rdmavt send flags and recv flags
Use the definitions of the s_flags and r_flags which are now in rdmavt.
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Harish Chegondi <harish.chegondi@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/staging/rdma/hfi1/qp.h')
-rw-r--r-- | drivers/staging/rdma/hfi1/qp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rdma/hfi1/qp.h b/drivers/staging/rdma/hfi1/qp.h index 8e665622a93b..9efa4bc634e7 100644 --- a/drivers/staging/rdma/hfi1/qp.h +++ b/drivers/staging/rdma/hfi1/qp.h @@ -125,7 +125,7 @@ static inline void clear_ahg(struct rvt_qp *qp) struct hfi1_qp_priv *priv = qp->priv; priv->s_hdr->ahgcount = 0; - qp->s_flags &= ~(HFI1_S_AHG_VALID | HFI1_S_AHG_CLEAR); + qp->s_flags &= ~(RVT_S_AHG_VALID | RVT_S_AHG_CLEAR); if (priv->s_sde && qp->s_ahgidx >= 0) sdma_ahg_free(priv->s_sde, qp->s_ahgidx); qp->s_ahgidx = -1; |