IB/core: Add creation flags to struct ib_qp_init_attr
[linux-2.6-block.git] / include / rdma / ib_verbs.h
index 40ff51244d190d9530fcd8f2df68605690f10ec3..c3299be41c6fcdfed1b8f27c2fc418ea2e8371be 100644 (file)
@@ -495,6 +495,10 @@ enum ib_qp_type {
        IB_QPT_RAW_ETY
 };
 
+enum ib_qp_create_flags {
+       IB_QP_CREATE_IPOIB_UD_LSO       = 1 << 0,
+};
+
 struct ib_qp_init_attr {
        void                  (*event_handler)(struct ib_event *, void *);
        void                   *qp_context;
@@ -504,6 +508,7 @@ struct ib_qp_init_attr {
        struct ib_qp_cap        cap;
        enum ib_sig_type        sq_sig_type;
        enum ib_qp_type         qp_type;
+       enum ib_qp_create_flags create_flags;
        u8                      port_num; /* special QP types only */
 };