|
@@ -54,9 +54,7 @@ static struct uverbs_lock_class qp_lock_class = { .name = "QP-uobj" };
|
|
static struct uverbs_lock_class ah_lock_class = { .name = "AH-uobj" };
|
|
static struct uverbs_lock_class ah_lock_class = { .name = "AH-uobj" };
|
|
static struct uverbs_lock_class srq_lock_class = { .name = "SRQ-uobj" };
|
|
static struct uverbs_lock_class srq_lock_class = { .name = "SRQ-uobj" };
|
|
static struct uverbs_lock_class xrcd_lock_class = { .name = "XRCD-uobj" };
|
|
static struct uverbs_lock_class xrcd_lock_class = { .name = "XRCD-uobj" };
|
|
-#ifdef CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING
|
|
|
|
static struct uverbs_lock_class rule_lock_class = { .name = "RULE-uobj" };
|
|
static struct uverbs_lock_class rule_lock_class = { .name = "RULE-uobj" };
|
|
-#endif /* CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING */
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
* The ib_uobject locking scheme is as follows:
|
|
* The ib_uobject locking scheme is as follows:
|
|
@@ -2593,7 +2591,6 @@ out_put:
|
|
return ret ? ret : in_len;
|
|
return ret ? ret : in_len;
|
|
}
|
|
}
|
|
|
|
|
|
-#ifdef CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING
|
|
|
|
static int kern_spec_to_ib_spec(struct ib_uverbs_flow_spec *kern_spec,
|
|
static int kern_spec_to_ib_spec(struct ib_uverbs_flow_spec *kern_spec,
|
|
union ib_flow_spec *ib_spec)
|
|
union ib_flow_spec *ib_spec)
|
|
{
|
|
{
|
|
@@ -2821,7 +2818,6 @@ int ib_uverbs_ex_destroy_flow(struct ib_uverbs_file *file,
|
|
|
|
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
-#endif /* CONFIG_INFINIBAND_EXPERIMENTAL_UVERBS_FLOW_STEERING */
|
|
|
|
|
|
|
|
static int __uverbs_create_xsrq(struct ib_uverbs_file *file,
|
|
static int __uverbs_create_xsrq(struct ib_uverbs_file *file,
|
|
struct ib_uverbs_create_xsrq *cmd,
|
|
struct ib_uverbs_create_xsrq *cmd,
|