Re: [ovs-dev] [PATCH 1/5] ovs-ofctl:To set importance of a rule for eviction(OF14)

2014-11-05 Thread Rishi Bamba
Hi Ben, > > From: rishibamba > > > > This patch enables a user to set importance for a new rule via > > add-flow > > OF1.1+ in the OVS and display the same via dump-flows command > > OF1.1+ . > > The changes are made in accordance with OpenFlow 1.4 specs to > > implement > > Eviction on the basi

[ovs-dev] [PATCH] ovs-ofctl:To set importance of a rule for eviction(OF14)

2014-11-05 Thread Rishi Bamba
From: rishibamba This patch enables a user to set importance for a new rule via add-flow OF1.4+ in the OVS and display the same via dump-flows command OF1.4+ . The changes are made in accordance with OpenFlow 1.4 specs to implement Eviction on the basis of "importance".This patch also enhances th

Re: [ovs-dev] Problems to compile OvS

2014-11-05 Thread Flavio Leitner
On Sun, Nov 02, 2014 at 08:17:31PM -0200, Ederval Pablo Ferreira wrote: > Hi. I am trying to implement bitmap sketch in OvS. Whem I try to call the > bitmap_allocation of the bitmap.h file in flow.c, during compilation I > receive "implicit declaration of function bitmap_allocation"... Why such > e

Re: [ovs-dev] Problems to compile OvS

2014-11-05 Thread Flavio Leitner
On Wed, Nov 05, 2014 at 10:46:06AM -0200, Flavio Leitner wrote: > On Sun, Nov 02, 2014 at 08:17:31PM -0200, Ederval Pablo Ferreira wrote: > > Hi. I am trying to implement bitmap sketch in OvS. Whem I try to call the > > bitmap_allocation of the bitmap.h file in flow.c, during compilation I > > rece

Re: [ovs-dev] [PATCH] ovs-ofctl: Implementation of eviction on the basis of Importance

2014-11-05 Thread Saloni Jain
Hi Ben, The second version of the "[PATCH] ovs-ofctl:To set importance of a rule for eviction(OF14)" has been submitted today - 5 Nov,2014 for review. We will also be submitting "[PATCH] ovs-ofctl: Implementation of eviction on the basis of Importance" today - 5 Nov,2014 for review. Kindly ap

[ovs-dev] [PATCH] ovs-ofctl: Implementation of eviction on the basis of Importance

2014-11-05 Thread Saloni Jain
From: Saloni Jain This commit enables the eviction mechanism on the basis of importance as per the openflow specification 1.4. ovs-ofctl -O OpenFlow14 mod-table evict Enable eviction on of . Eviction adds a mechanism enabling the switch to automatically eliminate entries of lower impo

Re: [ovs-dev] [PATCH v2] openvswitch: Userspace tunneling.

2014-11-05 Thread Flavio Leitner
On Sun, Nov 02, 2014 at 09:29:28PM -0800, Pravin B Shelar wrote: > Following patch adds support for userspace tunneling. Tunneling > needs three more component first is routing table which is configured by > caching kernel routes and second is ARP cache which build automatically > by snooping arp.

[ovs-dev] RES: Problems to compile OvS

2014-11-05 Thread Ederval Pablo Ferreira da Cruz
Hi flavio. yeahI include bitmap.h in the flow.c fileThat's why I dont understand such error If you have some idea.. Thanks for the help Best regards Ederval Pablo Ferreira da Cruz Professor de Informática (Instituto Federal do Espírito Santo (IFES) - Campus Itapina) MCP (Micr

Re: [ovs-dev] [PATCH] ovs-ofctl: Implementation of eviction on the basis of Importance

2014-11-05 Thread Ben Pfaff
On Wed, Nov 05, 2014 at 06:28:13PM +0530, Saloni Jain wrote: > Hi Ben, > > The second version of the "[PATCH] ovs-ofctl:To set importance of a rule for > eviction(OF14)" has been submitted today - 5 Nov,2014 for review. > > We will also be submitting "[PATCH] ovs-ofctl: Implementation of evicti

Re: [ovs-dev] [PATCH] Fix compilation error for Windows user-mode

