[ovs-dev] [PATCH] ovs-vsctl: check if the device name is valid

2012-10-24 Thread Cong Wang
Before waiting for the kernel to reject an invalid name, we can actually check it before going into the kernel. The code is stolen from linux kernel function dev_valid_name(), but it should apply to non-Linux arch as well, because IFNAMSIZ is POSIX and other errors are obvious. After this patch I

Re: [ovs-dev] [PATCH] datapath: Fix zero key tunnels.

2012-10-24 Thread Kyle Mestery (kmestery)
On Oct 23, 2012, at 8:42 PM, Pravin B Shelar wrote: > Datapath tunneling check for flag OVS_FLOW_TNL_F_KEY is failing, > causing it to drop packet. This only happens on tunnels with > zero key as vswitchd does not generate set-tunnel action. Set > tunnel action sets this flags for given action. To

Re: [ovs-dev] [PATCH] ovs-vsctl: check if the device name is valid

2012-10-24 Thread Ben Pfaff
On Wed, Oct 24, 2012 at 05:45:36PM +0800, Cong Wang wrote: > Before waiting for the kernel to reject an invalid name, we > can actually check it before going into the kernel. The code > is stolen from linux kernel function dev_valid_name(), > but it should apply to non-Linux arch as well, because >

[ovs-dev] Linux Kernel 3.6.x and OVS

2012-10-24 Thread Kyle Mestery (kmestery)
Is anyone working on getting this kernel working with OVS? I've started looking at this, as Fedora has moved to a 3.6.2 kernel, and it looks like the routing code has changed such that the tunneling code in OVS needs an update. I can continue to proceed down this path unless someone else is alre

[ovs-dev] [PATCH 1/3] rconn: Factor code out from copy_to_monitor().

2012-10-24 Thread Ben Pfaff
This prepares for the introduction of a second user in the following commit. Signed-off-by: Ben Pfaff --- lib/rconn.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/lib/rconn.c b/lib/rconn.c index ddf578c..5d7595f 100644 --- a/lib/rconn.c +++ b/lib/rconn.c

[ovs-dev] [PATCH 3/3] ovs-ofctl: Make "ovs-ofctl monitor" respond to echo requests.

2012-10-24 Thread Ben Pfaff
Otherwise the command will time out after a while when there's no traffic, which probably isn't what we want. Reported-by: Henry Mai Signed-off-by: Ben Pfaff --- utilities/ovs-ofctl.c | 34 +++--- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/utili

[ovs-dev] [PATCH 2/3] rconn: Discard messages received on monitor connections.

2012-10-24 Thread Ben Pfaff
Otherwise, if a monitor connection happens to be talking to a (misguided?) peer that sends it messages, such as replies to what the peer perceives as echo requests meant for it, then the peer will eventually hang trying to send data because the monitor connection never sinks it. Signed-off-by: Ben

Re: [ovs-dev] [PATCH 04/18] ofp-util: Add version bitmap to hello messages

2012-10-24 Thread Ben Pfaff
On Thu, Oct 18, 2012 at 02:58:04PM +0900, Simon Horman wrote: > Allow encoding and decoding of version bitmap in hello messages > as specified in Open Flow 1.3.1. > > Signed-off-by: Simon Horman Thanks for doing this. It looks like ofputil_decode_hello() only processes a single hello element, o

Re: [ovs-dev] Linux Kernel 3.6.x and OVS

2012-10-24 Thread Pravin Shelar
Hi Kyle, I have patches for 3.6 support. I will send it out after 1.8 release. Thanks, Pravin. On Wed, Oct 24, 2012 at 9:19 AM, Kyle Mestery (kmestery) wrote: > Is anyone working on getting this kernel working with OVS? I've started > looking at this, as Fedora has moved to a 3.6.2 kernel, and

Re: [ovs-dev] Linux Kernel 3.6.x and OVS

2012-10-24 Thread Kyle Mestery (kmestery)
On Oct 24, 2012, at 12:59 PM, Pravin Shelar wrote: > Hi Kyle, > I have patches for 3.6 support. I will send it out after 1.8 release. > Any chance you can send out the diff now? I'd like to run with it if it's ok with you. Thanks! Kyle > Thanks, > Pravin. > > On Wed, Oct 24, 2012 at 9:19 AM, K

Re: [ovs-dev] Linux Kernel 3.6.x and OVS

