[ovs-dev] [unixctl 2/2] unixctl: Timeout unit tests instead of hanging.

2012-03-06 Thread Ethan Jackson
We've seen some unixctl tests hang indefinitely which makes them difficult to debug. ovs-appctl and appctl.py calls to timeout instead. Signed-off-by: Ethan Jackson --- tests/appctl.py|6 + tests/test-unixctl.py |5 tests/unixctl-py.at| 66 +++

[ovs-dev] [unixctl 1/2] unixctl: Re-enable unit tests.

2012-03-06 Thread Ethan Jackson
The transient failure in the unixctl unit tests likely still exists, but we've added additional instrumentation to our build tools to help us debug it. Signed-off-by: Ethan Jackson --- tests/unixctl-py.at |6 -- 1 file changed, 6 deletions(-) diff --git a/tests/unixctl-py.at b/tests/uni

[ovs-dev] [PATCH] ofproto-dpif: Log traces when resubmit depth is exceeded.

2012-03-06 Thread Ethan Jackson
It can be very difficult to debug xlate_actions() failures due to excessive resubmit recursion. In an attempt to make it easier, this patch adds a (severely rate-limited) full ofproto/trace to the logs. Suggested-by: Alan Shieh Signed-off-by: Ethan Jackson --- ofproto/ofproto-dpif.c | 91 +++

[ovs-dev] [PATCH v2] datapath: Fix checksum update for actions on UDP packets.

2012-03-06 Thread 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 it to handle those r

[ovs-dev] [PATCH] datapath: Fix checksum update for actions on UDP packets.

2012-03-06 Thread 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 it to handle those r

[ovs-dev] [PATCH 5/5] netdev-linux: Cache error code for netdev-get-features.

2012-03-06 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- lib/netdev-linux.c | 123 --- 1 files changed, 77 insertions(+), 46 deletions(-) diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c index cfa66f5..2619509 100644 --- a/lib/netdev-linux.c +++ b/lib/netdev-linux.

[ovs-dev] [PATCH 4/5] netdev-linux: Cache error code for netdev-set-policy api.

2012-03-06 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- lib/netdev-linux.c | 28 ++-- 1 files changed, 18 insertions(+), 10 deletions(-) diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c index c7991ac..cfa66f5 100644 --- a/lib/netdev-linux.c +++ b/lib/netdev-linux.c @@ -379,6 +379,7 @@ s

[ovs-dev] [PATCH 3/5] netdev-linux: Cache error code from ether-addr ioctl.

2012-03-06 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- lib/netdev-linux.c | 85 ++-- 1 files changed, 49 insertions(+), 36 deletions(-) diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c index 3067953..c7991ac 100644 --- a/lib/netdev-linux.c +++ b/lib/netdev-linux

[ovs-dev] [PATCH 2/5] netdev-linux: Cache mtu ioctl error code along with mtu.

2012-03-06 Thread Pravin B Shelar
netdev linux devices uses mtu ioctl to get and set MTU for a device. By caching error code from ioctl we can reduce number of ioctl calls for device which is unregistered from system. netdev notification is used to update mtu which saves get-mtu-ioctl. Signed-off-by: Pravin B Shelar --- lib/netd

[ovs-dev] [PATCH 1/5] netdev-linux: Use get-stats to check status of linux devices.

2012-03-06 Thread Pravin B Shelar
Rather than using ETHTOOL_GDRVINFO to check netdev-status, use ovs-get-stats since it is more consistent. Covergage counter is added for status check. Signed-off-by: Pravin B Shelar --- lib/netdev-linux.c | 104 ++-- 1 files changed, 84 insertions

Re: [ovs-dev] [PATCH v2] xenserver: Add vm-id to the external_ids.

2012-03-06 Thread Ben Pfaff
On Tue, Mar 06, 2012 at 02:14:35PM -0800, Gurucharan Shetty wrote: > The vm-id external id in the interface table will uniquely identify a VM > that is connected to a bridge through that interface. > > In xenserver, this will have the same value as the external id - xs-vm-uuid > and can be overrid

[ovs-dev] [PATCH v2] xenserver: Add vm-id to the external_ids.

2012-03-06 Thread Gurucharan Shetty
The vm-id external id in the interface table will uniquely identify a VM that is connected to a bridge through that interface. In xenserver, this will have the same value as the external id - xs-vm-uuid and can be overridden by setting the nicira-vm-id key in the other_config field of VM record of

Re: [ovs-dev] [PATCH v1] xenserver: Add vm-id to the external_ids.

2012-03-06 Thread Ben Pfaff
On Tue, Mar 06, 2012 at 11:46:54AM -0800, Gurucharan Shetty wrote: > The vm-id external id in the interface table will uniquely identify a VM > that is connected to a bridge through that interface. > > In xenserver, this will have the same value as the external id - xs-vm-uuid > and can be overrid

[ovs-dev] [PATCH v1] xenserver: Add vm-id to the external_ids.

2012-03-06 Thread Gurucharan Shetty
The vm-id external id in the interface table will uniquely identify a VM that is connected to a bridge through that interface. In xenserver, this will have the same value as the external id - xs-vm-uuid and can be overridden by setting the nicira-vm-id key in the other_config field of VM record of

Re: [ovs-dev] [PATCH] datapath: Honor dp_ifindex, when specified, for vport lookup by name.

2012-03-06 Thread Jesse Gross
On Mon, Mar 5, 2012 at 2:03 PM, Ben Pfaff wrote: > 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 sear

[ovs-dev] Hello

2012-03-06 Thread melissa Mabri
Ciao. (melissa02l...@yahoo.com) Sono lieto di scrivere a voi come ho visto il tuo profilo in (galileo.dmi.unict.it) e sento di scriverti, tuttavia sono Melissa per nome, spero che tu stia bene, io come voi ad inviarmi una mail al mio indirizzo email (melissa02l...@yahoo.com) per me sapere se ha