IB/core, RDMA RW API: Do not exceed QP SGE send limit
[deliverable/linux.git] / include / rdma / ib_verbs.h
index 7e440d41487aa8671fbb8952fb01e2bbf63b11f0..e694f02d42e3dc70ca0b20747404da15a8ed3229 100644 (file)
@@ -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;
 };
 
This page took 0.057604 seconds and 5 git commands to generate.