Marcus Meissner
4e8d8ef605
- New upstream version 1.7.0 * Added support to mask nd_target for ICMPv6 neighbor discovery flows. * Added the granular link health statistics, 'cfm_health', to an interface. * Added ability to configure DSCP setting for manager and controller connections. * Tripled flow setup performance. - Adjusted openvswitch-1.1.0-stp-fwd-delay.patch (new filename) OBS-URL: https://build.opensuse.org/request/show/129473 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=13
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
diff -ruN openvswitch-1.7.0/datapath/brcompat_main.c openvswitch-1.7.0.new/datapath/brcompat_main.c
|
|
--- openvswitch-1.7.0/datapath/brcompat_main.c 2012-07-19 00:24:18.000000000 +0200
|
|
+++ openvswitch-1.7.0.new/datapath/brcompat_main.c 2012-07-31 13:51:47.319114805 +0200
|
|
@@ -327,6 +327,19 @@
|
|
return -ENOMEM;
|
|
}
|
|
|
|
+static int brc_set_bridge_forward_delay(struct net_device *dev,
|
|
+ unsigned long delay)
|
|
+{
|
|
+ printk("attempting to set bridge forward delay %u\n", delay);
|
|
+ return 0;
|
|
+}
|
|
+
|
|
+static int brc_stp_set_enabled(struct net_device *dev, unsigned long state)
|
|
+{
|
|
+ printk("attempting to set bridge STP to %u\n", state);
|
|
+ return 0;
|
|
+}
|
|
+
|
|
/* Legacy ioctl's through SIOCDEVPRIVATE. Called with rtnl_lock. */
|
|
static int old_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
|
|
{
|
|
@@ -350,6 +363,11 @@
|
|
case BRCTL_GET_FDB_ENTRIES:
|
|
return brc_get_fdb_entries(dev, (void __user *)args[1],
|
|
args[2], args[3]);
|
|
+ case BRCTL_SET_BRIDGE_FORWARD_DELAY:
|
|
+ return brc_set_bridge_forward_delay(dev, args[1]);
|
|
+
|
|
+ case BRCTL_SET_BRIDGE_STP_STATE:
|
|
+ return brc_stp_set_enabled(dev, args[1]);
|
|
}
|
|
|
|
return -EOPNOTSUPP;
|