2014-11-05 Thread Ben Pfaff
On Wed, Nov 05, 2014 at 01:39:20AM -0800, Eitan Eliahu wrote: > Signed-off-by: Eitan Eliahu Applied, thanks! ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] [PATCH v2] Fix compilation error for Windows user-mode

2014-11-05 Thread Eitan Eliahu
Signed-off-by: Eitan Eliahu Acked-by: Nithin Raju --- lib/route-table-stub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/route-table-stub.c b/lib/route-table-stub.c index 85c2583..5aedf5b 100644 --- a/lib/route-table-stub.c +++ b/lib/route-table-stub.c @@ -18,10 +

Re: [ovs-dev] [PATCH v2] Fix compilation error for Windows user-mode

2014-11-05 Thread Ben Pfaff
On Wed, Nov 05, 2014 at 03:54:47PM -0800, Eitan Eliahu wrote: > Signed-off-by: Eitan Eliahu > Acked-by: Nithin Raju I already applied the first version. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH v2] Fix compilation error for Windows user-mode

2014-11-05 Thread Eitan Eliahu
I missed a space between the first two parameters. I will add it in my next change. Thanks, Eitan -Original Message- From: Ben Pfaff [mailto:b...@nicira.com] Sent: Wednesday, November 05, 2014 8:30 AM To: Eitan Eliahu Cc: dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH v2] Fix compilat

Re: [ovs-dev] [PATCH v2] Fix compilation error for Windows user-mode

2014-11-05 Thread Ben Pfaff
I fixed that before I committed the original change. On Wed, Nov 05, 2014 at 04:31:27PM +, Eitan Eliahu wrote: > I missed a space between the first two parameters. I will add it in my next > change. > Thanks, > Eitan > > -Original Message- > From: Ben Pfaff [mailto:b...@nicira.com]

[ovs-dev] [PATCH] vswitch.xml: Describe NetFlow passive timeout.

2014-11-05 Thread Ben Pfaff
Reported-by: Martin Vizvary Signed-off-by: Ben Pfaff --- AUTHORS | 1 + vswitchd/vswitch.xml | 18 ++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/AUTHORS b/AUTHORS index 1354703..2906708 100644 --- a/AUTHORS +++ b/AUTHORS @@ -257,6 +257,7 @@ Loga

Re: [ovs-dev] [PATCHv9 09/12] datapath: Add support for unique flow identifiers.

2014-11-05 Thread Ben Pfaff
On Fri, Oct 31, 2014 at 04:55:43PM -0700, Joe Stringer wrote: > If a datapath is created with the flag OVS_DP_F_INDEX_BY_UFID, then an > additional table_instance is added to the flow_table, which is indexed > by unique identifiers ("UFID"). Userspace implementations can specify a > UFID of up to 1

Re: [ovs-dev] RES: Problems to compile OvS

2014-11-05 Thread Flavio Leitner
On Wed, Nov 05, 2014 at 02:24:58PM +, Ederval Pablo Ferreira da Cruz wrote: > Hi flavio. > > yeahI include bitmap.h in the flow.c fileThat's why I dont understand > such error > > If you have some idea.. > > Thanks for the help Works for me with this small patch. diff --gi

Re: [ovs-dev] [PATCHv9 05/12] upcall: Create ukeys in handler threads.

2014-11-05 Thread Ben Pfaff
On Fri, Oct 31, 2014 at 04:55:39PM -0700, Joe Stringer wrote: > Currently, when a revalidator thread first dumps a flow, it creates a > 'udpif_key' object and caches a copy of a kernel flow key. This allows > us to perform lookups in the classifier to attribute stats and validate > the correctness

Re: [ovs-dev] [PATCHv9 09/12] datapath: Add support for unique flow identifiers.

2014-11-05 Thread Joe Stringer
On 5 November 2014 08:58, Ben Pfaff wrote: > On Fri, Oct 31, 2014 at 04:55:43PM -0700, Joe Stringer wrote: > > If a datapath is created with the flag OVS_DP_F_INDEX_BY_UFID, then an > > additional table_instance is added to the flow_table, which is indexed > > by unique identifiers ("UFID"). User

Re: [ovs-dev] [PATCHv9 05/12] upcall: Create ukeys in handler threads.

