diff options
Diffstat (limited to 'include/net/switchdev.h')
-rw-r--r-- | include/net/switchdev.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/switchdev.h b/include/net/switchdev.h index 5e87b54c5dc5..de72b0a3867f 100644 --- a/include/net/switchdev.h +++ b/include/net/switchdev.h | |||
@@ -46,6 +46,7 @@ enum switchdev_attr_id { | |||
46 | SWITCHDEV_ATTR_ID_PORT_STP_STATE, | 46 | SWITCHDEV_ATTR_ID_PORT_STP_STATE, |
47 | SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS, | 47 | SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS, |
48 | SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS_SUPPORT, | 48 | SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS_SUPPORT, |
49 | SWITCHDEV_ATTR_ID_PORT_PRE_BRIDGE_FLAGS, | ||
49 | SWITCHDEV_ATTR_ID_PORT_MROUTER, | 50 | SWITCHDEV_ATTR_ID_PORT_MROUTER, |
50 | SWITCHDEV_ATTR_ID_BRIDGE_AGEING_TIME, | 51 | SWITCHDEV_ATTR_ID_BRIDGE_AGEING_TIME, |
51 | SWITCHDEV_ATTR_ID_BRIDGE_VLAN_FILTERING, | 52 | SWITCHDEV_ATTR_ID_BRIDGE_VLAN_FILTERING, |
@@ -61,7 +62,7 @@ struct switchdev_attr { | |||
61 | void (*complete)(struct net_device *dev, int err, void *priv); | 62 | void (*complete)(struct net_device *dev, int err, void *priv); |
62 | union { | 63 | union { |
63 | u8 stp_state; /* PORT_STP_STATE */ | 64 | u8 stp_state; /* PORT_STP_STATE */ |
64 | unsigned long brport_flags; /* PORT_BRIDGE_FLAGS */ | 65 | unsigned long brport_flags; /* PORT_{PRE}_BRIDGE_FLAGS */ |
65 | unsigned long brport_flags_support; /* PORT_BRIDGE_FLAGS_SUPPORT */ | 66 | unsigned long brport_flags_support; /* PORT_BRIDGE_FLAGS_SUPPORT */ |
66 | bool mrouter; /* PORT_MROUTER */ | 67 | bool mrouter; /* PORT_MROUTER */ |
67 | clock_t ageing_time; /* BRIDGE_AGEING_TIME */ | 68 | clock_t ageing_time; /* BRIDGE_AGEING_TIME */ |