summaryrefslogtreecommitdiffstats
path: root/include/rdma/rdma_vt.h
diff options
context:
space:
mode:
authorBrian Welty2017-02-08 14:27:31 +0100
committerDoug Ledford2017-02-19 15:18:41 +0100
commit0128fceaf934dbfca4537d4eb8c3a5f7e84562c8 (patch)
tree08988e2aed15cc813361d12954c0bb5307a55472 /include/rdma/rdma_vt.h
parentIB/qib: Use new rdmavt timers (diff)
downloadkernel-qcow2-linux-0128fceaf934dbfca4537d4eb8c3a5f7e84562c8.tar.gz
kernel-qcow2-linux-0128fceaf934dbfca4537d4eb8c3a5f7e84562c8.tar.xz
kernel-qcow2-linux-0128fceaf934dbfca4537d4eb8c3a5f7e84562c8.zip
IB/hfi1, rdmavt: Update copy_sge to use boolean arguments
Convert copy_sge and related SGE state functions to use boolean. For determining if QP is in user mode, add helper function in rdmavt_qp.h. This is used to determine if QP needs the last byte ordering. While here, change rvt_pd.user to a boolean. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Reviewed-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Brian Welty <brian.welty@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma/rdma_vt.h')
-rw-r--r--include/rdma/rdma_vt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/rdma_vt.h b/include/rdma/rdma_vt.h
index a69dee38365f..8fc1ca7b6f23 100644
--- a/include/rdma/rdma_vt.h
+++ b/include/rdma/rdma_vt.h
@@ -164,7 +164,7 @@ struct rvt_driver_params {
/* Protection domain */
struct rvt_pd {
struct ib_pd ibpd;
- int user; /* non-zero if created from user space */
+ bool user;
};
/* Address handle */