2014-11-05 Thread Joe Stringer
On 5 November 2014 09:06, Ben Pfaff wrote: > On Fri, Oct 31, 2014 at 04:55:39PM -0700, Joe Stringer wrote: > > Currently, when a revalidator thread first dumps a flow, it creates a > > 'udpif_key' object and caches a copy of a kernel flow key. This allows > > us to perform lookups in the classifi

Re: [ovs-dev] [PATCH 7/7] lib/classifier: Constify cls_subtable fields.

2014-11-05 Thread Jarno Rajahalme
On Nov 4, 2014, at 12:52 PM, Ben Pfaff wrote: > On Fri, Oct 24, 2014 at 01:36:41PM -0700, Jarno Rajahalme wrote: >> Some struct cls_subtable fields were documented of being const. Make >> them const and use CONST_CAST where appropriate to initialize them. >> >> This will help catch future erro

Re: [ovs-dev] [PATCH v6 3/3] datapath: add layer 3 flow/port support

2014-11-05 Thread Lori Jakab
Thanks for reviewing Pravin. On 11/5/14 12:16 AM, Pravin Shelar wrote: On Mon, Nov 3, 2014 at 1:36 PM, Lorand Jakab wrote: Implementation of the pop_eth and push_eth actions in the kernel, and layer 3 flow support. Signed-off-by: Lorand Jakab --- datapath/actions.c| 85

[ovs-dev] [PATCH v2] WMI Script Support for setting Hyper-V port "friendly name" from NOVA driver

2014-11-05 Thread Eitan Eliahu
Added a function Set-VMNetworkAdapterOVSPortDirect() to be called from NOVA driver to set a name on the port of the first VNIC for the specified VM. Usage example: Set-VMNetworkAdapterOVSPortDirect -OVSPortName ovs-port-5 -VMName NoOS To confirm that the name was set: Get-VMNetworkAdapterByOVSPor

[ovs-dev] [RFC PATCH v2 2/2] Fix setting transport ports with frags.

2014-11-05 Thread Jarno Rajahalme
Packets with 'LATER' fragment do not have a transport header, so it is not possible to either match on or set transport ports on such packets. Matching is prevented by augmenting mf_are_prereqs_ok() with a nw_frag 'LATER' bit check. Setting the transport headers on such packets is prevented in th

[ovs-dev] [RFC PATCH v2 1/2] miniflow_extract: Properly handle small IP packets.

2014-11-05 Thread Jarno Rajahalme
Ethernet frames may contain padding after the IP payload. When parsing IP packets, check the IP total size (IPv4) or IP payload size (IPv6) to detect the size of l2 padding. The l2 padding size is stored in the ofpbuf to prevent ofpbuf_pull from entering the padding, as well as to allow ofpbuf_l4

[ovs-dev] RES: RES: Problems to compile OvS

2014-11-05 Thread Ederval Pablo Ferreira da Cruz
Hi Flavio I will try to compile such code and give you a feedback... Thanks a lot for the help Best regards Ederval Pablo Ferreira da Cruz Professor de Informática (Instituto Federal do Espírito Santo (IFES) - Campus Itapina) MCP (Microsoft Certified Professional) - Windows Server 2003 /

[ovs-dev] [PATCH v1] datapath-windows: Removed a not needed debug message from Flow.c

2014-11-05 Thread Ankur Sharma
Signed-off-by: Ankur Sharma --- datapath-windows/ovsext/Flow.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/datapath-windows/ovsext/Flow.c b/datapath-windows/ovsext/Flow.c index 14c3072..d2d0ae5 100644 --- a/datapath-windows/ovsext/Flow.c +++ b/datapath-windows/ovsext/Flow.c @@ -1184,8 +1

[ovs-dev] Regarding add-meter command on Ovs

2014-11-05 Thread Harsh Gmail
Hello, I am trying to run the command add-meter on ova but it is showing me some errors and I am not able to add meter in the switch! Kindly let me know the proper method so that I can add meter in a switch. Kindly let me know as soon as possible. I have attached a screenshot for my ova versi

Re: [ovs-dev] Regarding add-meter command on Ovs

2014-11-05 Thread Joe Stringer
On 5 November 2014 12:30, Harsh Gmail wrote: > Hello, > > > I am trying to run the command add-meter on ova but it is showing me some > errors and I am not able to add meter in the switch! Kindly let me know the > proper method so that I can add meter in a switch. > > Kindly let me know as soon a