2012-10-24 Thread Kyle Mestery (kmestery)
Actually, is there any reason these can't go in before 1.8 release? If not, 1.8 won't work with the latest Fedora, for example, without your patch. Thanks, Kyle On Oct 24, 2012, at 12:59 PM, Pravin Shelar wrote: > Hi Kyle, > I have patches for 3.6 support. I will send it out after 1.8 release.

Re: [ovs-dev] Linux Kernel 3.6.x and OVS

2012-10-24 Thread Pravin Shelar
On Wed, Oct 24, 2012 at 11:02 AM, Kyle Mestery (kmestery) wrote: > On Oct 24, 2012, at 12:59 PM, Pravin Shelar wrote: >> Hi Kyle, >> I have patches for 3.6 support. I will send it out after 1.8 release. >> > Any chance you can send out the diff now? I'd like to run with it if it's ok > with you.

[ovs-dev] [1.4 backports 0/6] backports of datapaths fixes to 1.4

2012-10-24 Thread Ben Pfaff
Yesterday, while going through datapath changes on master, I noticed that some bugfixes seem to be relevant and missing on master. Here is a series of backports for review. Thanks, Ben. Ansis Atteka (1): datapath: Release rtnl_lock if ovs_vport_cmd_build_info() failed Ben Pfaff (1): datapa

[ovs-dev] [1.4 backports 1/6] datapath: Honor dp_ifindex, when specified, for vport lookup by name.

2012-10-24 Thread Ben Pfaff
When OVS_VPORT_ATTR_NAME is specified and dp_ifindex is nonzero, the logical behavior would be for the vport name lookup scope to be limited to the specified datapath, but in fact the dp_ifindex value was ignored. This commit causes the search scope to be honored. This is a crossport of commit 24c

[ovs-dev] [1.4 backports 2/6] datapath: Move CSUM_MANGLED_0 definition to net checksum header.

2012-10-24 Thread Ben Pfaff
From: Pravin B Shelar Following patch fixes compilation error on older kernel. This is a crossport of commit 08d19ca9fef29b23826f1fb52e2368a9077783ca from master. Signed-off-by: Pravin B Shelar Acked-by: Jesse Gross --- datapath/linux/compat/include/net/checksum.h |4 1 files change

[ovs-dev] [1.4 backports 3/6] datapath: Fix checksum update for actions on UDP packets.

2012-10-24 Thread Ben Pfaff
From: Jesse Gross When modifying IP addresses or ports on a UDP packet we don't correctly follow the rules for unchecksummed packets. This meant that packets without a checksum can be given a incorrect new checksum and packets with a checksum can become marked as being unchecksummed. This fixes

[ovs-dev] [1.4 backports 4/6] flow: Add length check when retrieving TCP flags.

2012-10-24 Thread Ben Pfaff
From: Jesse Gross When collecting TCP flags we check that the IP header indicates that a TCP header is present but not that the packet is actually long enough to contain the header. This adds a check to prevent reading off the end of the packet. In practice, this is only likely to result in rea

[ovs-dev] [1.4 backports 5/6] datapath: Release rtnl_lock if ovs_vport_cmd_build_info() failed

2012-10-24 Thread Ben Pfaff
From: Ansis Atteka This patch fixes a possible lock-up bug where rtnl_lock might not get released. This is a crossport of commit 7a6c067d1ad65ae4abdb723b25a4ab591d1d2bc3 from master. Acked-by: Jesse Gross Signed-off-by: Ansis Atteka --- datapath/datapath.c |5 ++--- 1 files changed, 2 in

[ovs-dev] [1.4 backports 6/6] datapath: Fix Tunnel options TOS

2012-10-24 Thread Ben Pfaff
From: Pravin B Shelar Use DSCP bits from ToS set on tunnel. This is a crossport of commit 749ae9504293dbb695dd67402acbd47acbcbeb83 from master. Bug #8822. Signed-off-by: Pravin B Shelar Acked-by: Jesse Gross --- datapath/tunnel.c| 20 vswitchd/vswitch.xml |3 ++

Re: [ovs-dev] userspace datapath performance (was: Re: Threaded userspace datapath)

2012-10-24 Thread Ben Pfaff
On Thu, Oct 11, 2012 at 01:13:44AM +0200, Luigi Rizzo wrote: > Anyways, let's see if we can find some agreement on how to > proceed with a face-to-face meeting Will you attend the ONF workday next week Tuesday in Santa Clara? It is free to all ONF members (Google is one, so that's probably good e

[ovs-dev] [PATCH] ovs-ctl.in: Don't save flows if the daemons are not running.

