|
@@ -232,6 +232,18 @@ struct irq_affinity_notify {
|
|
void (*release)(struct kref *ref);
|
|
void (*release)(struct kref *ref);
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * struct irq_affinity - Description for automatic irq affinity assignements
|
|
|
|
+ * @pre_vectors: Don't apply affinity to @pre_vectors at beginning of
|
|
|
|
+ * the MSI(-X) vector space
|
|
|
|
+ * @post_vectors: Don't apply affinity to @post_vectors at end of
|
|
|
|
+ * the MSI(-X) vector space
|
|
|
|
+ */
|
|
|
|
+struct irq_affinity {
|
|
|
|
+ int pre_vectors;
|
|
|
|
+ int post_vectors;
|
|
|
|
+};
|
|
|
|
+
|
|
#if defined(CONFIG_SMP)
|
|
#if defined(CONFIG_SMP)
|
|
|
|
|
|
extern cpumask_var_t irq_default_affinity;
|
|
extern cpumask_var_t irq_default_affinity;
|