summaryrefslogtreecommitdiff
path: root/ofproto/ofproto.h
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@ovn.org>2016-04-25 11:27:58 -0700
committerPravin B Shelar <pshelar@ovn.org>2016-04-27 15:00:37 -0700
commit42deb67d54cb1405e97b634709bd556bebb1d96a (patch)
tree8ca191f3ef47785954008021b9c9292d1bcae1d4 /ofproto/ofproto.h
parentac93328273238b5dc86353222264fa4f30ad95e8 (diff)
downloadopenvswitch-42deb67d54cb1405e97b634709bd556bebb1d96a.tar.gz
Remove "VLAN splinters" feature.
The "VLAN splinters" feature works around buggy device drivers in old Linux versions. But support for the old kernel is dropped, So now all supported kernel vlan drivers should be working fine with OVS kernel datapath. Following patch removes this deprecated feature. Signed-off-by: Pravin B Shelar <pshelar@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ofproto/ofproto.h')
-rw-r--r--ofproto/ofproto.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h
index 2d241c96d..85888726b 100644
--- a/ofproto/ofproto.h
+++ b/ofproto/ofproto.h
@@ -399,14 +399,6 @@ struct ofproto_bundle_settings {
struct lacp_settings *lacp; /* Nonnull to enable LACP. */
struct lacp_slave_settings *lacp_slaves; /* Array of n_slaves elements. */
-
- /* Linux VLAN device support (e.g. "eth0.10" for VLAN 10.)
- *
- * This is deprecated. It is only for compatibility with broken device
- * drivers in old versions of Linux that do not properly support VLANs when
- * VLAN devices are not used. When broken device drivers are no longer in
- * widespread use, we will delete these interfaces. */
- ofp_port_t realdev_ofp_port;/* OpenFlow port number of real device. */
};
int ofproto_bundle_register(struct ofproto *, void *aux,
@@ -504,18 +496,6 @@ int ofproto_port_get_cfm_status(const struct ofproto *,
ofp_port_t ofp_port,
struct cfm_status *);
-/* Linux VLAN device support (e.g. "eth0.10" for VLAN 10.)
- *
- * This is deprecated. It is only for compatibility with broken device drivers
- * in old versions of Linux that do not properly support VLANs when VLAN
- * devices are not used. When broken device drivers are no longer in
- * widespread use, we will delete these interfaces. */
-
-void ofproto_get_vlan_usage(struct ofproto *, unsigned long int *vlan_bitmap);
-bool ofproto_has_vlan_usage_changed(const struct ofproto *);
-int ofproto_port_set_realdev(struct ofproto *, ofp_port_t vlandev_ofp_port,
- ofp_port_t realdev_ofp_port, int vid);
-
/* Table configuration */
enum ofputil_table_miss ofproto_table_get_miss_config(const struct ofproto *,