diff options
author | Doug Ledford <dledford@redhat.com> | 2016-08-03 21:51:20 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-08-03 21:51:20 -0400 |
commit | 7c41765d8c30bdf1b056533c0521ecdec0ec11fa (patch) | |
tree | e1365f63a97e80c21938631598cf9726e6704d9e /include/rdma | |
parent | 0636e9ab8355c82ff7e9d6bb8aa2ded834b1f88d (diff) | |
parent | e6d66e3eb65f8b083d827f6864e70b8dcea9d9bb (diff) |
Merge branches 'hfi1' and 'sge-limit' into k.o/for-4.8-2
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/ib_verbs.h | 6 |
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; }; |