summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2016-08-04 03:51:20 +0200
committerDoug Ledford <dledford@redhat.com>2016-08-04 03:51:20 +0200
commit7c41765d8c30bdf1b056533c0521ecdec0ec11fa (patch)
treee1365f63a97e80c21938631598cf9726e6704d9e /include
parentIB/hfi1: Add cache evict LRU list (diff)
parentIB/isert: Remove an unused member variable (diff)
downloadlinux-7c41765d8c30bdf1b056533c0521ecdec0ec11fa.tar.xz
linux-7c41765d8c30bdf1b056533c0521ecdec0ec11fa.zip
Merge branches 'hfi1' and 'sge-limit' into k.o/for-4.8-2
Diffstat (limited to 'include')
-rw-r--r--include/rdma/ib_verbs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 7e440d41487a..e694f02d42e3 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -1428,6 +1428,10 @@ struct ib_srq {
} ext;
};
+/*
+ * @max_write_sge: Maximum SGE elements per RDMA WRITE request.
+ * @max_read_sge: Maximum SGE elements per RDMA READ request.
+ */
struct ib_qp {
struct ib_device *device;
struct ib_pd *pd;
@@ -1449,6 +1453,8 @@ struct ib_qp {
void (*event_handler)(struct ib_event *, void *);
void *qp_context;
u32 qp_num;
+ u32 max_write_sge;
+ u32 max_read_sge;
enum ib_qp_type qp_type;
};