Merge tag 'for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford...
[sfrench/cifs-2.6.git] / include / rdma / ib_verbs.h
index 94a0bc5b5bdd47b16678148a04690793321b85c2..8e90dd28bb7536d16058d711b096f8125bd42874 100644 (file)
@@ -1490,6 +1490,10 @@ struct ib_rwq_ind_table_init_attr {
        struct ib_wq    **ind_tbl;
 };
 
+/*
+ * @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;
@@ -1511,6 +1515,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;
        struct ib_rwq_ind_table *rwq_ind_tbl;
 };