Re: [ovs-dev] [PATCH] datapath-windows: Update port property

2014-11-05 Thread Nithin Raju
> +case OID_SWITCH_PORT_UPDATED: > +HvDeletePort(switchObject, portParam); > +status = HvCreatePort(switchObject, portParam); > + break; hi Eitan, While this change is ok in general, can you pls. comment on how this code will work if the port is in CONNECTED state, and

Re: [ovs-dev] [PATCH v1] datapath-windows: Removed a not needed debug message from Flow.c

2014-11-05 Thread Nithin Raju
On Nov 5, 2014, at 9:12 PM, Ankur Sharma wrote: > Signed-off-by: Ankur Sharma > --- > datapath-windows/ovsext/Flow.c | 2 -- > 1 file changed, 2 deletions(-) Acked-by: Nithin Raju ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailma

Re: [ovs-dev] [dp version V5] bridge: Store datapath version into ovsdb

2014-11-05 Thread Andy Zhou
On Tue, Nov 4, 2014 at 12:48 PM, Ben Pfaff wrote: > On Thu, Oct 23, 2014 at 03:52:33PM -0700, Andy Zhou wrote: >> OVS userspace are backward compatible with older Linux kernel modules. >> However, not having the most up-to-date datapath kernel modules can >> some times lead to user confusion. Stor

[ovs-dev] [dp version v6] bridge: Store datapath version into ovsdb

2014-11-05 Thread Andy Zhou
OVS userspace are backward compatible with older Linux kernel modules. However, not having the most up-to-date datapath kernel modules can some times lead to user confusion. Storing the datapath version in OVSDB allows management software to check and optionally provide notifications to users. Sig

Re: [ovs-dev] [PATCHv9 05/12] upcall: Create ukeys in handler threads.

2014-11-05 Thread Ben Pfaff
On Fri, Oct 31, 2014 at 04:55:39PM -0700, Joe Stringer wrote: > Currently, when a revalidator thread first dumps a flow, it creates a > 'udpif_key' object and caches a copy of a kernel flow key. This allows > us to perform lookups in the classifier to attribute stats and validate > the correctness

Re: [ovs-dev] [PATCHv9 05/12] upcall: Create ukeys in handler threads.

2014-11-05 Thread Joe Stringer
On 5 November 2014 13:31, Ben Pfaff wrote: > On Fri, Oct 31, 2014 at 04:55:39PM -0700, Joe Stringer wrote: > > Currently, when a revalidator thread first dumps a flow, it creates a > > 'udpif_key' object and caches a copy of a kernel flow key. This allows > > us to perform lookups in the classifi

Re: [ovs-dev] [dp version v6] bridge: Store datapath version into ovsdb

2014-11-05 Thread Ben Pfaff
On Wed, Nov 05, 2014 at 01:32:32PM -0800, Andy Zhou wrote: > OVS userspace are backward compatible with older Linux kernel modules. > However, not having the most up-to-date datapath kernel modules can > some times lead to user confusion. Storing the datapath version in > OVSDB allows management so

Re: [ovs-dev] [dp version v6] bridge: Store datapath version into ovsdb

2014-11-05 Thread Flavio Leitner
On Wed, Nov 05, 2014 at 01:32:32PM -0800, Andy Zhou wrote: > OVS userspace are backward compatible with older Linux kernel modules. > However, not having the most up-to-date datapath kernel modules can > some times lead to user confusion. Storing the datapath version in > OVSDB allows management so

Re: [ovs-dev] [PATCH] datapath-windows: Update port property

2014-11-05 Thread Eitan Eliahu
Hi Nithin, Actually ovsState will get updated from portParam->PortState in OvsInitVportWithPortParam() so this should not be an issue. But, there may be an issue with the nic parameters stored in the voprt. Even when the documentation reads that only "currently" the port friendly name could get

Re: [ovs-dev] [dp version v6] bridge: Store datapath version into ovsdb

2014-11-05 Thread Ben Pfaff
On Wed, Nov 05, 2014 at 08:04:29PM -0200, Flavio Leitner wrote: > The above is not available in Fedora 20. > # stat /sys/module/openvswitch/version > stat: cannot stat ???/sys/module/openvswitch/version???: No such file or > directory > # uname -r > 3.16.7-200.fc20.x86_64 You only get it with the

