|
@@ -1865,8 +1865,12 @@ struct net_device {
|
|
struct pcpu_vstats __percpu *vstats;
|
|
struct pcpu_vstats __percpu *vstats;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+#if IS_ENABLED(CONFIG_GARP)
|
|
struct garp_port __rcu *garp_port;
|
|
struct garp_port __rcu *garp_port;
|
|
|
|
+#endif
|
|
|
|
+#if IS_ENABLED(CONFIG_MRP)
|
|
struct mrp_port __rcu *mrp_port;
|
|
struct mrp_port __rcu *mrp_port;
|
|
|
|
+#endif
|
|
|
|
|
|
struct device dev;
|
|
struct device dev;
|
|
const struct attribute_group *sysfs_groups[4];
|
|
const struct attribute_group *sysfs_groups[4];
|