2012-10-24 Thread Gurucharan Shetty
When a 'ovs-ctl restart' is executed and the userspace daemons like ovsdb-server and ovs-vswitchd are not running, attempt to save flows can wait forever. This also results in the daemons from not getting started. Signed-off-by: Gurucharan Shetty --- utilities/ovs-ctl.in |8 +--- 1 files

Re: [ovs-dev] [PATCH] ovs-ctl.in: Don't save flows if the daemons are not running.

2012-10-24 Thread Ben Pfaff
On Wed, Oct 24, 2012 at 01:19:24PM -0700, Gurucharan Shetty wrote: > When a 'ovs-ctl restart' is executed and the userspace daemons > like ovsdb-server and ovs-vswitchd are not running, attempt to > save flows can wait forever. This also results in the daemons > from not getting started. > > Signe

[ovs-dev] [PATCH] ofproto: Report 0 Mbps when speed not available instead of 100 Mbps.

2012-10-24 Thread Ben Pfaff
When a link is down, or when a link has no speed because it is not a physical interface, Open vSwitch previously reported that its rate is 100 Mbps as a default. This is counterintuitive, however, so this commit changes Open vSwitch behavior to report 0 Mbps when a link is down or its speed is oth

[ovs-dev] [PATCH 1/3] timeval: Take a backtrace on each SIGALRM.

2012-10-24 Thread Ethan Jackson
With this patch, timeval will take a backtrace with each SIGALRM allowing it to retrieve a profiling snapshot instantly. This will be useful in future patches when backtraces are logged. Signed-off-by: Ethan Jackson --- lib/timeval.c | 68 ++

[ovs-dev] [PATCH 2/3] timeval: Coalesce backtraces with counts.

2012-10-24 Thread Ethan Jackson
With this patch, `ovs-appctl backtrace` will return a unique list of backtraces and a count of how many times it has been recorded. This work had previously been done by ovs-parse-backtrace. However, in future patches poll-loop will begin logging backtraces as a matter of course. At this point, co

[ovs-dev] [PATCH 3/3] poll-loop: Log backtraces when CPU usage is high.

2012-10-24 Thread Ethan Jackson
Often when debugging Open vSwitch, one will see in the logs that CPU usage has been high for some period of time, but it's totally unclear why. In an attempt to remedy the situation, this patch logs backtraces taken at regular intervals as a poor man's profiling alternative. Signed-off-by: Ethan

[ovs-dev] [PATCH 1/2] xenserver, rhel, debian: Use ovs-ctl restart.

2012-10-24 Thread Gurucharan Shetty
ovs-ctl has a new command called "restart" which saves and restores the openflow flows on bridges. Use that command from the init scripts when doing a "restart --save-flows=yes". Feature #13555. Signed-off-by: Gurucharan Shetty --- debian/openvswitch-switch.init | 13 +++-- rhel/etc_i

[ovs-dev] [PATCH 2/2] debian: Use restart --save-flows=yes during postinst.

2012-10-24 Thread Gurucharan Shetty
When debian package for openvswitch-switch is upgraded, restart the daemons using the "--save-flows=yes" flag. This will save the openflow flows in vswitchd and re-apply it after the upgrade. Feature #13555. Signed-off-by: Gurucharan Shetty --- debian/openvswitch-switch.postinst | 14 +

Re: [ovs-dev] [PATCH] Allow processing of RARP packets.

2012-10-24 Thread Jesse Gross
On Tue, Oct 23, 2012 at 7:17 PM, Mehak Mahajan wrote: > With this commit, the datapath will process the ARP header for > RARP packets. It also fixes a bug whereby if the ARP opcode is > something other than ARP request or reply, the key_len is not > adjusted to include ARP info. > > Signed-off-by

Re: [ovs-dev] [PATCH] Allow processing of RARP packets.

2012-10-24 Thread Mehak Mahajan
Thanks for the review Jesse. ~ Mehak On Wed, Oct 24, 2012 at 3:19 PM, Jesse Gross wrote: > On Tue, Oct 23, 2012 at 7:17 PM, Mehak Mahajan > wrote: > > With this commit, the datapath will process the ARP header for > > RARP packets. It also fixes a bug whereby if the ARP opcode is > > somethin

Re: [ovs-dev] [PATCH 1/2] xenserver, rhel, debian: Use ovs-ctl restart.

2012-10-24 Thread Ben Pfaff
On Wed, Oct 24, 2012 at 02:21:39PM -0700, Gurucharan Shetty wrote: > ovs-ctl has a new command called "restart" which > saves and restores the openflow flows on bridges. > Use that command from the init scripts when doing > a "restart --save-flows=yes". > > Feature #13555. > Signed-off-by: Gurucha

