brcompatd: Factor code out of handle_fdb_query_cmd().
[openvswitch] / datapath / datapath.h
index 6ff8d2102878a5672a572ca87d1e657a4f446e7b..62c79d43b88d8e29eadb3116f8c5eb2f542f077f 100644 (file)
@@ -19,7 +19,7 @@
 #include <linux/workqueue.h>
 #include <linux/skbuff.h>
 #include "flow.h"
-#include "brc_sysfs.h"
+#include "dp_sysfs.h"
 
 /* Mask for the priority bits in a vlan header.  If we ever merge upstream
  * then this should go into include/linux/if_vlan.h. */
@@ -64,9 +64,7 @@ struct datapath {
        struct mutex mutex;
        int dp_idx;
 
-#ifdef SUPPORT_SYSFS
        struct kobject ifobj;
-#endif
 
        int drop_frags;
 
@@ -94,9 +92,8 @@ struct net_bridge_port {
        u16 port_no;
        struct datapath *dp;
        struct net_device *dev;
-#ifdef SUPPORT_SYSFS
        struct kobject kobj;
-#endif
+       char linkname[IFNAMSIZ];
        struct list_head node;   /* Element in datapath.ports. */
 };