Re: [ovs-dev] [PATCH] datapath-windows: Update port property

2014-11-05 Thread Nithin Raju
On Nov 5, 2014, at 11:06 PM, Eitan Eliahu wrote: > Hi Nithin, > Actually ovsState will get updated from portParam->PortState in > OvsInitVportWithPortParam() so this should not be an issue. > But, there may be an issue with the nic parameters stored in the voprt. > Even when the documentation r

Re: [ovs-dev] [PATCH v2] WMI Script Support for setting Hyper-V port "friendly name" from NOVA driver

2014-11-05 Thread Ben Pfaff
On Wed, Nov 05, 2014 at 06:09:19PM -0800, Eitan Eliahu wrote: > Added a function Set-VMNetworkAdapterOVSPortDirect() to be called from > NOVA driver to set a name on the port of the first VNIC for the specified VM. > > Usage example: > Set-VMNetworkAdapterOVSPortDirect -OVSPortName ovs-port-5 -VMN

[ovs-dev] [PATCH 0/2] datapath: quick flow lookup patch series

2014-11-05 Thread Michio Honda
Series of 2 patches to enable quick flow lookup for a specific pattern of flows in the datapath. Michio Honda (2): datapath: framework for quick flow key extraction and lookup datapath: quick flow lookup for source and destination MAC addresses datapath/actions.c | 20 -- datapath

[ovs-dev] [PATCH 2/2] datapath: quick flow lookup for source and destination MAC addresses

2014-11-05 Thread Michio Honda
This patch implements a least-possible flow extraction and lookup for L2 source and destination MAC address, which is activated when all the flows in the datapath involve in only source and destination MAC addresses (i.e, the other fields are wildcarded). This code improves forwarding rate between

[ovs-dev] [PATCH 1/2] datapath: framework for quick flow key extraction and lookup