Re: [ovs-dev] [PATCH 1/2] xenserver, rhel, debian: Use ovs-ctl restart.

2012-10-24 Thread Gurucharan Shetty
On Wed, Oct 24, 2012 at 3:33 PM, Ben Pfaff wrote: > On Wed, Oct 24, 2012 at 02:21:39PM -0700, Gurucharan Shetty wrote: > > ovs-ctl has a new command called "restart" which > > saves and restores the openflow flows on bridges. > > Use that command from the init scripts when doing > > a "restart --

Re: [ovs-dev] [PATCH] datapath: Fix zero key tunnels.

2012-10-24 Thread Jesse Gross
On Tue, Oct 23, 2012 at 6:42 PM, Pravin B Shelar wrote: > Datapath tunneling check for flag OVS_FLOW_TNL_F_KEY is failing, > causing it to drop packet. This only happens on tunnels with > zero key as vswitchd does not generate set-tunnel action. Set > tunnel action sets this flags for given action

Re: [ovs-dev] [PATCH 2/2] debian: Use restart --save-flows=yes during postinst.

2012-10-24 Thread Ben Pfaff
On Wed, Oct 24, 2012 at 02:21:40PM -0700, Gurucharan Shetty wrote: > When debian package for openvswitch-switch is upgraded, > restart the daemons using the "--save-flows=yes" flag. > This will save the openflow flows in vswitchd and > re-apply it after the upgrade. > > Feature #13555. > Signed-of

Re: [ovs-dev] [PATCH 1/2] xenserver, rhel, debian: Use ovs-ctl restart.

2012-10-24 Thread Ben Pfaff
On Wed, Oct 24, 2012 at 03:35:51PM -0700, Gurucharan Shetty wrote: > On Wed, Oct 24, 2012 at 3:33 PM, Ben Pfaff wrote: > > > On Wed, Oct 24, 2012 at 02:21:39PM -0700, Gurucharan Shetty wrote: > > > ovs-ctl has a new command called "restart" which > > > saves and restores the openflow flows on bri

[ovs-dev] [PATCH 1/2] Prepare for 1.9.0.

