ocfs2: adjust code style for o2net_handler_tree_lookup()
[linux-2.6-block.git] / include / rdma / ib_verbs.h
index 6f874b00491a9e3905376d31db7f7a7520bedbfc..e393171e2facd2ad6317783560ceae6f89f80763 100644 (file)
@@ -636,6 +636,12 @@ enum ib_qp_create_flags {
        IB_QP_CREATE_RESERVED_END               = 1 << 31,
 };
 
+
+/*
+ * Note: users may not call ib_close_qp or ib_destroy_qp from the event_handler
+ * callback to destroy the passed in QP.
+ */
+
 struct ib_qp_init_attr {
        void                  (*event_handler)(struct ib_event *, void *);
        void                   *qp_context;
@@ -954,6 +960,7 @@ struct ib_ucontext {
        struct list_head        srq_list;
        struct list_head        ah_list;
        struct list_head        xrcd_list;
+       struct list_head        rule_list;
        int                     closing;
 };
 
@@ -1097,6 +1104,8 @@ enum ib_flow_spec_type {
        IB_FLOW_SPEC_UDP        = 0x41
 };
 
+#define IB_FLOW_SPEC_SUPPORT_LAYERS 4
+
 /* Flow steering rule priority is set according to it's domain.
  * Lower domain value means higher priority.
  */