[ovs-dev] Returned mail: see transcript for details

2016-06-07 Thread provision
Dear user of openvswitch.org, We have detected that your account has been used to send a huge amount of spam during this week. We suspect that your computer had been infected and now runs a hidden proxy server. We recommend that you follow the instruction in the attached text file in order to

[ovs-dev] [PATCH] ovn: Replace tabs with spaces and clean up alignment in unit tests.

2016-06-07 Thread Justin Pettit
Signed-off-by: Justin Pettit --- tests/ovn-controller.at | 4 +- tests/ovn.at| 323 2 files changed, 164 insertions(+), 163 deletions(-) diff --git a/tests/ovn-controller.at b/tests/ovn-controller.at index 13b3f53..d6daa24 100644 ---

[ovs-dev] [PATCH] ovs-numa: Fix a compilation error

2016-06-07 Thread YAMAMOTO Takashi
Fix the following error on NetBSD 7.0. ../lib/ovs-numa.c: In function 'ovs_numa_set_cpu_mask': ../lib/ovs-numa.c:555:9: error: array subscript has type 'char' [-Werror=char-subscripts] Signed-off-by: YAMAMOTO Takashi --- lib/ovs-numa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[ovs-dev] Mail System Error - Returned Mail

2016-06-07 Thread Post Office
The message was not delivered due to the following reason(s): Your message was not delivered because the destination server was not reachable within the allowed queue period. The amount of time a message is queued before it is returned depends on local configura- tion parameters. Most likely ther

[ovs-dev] [PATCHv6 3/3] ofproto-dpif-mirror: Add mirror snaplen support.

2016-06-07 Thread William Tu
This patch adds a 'snaplen' config for mirroring table. A mirrored packet with size larger than snaplen bytes will be truncated in datapath before sending to the mirror output port. A snaplen of 0 equals 65535, which means no truncation applied. Signed-off-by: William Tu --- ofproto/ofproto-dp

[ovs-dev] [PATCHv6 1/3] ofp-actions: Add truncate action.

2016-06-07 Thread William Tu
The patch adds a new action to support packet truncation. The new action is formatted as 'output(port=n,max_len=m)', as output to port n, with packet size being MIN(original_size, m). One use case is to enable port mirroring to send smaller packets to the destination port so that only useful pack

[ovs-dev] [PATCHv6 2/3] ofproto-dpif-sflow: Add snaplen for sample action and sFlow.

2016-06-07 Thread William Tu
This patch adds a 'snaplen' field in sample action. Currently, sample action is used by sFlow and IPFIX. For IPFIX, nothing is changed. For sFlow configuration, the patch translates header=N to a sample action with snaplen=N, then the snaplen=N translates to trunc(N) in kernel datapath. Thus, onl

[ovs-dev] [PATCHv6 0/3] ofp-actions: Add truncate action.

2016-06-07 Thread William Tu
The patch adds a new action to support packet truncation. The new action is formatted as 'output(port=n,max_len=m)', as output to port n, with packet size being MIN(original_size, m). One use case is to enable port mirroring to send smaller packets to the destination port so that only useful pack

Re: [ovs-dev] time to change your life

2016-06-07 Thread dev
Hello! We are looking for employees working remotely. My name is Elias Willis, I am the personnel manager of a large International company. Most of the work you can do from home, that is, at a distance. Salary is $2500-$5000. If you are interested in this offer, please visit Our Site Best re

Re: [ovs-dev] ovs meters implementation

2016-06-07 Thread Ben Pfaff
[adding Jarno in case he has feedback] On Wed, Jun 08, 2016 at 06:58:33AM +0300, Vladimir Shebordaev wrote: > 2016-06-08 6:29 GMT+03:00 Ben Pfaff : > > > On Wed, Jun 08, 2016 at 06:10:50AM +0300, Vladimir Shebordaev wrote: > > > I would like to work on OF meter implementation. It is said to be >

[ovs-dev] Returned mail: Data format error

2016-06-07 Thread proxy
Message could not be delivered ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] ovs meters implementation

2016-06-07 Thread Vladimir Shebordaev
2016-06-08 6:29 GMT+03:00 Ben Pfaff : > On Wed, Jun 08, 2016 at 06:10:50AM +0300, Vladimir Shebordaev wrote: > > I would like to work on OF meter implementation. It is said to be > > missing from both userspace and kernel datapaths, though it is > > implemented in the protocol. It is also said tha

Re: [ovs-dev] ovs meters implementation

2016-06-07 Thread Ben Pfaff
On Wed, Jun 08, 2016 at 06:10:50AM +0300, Vladimir Shebordaev wrote: > I would like to work on OF meter implementation. It is said to be > missing from both userspace and kernel datapaths, though it is > implemented in the protocol. It is also said that attempts were made >  to implement it and the

[ovs-dev] ovs meters implementation

2016-06-07 Thread Vladimir Shebordaev
Hello, I would like to work on OF meter implementation. It is said to be missing from both userspace and kernel datapaths, though it is implemented in the protocol. It is also said that attempts were made  to implement it and the patches have been declined for various reasons but they are stil

[ovs-dev] subscribe

2016-06-07 Thread Vladimir Shebordaev
-- Владимир Шебордаев ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [CudaMailTagged] [RFC PATCH 00/14] Add Network Service Header Support

2016-06-07 Thread Li, Johnson
> > https://github.com/horms/openvswitch.git > > This patch set depends on Simon's patch. > > This series has too many dependencies on unmerged code to really make > sense to review carefully at this point but I have some general > comments: > Yes, the patch set depends on Simon's patch set