2012-10-24 Thread Ben Pfaff
Signed-off-by: Ben Pfaff --- This will be committed to master and be the branch point for a new branch-1.9 branch also. NEWS |4 ++-- configure.ac |2 +- debian/changelog | 43 --- 3 files changed, 43 insertions(+), 6 deletions(-

[ovs-dev] [PATCH 2/2] Prepare for post-1.9.0 (1.9.90).

2012-10-24 Thread Ben Pfaff
Signed-off-by: Ben Pfaff --- This will go to master only, not to branch-1.9. NEWS |4 configure.ac |2 +- debian/changelog |7 +++ 3 files changed, 12 insertions(+), 1 deletions(-) diff --git a/NEWS b/NEWS index d04db25..3cb1bd3 100644 --- a/NEWS +++ b/NEWS

Re: [ovs-dev] [PATCH 2/2] Prepare for post-1.9.0 (1.9.90).

2012-10-24 Thread Justin Pettit
The series looks good to me. --Justin On Oct 25, 2012, at 12:18 AM, Ben Pfaff wrote: > Signed-off-by: Ben Pfaff > --- > This will go to master only, not to branch-1.9. > > NEWS |4 > configure.ac |2 +- > debian/changelog |7 +++ > 3 files changed, 12 insert

Re: [ovs-dev] [PATCH] datapath: Fix zero key tunnels.

2012-10-24 Thread Pravin Shelar
On Wed, Oct 24, 2012 at 3:44 PM, Jesse Gross wrote: > On Tue, Oct 23, 2012 at 6:42 PM, Pravin B Shelar wrote: >> Datapath tunneling check for flag OVS_FLOW_TNL_F_KEY is failing, >> causing it to drop packet. This only happens on tunnels with >> zero key as vswitchd does not generate set-tunnel ac

[ovs-dev] [PATCH 1/2] xenserver, rhel, debian: Use ovs-ctl restart.

2012-10-24 Thread Gurucharan Shetty
ovs-ctl has a new command called "restart" which saves and restores the openflow flows on bridges. Use that command from the init scripts when doing a "restart --save-flows=yes". Also, the debian package postinst script can set the variable OVS_RESTART_SAVE_FLOWS to "yes" to ask for save and resto

[ovs-dev] [PATCH 2/2] debian: Save openflow flows during package upgrade.

2012-10-24 Thread Gurucharan Shetty
When debian package for openvswitch-switch is upgraded, export a variable, OVS_RESTART_SAVE_FLOWS=yes. This will save the openflow flows in vswitchd and re-apply it after the upgrade. Feature #13555. Signed-off-by: Gurucharan Shetty --- debian/openvswitch-switch.postinst |4 1 file chan

Re: [ovs-dev] [PATCH 2/2] Prepare for post-1.9.0 (1.9.90).

2012-10-24 Thread Ben Pfaff
Thanks, I pushed this to master and branch-1.9. On Thu, Oct 25, 2012 at 12:21:52AM +0100, Justin Pettit wrote: > The series looks good to me. > > --Justin > > > On Oct 25, 2012, at 12:18 AM, Ben Pfaff wrote: > > > Signed-off-by: Ben Pfaff > > --- > > This will go to master only, not to branc

Re: [ovs-dev] [PATCH 2/2] debian: Use restart --save-flows=yes during postinst.

2012-10-24 Thread Gurucharan Shetty
On Wed, Oct 24, 2012 at 3:45 PM, Ben Pfaff wrote: > On Wed, Oct 24, 2012 at 02:21:40PM -0700, Gurucharan Shetty wrote: > > When debian package for openvswitch-switch is upgraded, > > restart the daemons using the "--save-flows=yes" flag. > > This will save the openflow flows in vswitchd and > > r

Re: [ovs-dev] [PATCH 1/2] xenserver, rhel, debian: Use ovs-ctl restart.

2012-10-24 Thread Ben Pfaff
On Wed, Oct 24, 2012 at 04:20:39PM -0700, Gurucharan Shetty wrote: > ovs-ctl has a new command called "restart" which > saves and restores the openflow flows on bridges. > Use that command from the init scripts when doing > a "restart --save-flows=yes". > > Also, the debian package postinst script

Re: [ovs-dev] [PATCH 2/2] debian: Save openflow flows during package upgrade.

2012-10-24 Thread Ben Pfaff
On Wed, Oct 24, 2012 at 04:20:40PM -0700, Gurucharan Shetty wrote: > When debian package for openvswitch-switch is upgraded, > export a variable, OVS_RESTART_SAVE_FLOWS=yes. > This will save the openflow flows in vswitchd and > re-apply it after the upgrade. > > Feature #13555. > Signed-off-by: Gu

Re: [ovs-dev] [PATCH 2/3] timeval: Coalesce backtraces with counts.

2012-10-24 Thread Ben Pfaff
On Wed, Oct 24, 2012 at 01:49:08PM -0700, Ethan Jackson wrote: > With this patch, `ovs-appctl backtrace` will return a unique list > of backtraces and a count of how many times it has been recorded. > This work had previously been done by ovs-parse-backtrace. However, > in future patches poll-loop

Re: [ovs-dev] [PATCH 1/3] timeval: Take a backtrace on each SIGALRM.

2012-10-24 Thread Ben Pfaff
On Wed, Oct 24, 2012 at 01:49:07PM -0700, Ethan Jackson wrote: > With this patch, timeval will take a backtrace with each SIGALRM > allowing it to retrieve a profiling snapshot instantly. This will > be useful in future patches when backtraces are logged. > > Signed-off-by: Ethan Jackson Looks

Re: [ovs-dev] [PATCH] ovs-ctl.in: Don't save flows if the daemons are not running.

2012-10-24 Thread Gurucharan Shetty
On Wed, Oct 24, 2012 at 1:42 PM, Ben Pfaff wrote: > On Wed, Oct 24, 2012 at 01:19:24PM -0700, Gurucharan Shetty wrote: > > When a 'ovs-ctl restart' is executed and the userspace daemons > > like ovsdb-server and ovs-vswitchd are not running, attempt to > > save flows can wait forever. This also r

Re: [ovs-dev] [PATCH 2/2] debian: Save openflow flows during package upgrade.

2012-10-24 Thread Gurucharan Shetty
On Wed, Oct 24, 2012 at 4:29 PM, Ben Pfaff wrote: > On Wed, Oct 24, 2012 at 04:20:40PM -0700, Gurucharan Shetty wrote: > > When debian package for openvswitch-switch is upgraded, > > export a variable, OVS_RESTART_SAVE_FLOWS=yes. > > This will save the openflow flows in vswitchd and > > re-apply

Re: [ovs-dev] [PATCH 3/3] poll-loop: Log backtraces when CPU usage is high.

2012-10-24 Thread Ben Pfaff
On Wed, Oct 24, 2012 at 01:49:09PM -0700, Ethan Jackson wrote: > Often when debugging Open vSwitch, one will see in the logs that > CPU usage has been high for some period of time, but it's totally > unclear why. In an attempt to remedy the situation, this patch > logs backtraces taken at regular

[ovs-dev] [PATCH] vswitchd: Make the maximum size of MAC learning tables user-configurable.

2012-10-24 Thread Ben Pfaff
We've had a couple of requests for this over the years. It's easy to do, so let's implement it. Signed-off-by: Ben Pfaff --- NEWS |1 + lib/mac-learning.c | 24 ++--- lib/mac-learning.h |5 +++- ofproto/ofproto-dpif.c |6 +++-

Re: [ovs-dev] [PATCH] netdev-vport: Disable Path MTU Discovery by default

2012-10-24 Thread Jesse Gross
On Mon, Oct 22, 2012 at 12:40 PM, Ben Pfaff wrote: > On Mon, Oct 22, 2012 at 10:10:10AM +0300, Ansis Atteka wrote: >> This patch changes the default path MTU discovery value to >> disabled. >> >> Signed-off-by: Ansis Atteka > > Jesse, Ansis says that this is at your request. Would you mind > sup

Re: [ovs-dev] [PATCH 01/18] vconn: Paramatise pvconn_open() over minimum OpenFlow version

2012-10-24 Thread Simon Horman
On Tue, Oct 23, 2012 at 11:04:09PM -0700, Ben Pfaff wrote: > On Wed, Oct 24, 2012 at 08:59:57AM +0900, Simon Horman wrote: > > On Tue, Oct 23, 2012 at 09:00:42AM -0700, Ben Pfaff wrote: > > > On Thu, Oct 18, 2012 at 02:58:01PM +0900, Simon Horman wrote: > > > > The motivation for this is to avoid a

Re: [ovs-dev] [PATCH 04/18] ofp-util: Add version bitmap to hello messages

2012-10-24 Thread Simon Horman
On Wed, Oct 24, 2012 at 10:14:30AM -0700, Ben Pfaff wrote: > On Thu, Oct 18, 2012 at 02:58:04PM +0900, Simon Horman wrote: > > Allow encoding and decoding of version bitmap in hello messages > > as specified in Open Flow 1.3.1. > > > > Signed-off-by: Simon Horman > > Thanks for doing this. > >

Re: [ovs-dev] [1.4 backports 2/6] datapath: Move CSUM_MANGLED_0 definition to net checksum header.

2012-10-24 Thread Jesse Gross
On Wed, Oct 24, 2012 at 12:47 PM, Ben Pfaff wrote: > From: Pravin B Shelar > > Following patch fixes compilation error on older kernel. > > This is a crossport of commit 08d19ca9fef29b23826f1fb52e2368a9077783ca > from master. > > Signed-off-by: Pravin B Shelar > Acked-by: Jesse Gross I think t

Re: [ovs-dev] [1.4 backports 0/6] backports of datapaths fixes to 1.4

2012-10-24 Thread Jesse Gross
On Wed, Oct 24, 2012 at 12:47 PM, Ben Pfaff wrote: > Yesterday, while going through datapath changes on master, I > noticed that some bugfixes seem to be relevant and missing on > master. Here is a series of backports for review. Thanks, other than the one patch that I commented on this series l

Re: [ovs-dev] [PATCH] netdev-vport: Disable Path MTU Discovery by default

2012-10-24 Thread Ben Pfaff
On Wed, Oct 24, 2012 at 05:43:29PM -0700, Jesse Gross wrote: > On Mon, Oct 22, 2012 at 12:40 PM, Ben Pfaff wrote: > > On Mon, Oct 22, 2012 at 10:10:10AM +0300, Ansis Atteka wrote: > >> This patch changes the default path MTU discovery value to > >> disabled. > >> > >> Signed-off-by: Ansis Atteka

[ovs-dev] [PATCH] OF11: push_vlan support

2012-10-24 Thread Isaku Yamahata
This implementes push_vlan with 802.1Q. NOTE: 802.1AD (QinQ) is not supported. It requires another effort. Signed-off-by: Isaku Yamahata --- lib/ofp-actions.c | 25 + lib/ofp-actions.h |9 + lib/ofp-parse.c| 13 + lib/ofp-util