|
@@ -20,6 +20,7 @@
|
|
#include <linux/of.h>
|
|
#include <linux/of.h>
|
|
#include <linux/ethtool.h>
|
|
#include <linux/ethtool.h>
|
|
#include <net/devlink.h>
|
|
#include <net/devlink.h>
|
|
|
|
+#include <net/switchdev.h>
|
|
|
|
|
|
struct tc_action;
|
|
struct tc_action;
|
|
struct phy_device;
|
|
struct phy_device;
|
|
@@ -284,12 +285,6 @@ static inline u8 dsa_upstream_port(struct dsa_switch *ds)
|
|
return ds->rtable[dst->cpu_dp->ds->index];
|
|
return ds->rtable[dst->cpu_dp->ds->index];
|
|
}
|
|
}
|
|
|
|
|
|
-struct switchdev_trans;
|
|
|
|
-struct switchdev_obj;
|
|
|
|
-struct switchdev_obj_port_fdb;
|
|
|
|
-struct switchdev_obj_port_mdb;
|
|
|
|
-struct switchdev_obj_port_vlan;
|
|
|
|
-
|
|
|
|
#define DSA_NOTIFIER_BRIDGE_JOIN 1
|
|
#define DSA_NOTIFIER_BRIDGE_JOIN 1
|
|
#define DSA_NOTIFIER_BRIDGE_LEAVE 2
|
|
#define DSA_NOTIFIER_BRIDGE_LEAVE 2
|
|
|
|
|