2014-11-05 Thread Michio Honda
Parsing packets against all the flow-key fields and lookup is expensive. This patch enables to implement least-possible flow key extraction and/or packet lookup for a specific pattern of flows installed in the datapath (e.g., all the flows are interested in only source and destination MAC addresses

Re: [ovs-dev] [PATCH v6 1/3] userspace: add support for pop_eth and push_eth actions

2014-11-05 Thread Ben Pfaff
On Mon, Nov 03, 2014 at 11:36:29PM +0200, Lorand Jakab wrote: > These actions will allow L2->L3 and L3->L2 switching, and are supposed > to be added to flows installed in the datapath transparently by > ovs-vswitchd. > > Signed-off-by: Lorand Jakab Acked-by: Ben Pfaff __

Re: [ovs-dev] [PATCH] datapath-windows: Update port property

2014-11-05 Thread Eitan Eliahu
This would be the easiest but I have concerns that some other parameters would be updated as well in new versions of NDIS. I am checking into it. Thank you, Eitan -Original Message- From: Nithin Raju Sent: Wednesday, November 05, 2014 2:15 PM To: Eitan Eliahu Cc: dev@openvswitch.org Subj

Re: [ovs-dev] [PATCH v6 2/3] userspace: add layer 3 flow and switching support

2014-11-05 Thread Ben Pfaff
On Mon, Nov 03, 2014 at 11:36:30PM +0200, Lorand Jakab wrote: > This commit relaxes the assumption that all packets have an Ethernet > header, and adds support for layer 3 flows. For each packet received on > the Linux kernel datapath the l2 and l3 members of struct ofpbuf are > intialized appropr

[ovs-dev] [PATCH v3 2/3] ofproto-dpif-xlate: Remove xbridge->frag.

2014-11-05 Thread Jarno Rajahalme
It it no longer used, so better remove it. Signed-off-by: Jarno Rajahalme --- ofproto/ofproto-dpif-xlate.c | 12 +--- ofproto/ofproto-dpif-xlate.h |2 +- ofproto/ofproto-dpif.c |2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/ofproto/ofproto-dpif-xlat

[ovs-dev] [PATCH v3 1/3] rule_dpif_lookup_from_table: Check frags only once.

2014-11-05 Thread Jarno Rajahalme
Move the frags handling check up in the call chain, so that it is done once for each rule_dpif_lookup_from_table() call. Signed-off-by: Jarno Rajahalme --- ofproto/ofproto-dpif-xlate.c |4 +- ofproto/ofproto-dpif.c | 103 +- ofproto/ofproto-dpif

[ovs-dev] [PATCH v3 3/3] ofproto-dpif: Clean up table lookup code.

2014-11-05 Thread Jarno Rajahalme
Keep knowledge about ofproto-dpif internal rules within ofproto-dpif. This removes duplication of code (accross multiple files), and allows making the ofproto-dpif-xlate interface a bit smaller. 'may_packet_in' was previously not honored for the 'LOOKUP_VERDICT_DEFAULT' case. Now it is, but this

Re: [ovs-dev] [dp version v6] bridge: Store datapath version into ovsdb

2014-11-05 Thread Flavio Leitner
On Wed, Nov 05, 2014 at 02:07:08PM -0800, Ben Pfaff wrote: > On Wed, Nov 05, 2014 at 08:04:29PM -0200, Flavio Leitner wrote: > > The above is not available in Fedora 20. > > # stat /sys/module/openvswitch/version > > stat: cannot stat ???/sys/module/openvswitch/version???: No such file or > > direc

Re: [ovs-dev] [PATCH v2] openvswitch: Userspace tunneling.

2014-11-05 Thread Pravin Shelar
On Wed, Nov 5, 2014 at 5:59 AM, Flavio Leitner wrote: > On Sun, Nov 02, 2014 at 09:29:28PM -0800, Pravin B Shelar wrote: >> Following patch adds support for userspace tunneling. Tunneling >> needs three more component first is routing table which is configured by >> caching kernel routes and secon

[ovs-dev] [PATCH] ovs-router: Define stub for ovs_router_unixctl_register()

2014-11-05 Thread Pravin B Shelar
ovs_router_unixctl_register() is called from ofproto layer. But is not defined for all platform. Following patch define stub to fix compilation error. Reported-by: Eitan Eliahu Signed-off-by: Pravin B Shelar --- lib/route-table-bsd.c |5 + lib/route-table-stub.c |5 + 2 files c

Re: [ovs-dev] [dp version v6] bridge: Store datapath version into ovsdb

2014-11-05 Thread Andy Zhou
On Wed, Nov 5, 2014 at 2:56 PM, Flavio Leitner wrote: > On Wed, Nov 05, 2014 at 02:07:08PM -0800, Ben Pfaff wrote: >> On Wed, Nov 05, 2014 at 08:04:29PM -0200, Flavio Leitner wrote: >> > The above is not available in Fedora 20. >> > # stat /sys/module/openvswitch/version >> > stat: cannot stat ???

Re: [ovs-dev] [dp version v6] bridge: Store datapath version into ovsdb

2014-11-05 Thread Andy Zhou
Pushed with the xml updates. Ben, Thanks for the wirte-up and review! On Wed, Nov 5, 2014 at 1:59 PM, Ben Pfaff wrote: > On Wed, Nov 05, 2014 at 01:32:32PM -0800, Andy Zhou wrote: >> OVS userspace are backward compatible with older Linux kernel modules. >> However, not having the most up-to-date

Re: [ovs-dev] [PATCH] datapath-windows: Update port property

2014-11-05 Thread Eitan Eliahu
The original code should work even when the port is connected. The port structure is not being reallocated rather just marked as deleted. The issue is with create port function which insert the port to do the port list even when it is already created. This should be handled in a spate change. Th

Re: [ovs-dev] [dp version v6] bridge: Store datapath version into ovsdb

2014-11-05 Thread Flavio Leitner
On Wed, Nov 05, 2014 at 03:23:24PM -0800, Andy Zhou wrote: > On Wed, Nov 5, 2014 at 2:56 PM, Flavio Leitner wrote: > > On Wed, Nov 05, 2014 at 02:07:08PM -0800, Ben Pfaff wrote: > >> On Wed, Nov 05, 2014 at 08:04:29PM -0200, Flavio Leitner wrote: > >> > The above is not available in Fedora 20. > >

Re: [ovs-dev] [PATCH] datapath-windows: Update port property

2014-11-05 Thread Nithin Raju
> The original code should work even when the port is connected. > The port structure is not being reallocated rather just marked as deleted. > The issue is with create port function which insert the port to do the port > list even when it is already created. This is true only if that port has b

Re: [ovs-dev] [dp version v6] bridge: Store datapath version into ovsdb

2014-11-05 Thread Andy Zhou
On Wed, Nov 5, 2014 at 3:47 PM, Flavio Leitner wrote: > On Wed, Nov 05, 2014 at 03:23:24PM -0800, Andy Zhou wrote: >> On Wed, Nov 5, 2014 at 2:56 PM, Flavio Leitner wrote: >> > On Wed, Nov 05, 2014 at 02:07:08PM -0800, Ben Pfaff wrote: >> >> On Wed, Nov 05, 2014 at 08:04:29PM -0200, Flavio Leitne

Re: [ovs-dev] [PATCH] datapath-windows: Update port property

2014-11-05 Thread Eitan Eliahu
Correct, we need to mark is as deleted even if it was not added from user mode (so memory won't be released). If it gets too complex I will just update the port parameters. Thanks, Eitan -Original Message- From: Nithin Raju Sent: Wednesday, November 05, 2014 3:50 PM To: Eitan Eliahu Cc:

Re: [ovs-dev] [dp version v6] bridge: Store datapath version into ovsdb

2014-11-05 Thread Flavio Leitner
On Wed, Nov 05, 2014 at 03:51:30PM -0800, Andy Zhou wrote: > On Wed, Nov 5, 2014 at 3:47 PM, Flavio Leitner wrote: > > On Wed, Nov 05, 2014 at 03:23:24PM -0800, Andy Zhou wrote: > >> On Wed, Nov 5, 2014 at 2:56 PM, Flavio Leitner wrote: > >> > On Wed, Nov 05, 2014 at 02:07:08PM -0800, Ben Pfaff w

Re: [ovs-dev] [PATCH] ovs-ofctl: Only allow usable protocols for group commands

2014-11-05 Thread Jarno Rajahalme
Thanks, Simon! Acked-by: Jarno Rajahalme Pushed to master, Jarno On Nov 4, 2014, at 8:57 PM, Simon Horman wrote: > parse_ofp_group_mod_str() may limit the usable protocols according > to the group and in particular its actions. However, without this > change ovs-ofctl ignores this c

Re: [ovs-dev] [PATCH v2] openvswitch: Userspace tunneling.

2014-11-05 Thread Ben Pfaff
On Sun, Nov 02, 2014 at 09:29:28PM -0800, Pravin B Shelar wrote: > Following patch adds support for userspace tunneling. Tunneling > needs three more component first is routing table which is configured by > caching kernel routes and second is ARP cache which build automatically > by snooping arp.

Re: [ovs-dev] [PATCH] ovs-router: Define stub for ovs_router_unixctl_register()

2014-11-05 Thread Jarno Rajahalme
Acked-by: Jarno Rajahalme - On Nov 5, 2014, at 3:21 PM, Pravin B Shelar wrote: > ovs_router_unixctl_register() is called from ofproto layer. > But is not defined for all platform. Following patch define > stub to fix compilation error. > > Reported-by: Eitan Eliahu > Signed-off-by: Pravin B Sh

Re: [ovs-dev] [PATCH v6 3/3] datapath: add layer 3 flow/port support

2014-11-05 Thread Pravin Shelar
On Wed, Nov 5, 2014 at 10:19 AM, Lori Jakab wrote: > Thanks for reviewing Pravin. > > > On 11/5/14 12:16 AM, Pravin Shelar wrote: >> >> On Mon, Nov 3, 2014 at 1:36 PM, Lorand Jakab wrote: >>> >>> Implementation of the pop_eth and push_eth actions in the kernel, and >>> layer 3 flow support. >>> >

Re: [ovs-dev] [PATCH v6 2/3] userspace: add layer 3 flow and switching support

2014-11-05 Thread Lori Jakab
On 11/6/14 12:36 AM, Ben Pfaff wrote: On Mon, Nov 03, 2014 at 11:36:30PM +0200, Lorand Jakab wrote: This commit relaxes the assumption that all packets have an Ethernet header, and adds support for layer 3 flows. For each packet received on the Linux kernel datapath the l2 and l3 members of str