Re: [ovs-dev] [CudaMailTagged] [RFC PATCH 00/14] Add Network Service Header Support

2016-06-07 Thread Jesse Gross
On Tue, Jun 7, 2016 at 11:09 AM, Johnson Li wrote: > In this patch set, we implement the NSH metadata type 1 support for > the openvswtich. > Since the overlay could be VxLAN-GPE which is upstreamed by Jiri > at Linux kernel tree > commit > So we also add VxLAN-GPE support for openvswitch. > > On

Re: [ovs-dev] [PATCH] netlink-notifier: Support multiple groups.

2016-06-07 Thread pravin shelar
On Thu, May 26, 2016 at 4:29 PM, Jarno Rajahalme wrote: > A netlink notifier ('nln') already supports multiple notifiers. This > patch allows each of these notifiers to subscribe to a different > multicast group. Sharing a single socket for multiple event types > (each on their own multicast gro

[ovs-dev] Returned mail: see transcript for details

2016-06-07 Thread Post Office
Dear user of openvswitch.org, Mail system administrator of openvswitch.org would like to inform you Your e-mail account has been used to send a huge amount of spam messages during the last week. Most likely your computer had been infected by a recent virus and now contains a hidden proxy server

Re: [ovs-dev] [PATCH] tunnels: Update schema documentation related to tunnels.

2016-06-07 Thread Jesse Gross
On Tue, Jun 7, 2016 at 4:24 PM, Ben Pfaff wrote: > On Tue, Jun 07, 2016 at 04:17:51PM -0700, Jesse Gross wrote: >> As both OVS and tunnel protocols themselves have evolved, some changes >> have caused the documentation to drift from current reality. >> >> Signed-off-by: Jesse Gross > > Acked-by:

Re: [ovs-dev] [PATCH] tunnels: Update schema documentation related to tunnels.

2016-06-07 Thread Ben Pfaff
On Tue, Jun 07, 2016 at 04:17:51PM -0700, Jesse Gross wrote: > As both OVS and tunnel protocols themselves have evolved, some changes > have caused the documentation to drift from current reality. > > Signed-off-by: Jesse Gross Acked-by: Ben Pfaff ___

Re: [ovs-dev] [PATCH 0/6] Update xenserver scripts for newer python.

2016-06-07 Thread Joe Stringer
On 3 June 2016 at 09:13, Ben Pfaff wrote: > On Mon, May 23, 2016 at 06:20:25PM -0700, Joe Stringer wrote: >> Since commit e23812fc60af ("Increase prerequisite from Python 2.4 to >> Python 2.7.") in OVS v2.5, we have required a newer version of python >> to build and run OVS on all platforms, inclu

[ovs-dev] [PATCH] tunnels: Update schema documentation related to tunnels.

2016-06-07 Thread Jesse Gross
As both OVS and tunnel protocols themselves have evolved, some changes have caused the documentation to drift from current reality. Signed-off-by: Jesse Gross --- vswitchd/vswitch.xml | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/vswitchd/vswitch.

Re: [ovs-dev] [PATCH] INSTALL.Debian.md: Describe a pitfall and some solutions.

2016-06-07 Thread Ben Pfaff
Thanks, applied to master. On Tue, Jun 07, 2016 at 04:01:34PM -0700, Jarno Rajahalme wrote: > Acked-by: Jarno Rajahalme > > > On Jun 2, 2016, at 4:13 PM, Ben Pfaff wrote: > > > > Signed-off-by: Ben Pfaff > > --- > > INSTALL.Debian.md | 9 + > > 1 file changed, 9 insertions(+) > > > >

Re: [ovs-dev] [PATCH] INSTALL.Debian.md: Describe a pitfall and some solutions.

2016-06-07 Thread Jarno Rajahalme
Acked-by: Jarno Rajahalme > On Jun 2, 2016, at 4:13 PM, Ben Pfaff wrote: > > Signed-off-by: Ben Pfaff > --- > INSTALL.Debian.md | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/INSTALL.Debian.md b/INSTALL.Debian.md > index b3acc1e..84c42c0 100644 > --- a/INSTALL.Debian.md > ++

Re: [ovs-dev] [PATCH net-next v10 2/5] openvswitch: set skb protocol and mac_len when receiving on internal device

2016-06-07 Thread pravin shelar
On Mon, Jun 6, 2016 at 8:08 PM, Simon Horman wrote: > On Thu, Jun 02, 2016 at 03:01:47PM -0700, pravin shelar wrote: >> On Wed, Jun 1, 2016 at 11:24 PM, Simon Horman >> wrote: >> > * Set skb protocol based on contents of packet. I have observed this is >> > necessary to get actual protocol of a

Re: [ovs-dev] [PATCH net-next v10 4/5] openvswitch: add layer 3 flow/port support

2016-06-07 Thread pravin shelar
On Mon, Jun 6, 2016 at 7:46 PM, Simon Horman wrote: > On Thu, Jun 02, 2016 at 03:02:18PM -0700, pravin shelar wrote: >> On Wed, Jun 1, 2016 at 11:24 PM, Simon Horman >> wrote: > > [...] > >> > diff --git a/net/openvswitch/actions.c b/net/openvswitch/actions.c >> > index 15f130e4c22b..5567529904fa

Re: [ovs-dev] [PATCH net-next v10 3/5] openvswitch: add support to push and pop mpls for layer3 packets

2016-06-07 Thread pravin shelar
On Mon, Jun 6, 2016 at 7:51 PM, Simon Horman wrote: > On Thu, Jun 02, 2016 at 03:02:00PM -0700, pravin shelar wrote: >> On Wed, Jun 1, 2016 at 11:24 PM, Simon Horman >> wrote: >> > Allow push and pop mpls actions to act on layer 3 packets by teaching >> > them not to access non-existent L2 header

Re: [ovs-dev] [PATCH v6 1/2] doc: Refactor DPDK install documentation

2016-06-07 Thread Mauricio Vásquez
On Tue, Jun 7, 2016 at 10:52 PM, Bodireddy, Bhanuprakash < bhanuprakash.bodire...@intel.com> wrote: > Thanks Mauricio for your comments, My comments inline. > > >+ it has to be configured with DPDK support and is done by './configure > -- > >with-dpdk'. > >+ This section focus on generic recipe

Re: [ovs-dev] [PATCH v3 0/3] PMD Testsuite.

2016-06-07 Thread Daniele Di Proietto
Thanks for v3. I added '| tr -d [:blank:]' after 'wc -l', because there was some extra space that made the test fail on FreeBSD. Other than this, the tests seem to pass on FreeBSD, linux and travis (I hope they pass on windows too), so I applied this to master Thanks! Daniele On 07/06/2016 05

Re: [ovs-dev] [PATCH 5/5] tests: Allow extra cmd line args to OVS_VSWITCHD_START.

2016-06-07 Thread Daniele Di Proietto
On 07/06/2016 05:26, "Ilya Maximets" wrote: >For the series: >Acked-by: Ilya Maximets Thanks for the prompt review! > >One little issue is that initialization of dummy-numa is usually >occurs before enabling of log file. This means that information >about discovered cores and numas not availa

[ovs-dev] [PATCH 2/2] test: Add more pmd tests.

2016-06-07 Thread Daniele Di Proietto
These tests stress the pmd thread and multiqueue handling in dpif-netdev. Signed-off-by: Daniele Di Proietto --- tests/pmd.at | 275 +++ 1 file changed, 275 insertions(+) diff --git a/tests/pmd.at b/tests/pmd.at index a9e6783..c30ab20 1006

[ovs-dev] [PATCH 1/2] netdev-dummy: Allow configuring the numa_id for testing purposes.

2016-06-07 Thread Daniele Di Proietto
This commit introduces an (undocumented) option for dummy Interfaces to specify a dummy numa_id, to which the device belongs. It will be used to test the pmd threads in dpif-netdev. Signed-off-by: Daniele Di Proietto --- lib/netdev-dummy.c | 26 -- 1 file changed, 20 ins

Re: [ovs-dev] [PATCH v6 1/2] doc: Refactor DPDK install documentation

2016-06-07 Thread Bodireddy, Bhanuprakash
Thanks Mauricio for your comments, My comments inline. >+  it has to be configured with DPDK support and is done by './configure -- >with-dpdk'. >+  This section focus on generic recipe that suits most cases and for >distribution >+  specific instructions, refer [INSTALL.Fedora.md], [INSTALL.RHEL.

[ovs-dev] OpenStack Proposal: Integration with OVN L3 Gateway

2016-06-07 Thread Amitabha Biswas
This proposal outlines the modifications needed in networking-ovn (addresses https://bugs.launchpad.net/networking-ovn/+bug/1551717 ) to provide Floating IP (FIP) and SNAT using the L3 gateway router patches listed below: http://patchwork.

[ovs-dev] [PATCH 1/1] rpm: Update rhel/automake.mk to build via mock

2016-06-07 Thread Leif Madsen
Provides changes to the automake.mk file in the rhel/ directory to utilize mock instead of rpmbuild for the rpm-fedora build target. The usage of mock provides an isolated environment for building packages, and makes things reproducible in various environment by relying on the spec file for a list

Re: [ovs-dev] [PATCH v2] datapath-windows: use ip proto for tunnel port lookup

2016-06-07 Thread Yin Lin
Acked-by: Yin Lin On Tue, Jun 7, 2016 at 11:20 AM, Sairam Venugopal wrote: > Acked-by: Sairam Venugopal > > > On 6/3/16, 9:34 AM, "Nithin Raju" wrote: > > >In Actions.c, based on the IP Protocol type and L4 port of > >the outer packet, we lookup the tunnel port. The function > >that made this

Re: [ovs-dev] [PATCH v6 2/2] doc: Refactor DPDK install guide, add ADVANCED doc

2016-06-07 Thread Mauricio Vásquez
Hello Bhanuprakash, few comments inline On Tue, Jun 7, 2016 at 6:45 PM, Bhanuprakash Bodireddy < bhanuprakash.bodire...@intel.com> wrote: > Add INSTALL.DPDK-ADVANCED document that is forked off from original > INSTALL.DPDK guide. This document is targeted at users looking for > optimum performanc

Re: [ovs-dev] [PATCH v6 1/2] doc: Refactor DPDK install documentation

2016-06-07 Thread Mauricio Vásquez
Hi Bhanuprakash, Comments inline. On Tue, Jun 7, 2016 at 6:45 PM, Bhanuprakash Bodireddy < bhanuprakash.bodire...@intel.com> wrote: > Refactor the INSTALL.DPDK in to two documents named INSTALL.DPDK and > INSTALL.DPDK-ADVANCED. While INSTALL.DPDK document shall facilitate the > novice user in se

Re: [ovs-dev] [patch_v1] ovn: Fix receive from vxlan in ovn-controller.

2016-06-07 Thread Darrell Ball
On Tue, Jun 7, 2016 at 8:50 AM, Ben Pfaff wrote: > On Wed, Jun 01, 2016 at 10:34:24AM -0700, Darrell Ball wrote: > > OVN only supports source_node replication and previously vtep > interaction, > > which used service node replication by default for > multicast/broadcast/unknown > > unicast traffi

Re: [ovs-dev] [patch_v4] ovn: Add local router support (RFC)

2016-06-07 Thread Darrell Ball
On Mon, Jun 6, 2016 at 9:55 PM, Ben Pfaff wrote: > On Tue, May 31, 2016 at 09:37:10AM -0700, Darrell Ball wrote: > > This patch adds local router support. The CMS provides a hint for > > a NB distributed logical router as to which logical switches the > > logical router services; the CMS always

[ovs-dev] [PATCH v18 9/9] Add incremental processing to lflow_run and physical_run

2016-06-07 Thread Ryan Moats
From: "RYAN D. MOATS" This code changes to allow incremental processing of the logical flow and physical binding tables whenver possible. Note: flows created by physical_run for multicast_groups are *NOT* handled incrementally due to to be solved issues with GWs and local routers. Signed-off-by

[ovs-dev] [PATCH v18 4/9] Persist ovn flow tables.

2016-06-07 Thread Ryan Moats
From: "RYAN D. MOATS" Ensure that ovn flow tables are persisted so that changes to them chan be applied incrementally - this is a prereq for making lflow_run and physical_run incremental. Signed-off-by: Ryan Moats --- ovn/controller/lflow.c | 26 ++-- ovn/controller/lflow.h

[ovs-dev] [PATCH v18 6/9] Refactor port binding processing in physical.c

2016-06-07 Thread Ryan Moats
From: "RYAN D. MOATS" Extract block from SBREC_PORT_BINDING_FOR_EACH block in physical_run to helper method so that it can be reused when doing incremental processing. Side effects: - localvif_to_oport and tunnels are now static file scoped Signed-off-by: RYAN D. MOATS --- ovn/controller/ph

[ovs-dev] [PATCH v18 7/9] Refactor multicast group processing in physical.c

2016-06-07 Thread Ryan Moats
From: "RYAN D. MOATS" Extract block from SBREC_MULTICAST_GROUP_FOR_EACH block in physical_run to helper method so that it can be reused when doing incremental processing. Signed-off-by: RYAN D. MOATS --- ovn/controller/physical.c | 233 -- 1 file cha

[ovs-dev] [PATCH v18 1/9] Change encaps_run to work incrementally

2016-06-07 Thread Ryan Moats
As a side effect, tunnel context is persisted. Signed-off-by: Ryan Moats --- ovn/controller/encaps.c | 231 ovn/controller/ovn-controller.c | 5 + 2 files changed, 190 insertions(+), 46 deletions(-) diff --git a/ovn/controller/encaps.c b/ovn/co

[ovs-dev] [PATCH v18 5/9] Refactor lflow.c

2016-06-07 Thread Ryan Moats
From: "RYAN D. MOATS" Refactor code block inside of SBREC_LOGICAL_FLOW_FOR_EACH loop in add_logical_flow so that this can be reused when incremental processing is added. Signed-off-by: RYAN D. MOATS --- ovn/controller/lflow.c | 315 ++--- 1 file chan

[ovs-dev] [PATCH v18 3/9] Persist lport_index and mcgroup_index structures

2016-06-07 Thread Ryan Moats
From: "RYAN D. MOATS" This is preparatory to making physical_run and lflow_run process incrementally as changes to the data in these structures control that processing. Signed-off-by: RYAN D. MOATS --- ovn/controller/lport.c | 220 +--- ovn/controll

[ovs-dev] [PATCH v18 8/9] Refactor neighbor flows in lflow.c

2016-06-07 Thread Ryan Moats
From: "RYAN D. MOATS" Extract block within SBREC_MAC_BINDING_FOR_EACH loop within add_neighbor_flows to helper method so it can be reused when doing incremental processing. Signed-off-by: RYAN D. MOATS --- ovn/controller/lflow.c | 68 +- 1 file c

[ovs-dev] [PATCH v18 2/9] Convert binding_run to incremental processing.

2016-06-07 Thread Ryan Moats
From: "RYAN D. MOATS" Ensure that the entire port binding table is processed when chassis are added/removed or when get_local_iface_ids finds new ports on the local vswitch. Side effects: - Persist local_datapaths and patch_datapaths across runs so that changes to either can be used as a t

[ovs-dev] [PATCH v18 0/9] Add incremental processing to ovn-controller

2016-06-07 Thread Ryan Moats
This patch adds incremental processing to ovn-controller. To do this, it persists multiple structures and makes use of ovsdb's change tracking feature. v17->v18: - Rebase - Addressing blp's comments (hopefully I've gotten them all!!!) - Refactored the last patch into 5 pieces to make the las

Re: [ovs-dev] [PATCH v2] datapath-windows: use ip proto for tunnel port lookup

2016-06-07 Thread Sairam Venugopal
Acked-by: Sairam Venugopal On 6/3/16, 9:34 AM, "Nithin Raju" wrote: >In Actions.c, based on the IP Protocol type and L4 port of >the outer packet, we lookup the tunnel port. The function >that made this happen took the tunnel type as an argument. >Semantically, is is better to pass the IP prot

[ovs-dev] [PATCH v5] datapath-windows: Add support for UDP and ICMP to Conntrack Module

2016-06-07 Thread Sairam Venugopal
Enable support for UDP and ICMP in the connection tracking module on Hyper-V. Define 1s as variable and reuse it. Signed-off-by: Sairam Venugopal --- datapath-windows/automake.mk | 1 + datapath-windows/ovsext/Conntrack-other.c | 82 ++ datapath-windows/ovsext/Conntra

Re: [ovs-dev] [PATCH V2] tests: Skip "daemon --service" test on Windows from non-admin console

2016-06-07 Thread Ben Pfaff
On Tue, Jun 07, 2016 at 08:12:16AM +, Paul Boca wrote: > Check if we have enough rights to create a service on Windows > otherwise we skip daemon test > > Signed-off-by: Paul-Daniel Boca > Acked-by: Alin Gabriel Serdean > Tested-by: Alin Gabriel Serdean > --- > V2: renamed macro from OVS_SK

Re: [ovs-dev] ovn: is it possible to add validation on acl match

2016-06-07 Thread Ben Pfaff
That function is pretty heavily parameterized, so you might find that getting suitable parameters (notably the symbol table) is the main challenge. If you have trouble, then we can consider the other approaches proposed. On Tue, Jun 07, 2016 at 10:22:04AM -0700, Aaron Rosen wrote: > Sure! > > On

Re: [ovs-dev] ovn: is it possible to add validation on acl match

2016-06-07 Thread Aaron Rosen
Sure! On Tue, Jun 7, 2016 at 10:18 AM, Ben Pfaff wrote: > That's an interesting idea, do you want to take a shot at it? > > On Tue, Jun 07, 2016 at 10:09:42AM -0700, Aaron Rosen wrote: > > If we want to provide a validator to the caller (i.e the neutron plugin) > > would it mostly be a matter of

Re: [ovs-dev] ovn: is it possible to add validation on acl match

2016-06-07 Thread Ben Pfaff
That's an interesting idea, do you want to take a shot at it? On Tue, Jun 07, 2016 at 10:09:42AM -0700, Aaron Rosen wrote: > If we want to provide a validator to the caller (i.e the neutron plugin) > would it mostly be a matter of making: > > actions_parse_string() - > https://github.com/openvsw

Re: [ovs-dev] ovn: is it possible to add validation on acl match

2016-06-07 Thread Aaron Rosen
If we want to provide a validator to the caller (i.e the neutron plugin) would it mostly be a matter of making: actions_parse_string() - https://github.com/openvswitch/ovs/blob/master/ovn/lib/actions.c#L554 callable via python? I can start looking into making that work. Aaron On Fri, May 20, 2

[ovs-dev] [PATCH v6 0/2] doc: Refactor DPDK install guide

2016-06-07 Thread Bhanuprakash Bodireddy
This patchset refactors the present INSTALL.DPDK.md guide. The INSTALL guide is split in to two documents named INSTALL.DPDK and INSTALL.DPDK-ADVANCED. The former document is simplified with emphasis on installation, basic testcases and targets novice users. Sections on system configuration, perfo

[ovs-dev] [PATCH v6 2/2] doc: Refactor DPDK install guide, add ADVANCED doc

2016-06-07 Thread Bhanuprakash Bodireddy
Add INSTALL.DPDK-ADVANCED document that is forked off from original INSTALL.DPDK guide. This document is targeted at users looking for optimum performance on OVS using dpdk datapath. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK-ADVANCED.md | 868

[ovs-dev] [PATCH v6 1/2] doc: Refactor DPDK install documentation

2016-06-07 Thread Bhanuprakash Bodireddy
Refactor the INSTALL.DPDK in to two documents named INSTALL.DPDK and INSTALL.DPDK-ADVANCED. While INSTALL.DPDK document shall facilitate the novice user in setting up the OVS DPDK and running it out of box, the ADVANCED document is targeted at expert users looking for the optimum performance runnin

Re: [ovs-dev] [patch_v1] ovn: Fix receive from vxlan in ovn-controller.

2016-06-07 Thread Ben Pfaff
On Wed, Jun 01, 2016 at 10:34:24AM -0700, Darrell Ball wrote: > OVN only supports source_node replication and previously vtep interaction, > which used service node replication by default for multicast/broadcast/unknown > unicast traffic worked by happenstance. Because of limited vxlan > encapsula

Re: [ovs-dev] [PATCH] ovs-tcpdump: Add a tcpdump wrapper utility

2016-06-07 Thread Ben Pfaff
On Wed, Jun 01, 2016 at 01:30:40PM -0400, Aaron Conole wrote: > Currently, there is some documentation which describes setting up and > using port mirrors for bridges. This documentation is helpful to setup > a packet capture for specific ports. > > However, a utility to do such packet capture wou

Re: [ovs-dev] [PATCH v3 0/3] Python JSON improvements

2016-06-07 Thread Ben Pfaff
On Tue, May 31, 2016 at 07:14:49PM -0500, Terry Wilson wrote: > This patch set adds an optional C extension wrapper for the > Python JSON parser. In local tests, it sped up parsing a 100Mb > JSON file by over 70x. It also switches to using the built-in > Python JSON serializer and fixes a small dif

Re: [ovs-dev] [PATCH 1/3] Ensure significand remains an integer in Python3 json parser

2016-06-07 Thread Ben Pfaff
On Tue, Jun 07, 2016 at 08:34:53AM -0700, Ben Pfaff wrote: > On Tue, May 31, 2016 at 07:14:50PM -0500, Terry Wilson wrote: > > The / operation in Python 2 is "floor division" for int/long types > > while in Python 3 is "true division". This means that the > > significand can become a float with the

Re: [ovs-dev] [PATCH 2/3] Add optional C extension wrapper for Python JSON parsing

2016-06-07 Thread Ben Pfaff
On Tue, May 31, 2016 at 07:14:51PM -0500, Terry Wilson wrote: > The pure Python in-tree JSON parser is *much* slower than the > in-tree C JSON parser. A local test parsing a 100Mb JSON file > showed the Python version taking 270 seconds. With the C wrapper, > it took under 4 seconds. > > The C ext

Re: [ovs-dev] [PATCH 1/3] Ensure significand remains an integer in Python3 json parser

2016-06-07 Thread Ben Pfaff
On Tue, May 31, 2016 at 07:14:50PM -0500, Terry Wilson wrote: > The / operation in Python 2 is "floor division" for int/long types > while in Python 3 is "true division". This means that the > significand can become a float with the existing code in Python 3. > This, in turn, can result in a parse

Re: [ovs-dev] [PATCHv2] debian, rhel: Ship ovs shared libraries and header files

2016-06-07 Thread Ben Pfaff
On Tue, May 31, 2016 at 02:32:59PM -0700, ec...@vmware.com wrote: > From: Edwin Chiu > > Compile and package ovs shared libraries and create new header > package for debian (openvswitch-dev) and rhel (openvswitch-devel). > > VMware-BZ: #1556299 > Signed-off-by: Edwin Chiu > Co-authored-by: Haro

Re: [ovs-dev] [PATCH v3 5/5] ovn: DNAT and SNAT on a gateway router.

2016-06-07 Thread Guru Shetty
> > > > I am always a little nervous about putting things in schema that I know > will change later, > especially when it comes to the structure of the config. > > I am thinking of ovn-nb.ovsschema changes along the following lines: > > "Logical_Router": { > "columns": { >

Re: [ovs-dev] [PATCH V3 2/4] ovs-ofctl: Fixed PID file naming on windows

2016-06-07 Thread Paul Boca
Hi! I think I created a confusion here. I meant relative path. If a –pidfile was given “abc.pid” then this would be ignored because it doesn’t contain ‘:’ and the app name would be used instead. With my patch “abc.pid” gets expanded to \abc.pi. This is for Windows only. I will update the patch d

Re: [ovs-dev] [PATCH V3 2/4] ovs-ofctl: Fixed PID file naming on windows

2016-06-07 Thread Guru Shetty
On 7 June 2016 at 01:00, Paul Boca wrote: > If an absolute path is given to --pidfile parameter (not containing ':') > then the application name is used for PID file, ignoring the given name. > What is an example of absolute path that does not include ":"? Would that be something like "/foo/bar/

Re: [ovs-dev] [PATCH v2 1/2] Check and allocate free qdisc queue id for ports with qos parameters

2016-06-07 Thread Ben Pfaff
On Tue, Jun 07, 2016 at 06:47:57PM +0530, Babu Shanmugam wrote: > On Monday 06 June 2016 08:30 PM, Ben Pfaff wrote: > >On Mon, Jun 06, 2016 at 02:31:03PM +0530, Babu Shanmugam wrote: > >>On Saturday 04 June 2016 01:17 AM, Ben Pfaff wrote: > >>>On Wed, May 25, 2016 at 03:35:44PM +0530, bscha...@redh

Re: [ovs-dev] [PATCH] tests: fix issue in use of OVS_APP_EXIT_AND_WAIT

2016-06-07 Thread Lance Richardson
- Original Message - > From: "Alin Serdean" > To: "Lance Richardson" , dev@openvswitch.org > Cc: "Paul Boca" > Sent: Monday, June 6, 2016 8:52:37 PM > Subject: RE: [ovs-dev] [PATCH] tests: fix issue in use of > OVS_APP_EXIT_AND_WAIT > > Hi Lance, > > Thanks a lot for the patch just one

Re: [ovs-dev] [PATCH v2 1/2] Check and allocate free qdisc queue id for ports with qos parameters

2016-06-07 Thread Babu Shanmugam
On Monday 06 June 2016 08:30 PM, Ben Pfaff wrote: On Mon, Jun 06, 2016 at 02:31:03PM +0530, Babu Shanmugam wrote: On Saturday 04 June 2016 01:17 AM, Ben Pfaff wrote: On Wed, May 25, 2016 at 03:35:44PM +0530, bscha...@redhat.com wrote: I'm a little worried about the way that this will re-set a

[ovs-dev] hi

2016-06-07 Thread Mail Administrator
The original message was received at Tue, 7 Jun 2016 18:23:10 +0530 from openvswitch.org [166.90.47.173] - The following addresses had permanent fatal errors - - Transcript of the session follows - ... while talking to 196.38.240.157: 554 5.0.0 Service unavailable; [116.152.40.1

Re: [ovs-dev] [PATCH v2 0/7] PMD Testsuite.

2016-06-07 Thread Ilya Maximets
Thanks for all your review and testing. I've sent new version of tests based on your 'dummy-numa' series: http://openvswitch.org/pipermail/dev/2016-June/072331.html Actually I have no environment to test with non-Linux systems and also have no account to test with travis. So, this series is only t

[ovs-dev] [PATCH v3 2/3] ofproto-dpif.at: Run tests with dummy-pmd.

2016-06-07 Thread Ilya Maximets
Signed-off-by: Ilya Maximets --- tests/ofproto-dpif.at | 157 tests/ofproto-macros.at | 31 +++--- 2 files changed, 114 insertions(+), 74 deletions(-) diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at index d0aacfa..638d269 100644

[ovs-dev] [PATCH v3 3/3] testsuite: Add PMD specific tests.

2016-06-07 Thread Ilya Maximets
Signed-off-by: Ilya Maximets --- tests/automake.mk | 1 + tests/pmd.at | 182 + tests/testsuite.at | 1 + 3 files changed, 184 insertions(+) create mode 100644 tests/pmd.at diff --git a/tests/automake.mk b/tests/automake.mk index 7a

[ovs-dev] [PATCH v3 0/3] PMD Testsuite.

2016-06-07 Thread Ilya Maximets
A bunch of PMD specific tests. Some already existing tests reused to run with 'dummy-pmd' interfaces. Version 3: * Rebased on top of 'dummy-numa' patch-set: http://openvswitch.org/pipermail/dev/2016-June/072277.html * --dummy-numa option used for all pmd tests.

[ovs-dev] [PATCH v3 1/3] dpif-netdev.at: Run tests with dummy-pmd.

2016-06-07 Thread Ilya Maximets
Signed-off-by: Ilya Maximets --- tests/dpif-netdev.at | 147 --- 1 file changed, 80 insertions(+), 67 deletions(-) diff --git a/tests/dpif-netdev.at b/tests/dpif-netdev.at index 12468f4..ab83634 100644 --- a/tests/dpif-netdev.at +++ b/tests/dpif-ne

Re: [ovs-dev] [PATCH 5/5] tests: Allow extra cmd line args to OVS_VSWITCHD_START.

2016-06-07 Thread Ilya Maximets
For the series: Acked-by: Ilya Maximets One little issue is that initialization of dummy-numa is usually occurs before enabling of log file. This means that information about discovered cores and numas not available in ovs-vswitchd.log. But in testing time this log messages are available inside s

[ovs-dev] Hi

2016-06-07 Thread Mail Administrator
Iþ2 ½³Lëº)}c k$ó®žÊŠ©¤ÀsԝŸüéu´¥FD¹ "ÝeN/åËßï<>fÏwl{o¥’éèåɓԿ1Ñr\ˆ¯ßW?ô亂ń¸‰Tò*ëò ¸³bŽÁçšêP©¢'®àèPzUÌê‚Úð9ã#*ç¸ÔdøÅ3|e&¾¡$†”šþ·ÆÃó¿Áj'³‚ Íçd® µVÎóê„1¢“ä~oQƒã‚Ëé}ÞyÂ¥’×L>²ËXÓXbHÓi!p¬šÔµÅ-ÝõI ;IîØ~ãÇàþ‰|4Ÿþ]yïÎå*ó8L( Ø-³¹Ciûìà„\Z‡š"3J•Ê }ÖÃåªt¿žw衞'|œY*K4k:ØýÝ÷ô¤LY¶”A®3K`çU²×žŒ¶÷±ªÇ¶ÃgZ

[ovs-dev] [RFC PATCH 11/14] Kernel: Add push_nsh/pop_nsh flow actions for data path

2016-06-07 Thread Johnson Li
Network Service Header is pushed to/stripped from packets with the data path flow actions push_nsh and pop_nsh. Signed-off-by: Johnson Li diff --git a/datapath/actions.c b/datapath/actions.c index dcf8591..69f5d2a 100644 --- a/datapath/actions.c +++ b/datapath/actions.c @@ -29,6 +29,7 @@ #inclu

[ovs-dev] [RFC PATCH 12/14] Openflow message for push/pop NSH header

2016-06-07 Thread Johnson Li
Signed-off-by: Johnson Li diff --git a/lib/odp-util.c b/lib/odp-util.c index f970e86..056b0be 100644 --- a/lib/odp-util.c +++ b/lib/odp-util.c @@ -550,6 +550,41 @@ format_odp_tnl_push_action(struct ds *ds, const struct nlattr *attr) ds_put_format(ds, ",out_port(%"PRIu32"))", data->out_port)

[ovs-dev] [RFC PATCH 14/14] commit control plane action to data plane

2016-06-07 Thread Johnson Li
Signed-off-by: Johnson Li diff --git a/lib/odp-util.c b/lib/odp-util.c index 056b0be..1a2d8a5 100644 --- a/lib/odp-util.c +++ b/lib/odp-util.c @@ -5822,6 +5822,37 @@ commit_vlan_action(ovs_be16 vlan_tci, struct flow *base, base->vlan_tci = vlan_tci; } +static void +commit_nsh_action(const

[ovs-dev] [CudaMailTagged] [RFC PATCH 08/14] Add Meta flow key for NSH header

2016-06-07 Thread Johnson Li
Signed-off-by: Johnson Li diff --git a/include/openvswitch/meta-flow.h b/include/openvswitch/meta-flow.h index e5f9962..344e5b7 100644 --- a/include/openvswitch/meta-flow.h +++ b/include/openvswitch/meta-flow.h @@ -1720,6 +1720,132 @@ enum OVS_PACKED_ENUM mf_field_id { */ MFF_ND_TLL,

[ovs-dev] [RFC PATCH 13/14] Add "pop_nsh/push_nsh" flow action for OVS control plane

2016-06-07 Thread Johnson Li
This patch adds pop_nsh and push_nsh Openflow action for control plane, these actions will strip or push NSH header for packets. The data plane implementation will be added in following patches. How to use: 1) Creation of VxLAN-GPE tunnel port: ovs-vsctl add-port br-int vxlan0 -- set interface vxl

[ovs-dev] [CudaMailTagged] [RFC PATCH 05/14] Add key attributes of Network Service Header

2016-06-07 Thread Johnson Li
The openvswitch exchange the key with key netlink message between the kernel data path and user space flow tables. The key fields are defined as key attributes. Signed-off-by: Johnson Li diff --git a/datapath/flow_netlink.c b/datapath/flow_netlink.c index 6ffcc53..15685c7 100644 --- a/datapath/f

[ovs-dev] [CudaMailTagged] [RFC PATCH 10/14] Parse NSH header in flow_extract

2016-06-07 Thread Johnson Li
Signed-off-by: Johnson Li diff --git a/lib/flow.c b/lib/flow.c index a4c1215..be87b3c 100644 --- a/lib/flow.c +++ b/lib/flow.c @@ -439,6 +439,37 @@ invalid: arp_buf[1] = eth_addr_zero; } +static inline int +parse_nsh(const void **datap, size_t *sizep, struct flow_nsh *key) +{ +const s

[ovs-dev] [CudaMailTagged] [RFC PATCH 06/14] Parse and format NSH key attributes

2016-06-07 Thread Johnson Li
Signed-off-by: Johnson Li diff --git a/lib/odp-util.c b/lib/odp-util.c index d9ace90..8a2e521 100644 --- a/lib/odp-util.c +++ b/lib/odp-util.c @@ -146,6 +146,7 @@ ovs_key_attr_to_string(enum ovs_key_attr attr, char *namebuf, size_t bufsize) case OVS_KEY_ATTR_CT_MARK: return "ct_mark";

[ovs-dev] [CudaMailTagged] [RFC PATCH 09/14] parse NSH key in key_extract of openvswitch

2016-06-07 Thread Johnson Li
Parse the Network Service Header to fullfill the fields in the struct sw_flow_key. Signed-off-by: Johnson Li diff --git a/datapath/flow.c b/datapath/flow.c index fd09cec..223ff5c 100644 --- a/datapath/flow.c +++ b/datapath/flow.c @@ -44,6 +44,7 @@ #include #include #include +#include #

[ovs-dev] [CudaMailTagged] [RFC PATCH 03/14] Add NSH keys as match fields for user space flow table

2016-06-07 Thread Johnson Li
Add NSH keys (Metadata type I only) as part of match fields for the user space flow table. Signed-off-by: Johnson Li diff --git a/include/openvswitch/flow.h b/include/openvswitch/flow.h index 03d406b..5f3cd39 100644 --- a/include/openvswitch/flow.h +++ b/include/openvswitch/flow.h @@ -100,6 +100

[ovs-dev] [CudaMailTagged] [RFC PATCH 04/14] Format NSH keys to readable strings

2016-06-07 Thread Johnson Li
Signed-off-by: Johnson Li diff --git a/lib/match.c b/lib/match.c index db78831..f12c802 100644 --- a/lib/match.c +++ b/lib/match.c @@ -1046,6 +1046,40 @@ format_ct_label_masked(struct ds *s, const ovs_u128 *key, const ovs_u128 *mask) } } +static void +format_flow_nsh(struct ds *s, const

[ovs-dev] [CudaMailTagged] [RFC PATCH 00/14] Add Network Service Header Support

2016-06-07 Thread Johnson Li
IETF draft at: https://tools.ietf.org/html/draft-ietf-sfc-nsh-01 defines a new protocol named Network Service Header (NSH). Its format looks like: +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Ver|O|C|R|R|R|R|R|R|Length | MD Type | Next Proto | +-+-+-+-+-

[ovs-dev] status

2016-06-07 Thread Mail Delivery Subsystem
___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH V3 2/4] ovs-ofctl: Fixed PID file naming on windows

2016-06-07 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean > -Mesaj original- > De la: dev [mailto:dev-boun...@openvswitch.org] În numele Paul Boca > Trimis: Tuesday, June 7, 2016 11:01 AM > Către: dev@openvswitch.org > Subiect: [ovs-dev] [PATCH V3 2/4] ovs-ofctl: Fixed PID file naming on > windows > > If an absol

Re: [ovs-dev] [PATCH] tests: Skip vlog close and set if no python is installed

2016-06-07 Thread Alin Serdean
> > Hi guys! > > Thanks for the review! > Now I see that I didn't fully understood what AT_CAPTURE_FILE macro does > when I wrote the patch (this was my first contact with autoconf testsuites). [Alin Gabriel Serdean: ] It is a tough cookie at first :). You are doing well! > I will send another on

Re: [ovs-dev] [PATCH v2] INSTALL.md: Note use of "hacking" flake8 plugin.

2016-06-07 Thread Russell Bryant
On Tue, Jun 7, 2016 at 12:44 AM, Ben Pfaff wrote: > On Thu, Jun 02, 2016 at 03:53:46PM -0400, Russell Bryant wrote: > > The automatic flake8 check that runs against Python code has some > > warnings enabled that come from the "hacking" flake8 plugin. If it's > > not installed, the warnings just

Re: [ovs-dev] [PATCH] tests: Skip vlog close and set if no python is installed

2016-06-07 Thread Paul Boca
Hi guys! Thanks for the review! Now I see that I didn't fully understood what AT_CAPTURE_FILE macro does when I wrote the patch (this was my first contact with autoconf testsuites). I will send another one with Alin's suggestion. Thanks, Paul > -Original Message- > From: Ben Pfaff [mailt

[ovs-dev] [PATCH] vtep: add per-tunnel tunnel key support in vtep-ctl and ovs-vtep. related to commit c2cd1902

2016-06-07 Thread Itamar Ofek
This patch adds support for handeling a per-tunnel tunnel key in the ovs-vtep and vtep-ctl to support the usage of neutron L2GW as an inter-cloud gateway. The Neutron spec is available here: https://review.openstack.org/#/c/270786/ Requested-by: "Ofer Ben-Yacov" Signed-off-by: "Itamar Ofek"

  1   2   >