[ovs-dev] [patch_v1] doc: Support building ovs with Trusty.

2017-03-02 Thread Darrell Ball
Some code-block directives are not understood using Trusty (I was using 14.04.1 when the issue was found) default package versions, which blocks the build. An error example: writing output... [100%] topics/language-bindings Warning, treated as error: /home/dball/ovs/Documentation/topics/language-b

Re: [ovs-dev] [PATCH v2 00/22] Conntrack enhancements.

2017-03-02 Thread Joe Stringer
On 28 February 2017 at 17:17, Jarno Rajahalme wrote: > This patch set backports the recent upstream conntrack fixes and new > features to the OVS tree kernel module, and adds the OVS userspace > support. > > Patch 1/22 is an unrelated datapath backport, and patch 22/22 allows > compiling against L

[ovs-dev] [PATCH 2/2] datapath: Simplify do_execute_actions().

2017-03-02 Thread Joe Stringer
From: andy zhou Upstream commit: commit 5b8784aaf29be20ba8d363e1124d7436d42ef9bf Author: Andy Zhou Date: Fri Jan 27 13:45:28 2017 -0800 openvswitch: Simplify do_execute_actions(). do_execute_actions() implements a worthwhile optimization: in case an output action is the

[ovs-dev] [PATCH 0/2] Extra pending backports

2017-03-02 Thread Joe Stringer
These two patches exist between the current OVS master and the next series of backports from Jarno here: https://mail.openvswitch.org/pipermail/ovs-dev/2017-March/329201.html The first patch was already applied to branch-2.7 earlier. Andy Zhou (1): datapath: Simplify do_execute_actions(). Lanc

[ovs-dev] [PATCH 1/2] datapath: maintain correct checksum state in conntrack actions.

2017-03-02 Thread Joe Stringer
From: Lance Richardson Upstream commit: commit 75f01a4c9cc291ff5cb28ca1216adb163b7a20ee Author: Lance Richardson Date: Thu Jan 12 19:33:18 2017 -0500 openvswitch: maintain correct checksum state in conntrack actions When executing conntrack actions on skbuffs with checksum

Re: [ovs-dev] [PATCH] packaging: Make Fedora spec file CentOS compatible

2017-03-02 Thread Leif Madsen
On Thu, Mar 2, 2017 at 10:04 PM, Leif Madsen wrote: > On CentOS, the package names aren't prefixed with python2, but rather > are prefixed with simply python. This change addresses that and fixes > up some documentation that was outdated, and updates the Vagrantfile > to use the proper spec file

[ovs-dev] [PATCH] packaging: Make Fedora spec file CentOS compatible

2017-03-02 Thread Leif Madsen
On CentOS, the package names aren't prefixed with python2, but rather are prefixed with simply python. This change addresses that and fixes up some documentation that was outdated, and updates the Vagrantfile to use the proper spec file and package names. Signed-off-by: Leif Madsen --- Documenta

Re: [ovs-dev] [PATCH v2 14/22] flow: Make room after ct_state.

2017-03-02 Thread Joe Stringer
On 28 February 2017 at 17:17, Jarno Rajahalme wrote: > 'ct_state' currently only needs 8 bits, so we can make room for a new > CT field introduced in the next patch. > > Signed-off-by: Jarno Rajahalme > --- > include/openvswitch/flow.h | 3 ++- > lib/flow.c | 3 ++- > lib/match.c

Re: [ovs-dev] [PATCH v2 18/22] datapath: Add force commit.

2017-03-02 Thread Joe Stringer
On 28 February 2017 at 17:17, Jarno Rajahalme wrote: > Upstream patch: > > commit dd41d33f0b033885211a5d6f3ee19e73238aa9ee > Author: Jarno Rajahalme > Date: Thu Feb 9 11:22:00 2017 -0800 > > openvswitch: Add force commit. > > Stateful network admission policy may allow conne

Re: [ovs-dev] [PATCH v2 13/22] datapath: Add original direction conntrack tuple to sw_flow_key.

2017-03-02 Thread Joe Stringer
On 28 February 2017 at 17:17, Jarno Rajahalme wrote: > Upstream commit: > > commit 9dd7f8907c3705dc7a7a375d1c6e30b06e6daffc > Author: Jarno Rajahalme > Date: Thu Feb 9 11:21:59 2017 -0800 > > openvswitch: Add original direction conntrack tuple to sw_flow_key. > > Add the fie

Re: [ovs-dev] [PATCH v2 12/22] lib: Check match and action prerequisities with 'match'.

2017-03-02 Thread Joe Stringer
On 28 February 2017 at 17:17, Jarno Rajahalme wrote: > Supply the match mask to prerequisities checking when available. This > allows checking for zero-valued matches. Non-zero valued matches > imply the presense of corresponding mask bits, but for zero valued > matches we must explicitly check

Re: [ovs-dev] [ovs-discuss][ovn][dhcp]Could ovn remove restriction of option 3(router)

2017-03-02 Thread Dong Jun
On 2017/3/3 1:33, Ben Pfaff wrote: On Thu, Mar 02, 2017 at 07:15:48PM +0800, Dong Jun wrote: An router IP MUST be set to dhcp v4 option for option 3, but not all subnet do have a gateway IP. Furthermore, if i set 0.0.0.0 to option as a tradeoff, the VM can obtain client ip and a gateway error

Re: [ovs-dev] [PATCH v2 09/22] datapath: Refactor labels initialization.

2017-03-02 Thread Joe Stringer
On 28 February 2017 at 17:17, Jarno Rajahalme wrote: > Upstream commit: > > Refactoring conntrack labels initialization makes changes in later > patches easier to review. > > Signed-off-by: Jarno Rajahalme > Acked-by: Pravin B Shelar > Acked-by: Joe Stringer > Signed-off

[ovs-dev] How to add a new message type to the switch to receive some information from controller

2017-03-02 Thread Sadegh Shams
Hello, I have just started working on open flow and I appreciate if you could possibly help me with your advice. My project is about SDN and I should extend the Open-flow protocol in order to send a parameter (just a number) from controller to the switch do some calculation and return the result

Re: [ovs-dev] [PATCH 0/8] Upstream Linux kernel datapath backports.

2017-03-02 Thread Joe Stringer
On 2 March 2017 at 13:20, Jarno Rajahalme wrote: > >> On Mar 1, 2017, at 7:27 PM, Joe Stringer wrote: >> >> On 15 February 2017 at 17:34, Jarno Rajahalme wrote: >>> Many contributors are currently working on backporting upstream Linux >>> kernel datapath changes to the OVS tree kernel datapath.

Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs

2017-03-02 Thread Jarno Rajahalme
> On Mar 2, 2017, at 11:56 AM, Joe Stringer wrote: > > Thanks for looking it over, that sounds reasonable. I'll be looking > forward along the other backports to try to get us back in better sync > with upstream. > > I will mention that at this stage, the tree that I pointed to is > missing the

Re: [ovs-dev] [PATCH 1/3] ofproto-dpif: Enhance execute_controller_action().

2017-03-02 Thread Jarno Rajahalme
With the notes below: Acked-by: Jarno Rajahalme > On Feb 16, 2017, at 5:11 PM, Andy Zhou wrote: > > Allow execute_controller_action() to accept actions encoded with > nested netlink attributes. > > execute_controller_action() can be called during 'xlate_actions'. It > tries executes all actio

Re: [ovs-dev] [PATCH] compat: Remove rpl_dev_queue_xmit() backport.

2017-03-02 Thread Joe Stringer
On 8 February 2017 at 16:50, Joe Stringer wrote: > The MPLS portions of this were inadvertently broken in v2.4 due to > 433637881ca5 ("datapath: define compat __skb_gso_segment()") which > inverts the supports_mpls_gso() logic, then when rpl_dev_queue_xmit() > backport dropped its VLAN portion in

Re: [ovs-dev] [PATCH 3/3] xlate: Translate openflow clone into odp sample action.

2017-03-02 Thread Jarno Rajahalme
Acked-by: Jarno Rajahalme > On Feb 16, 2017, at 5:11 PM, Andy Zhou wrote: > > When datapath does not support the 'clone' action directly, generate > sample action (with 100% probability) instead. > > Specifically, currently, there is no plan to support the 'clone' > action on the Linux kernel

Re: [ovs-dev] [PATCH 2/3] lib: Refactor nested netlink APIs.

2017-03-02 Thread Jarno Rajahalme
Acked-by: Jarno Rajahalme > On Feb 16, 2017, at 5:11 PM, Andy Zhou wrote: > > Future patches will make use of those changes. > > Signed-off-by: Andy Zhou > --- > lib/netlink.c | 19 --- > lib/netlink.h | 3 ++- > 2 files changed, 18 insertions(+), 4 deletions(-) > > diff --git

Re: [ovs-dev] [PATCH] datapath-windows: Trigger conntrack event after setting mark and label

2017-03-02 Thread Shashank Ram
Thanks Sai for the change. I was wondering if you could add a helper function to lookup the OVS_CT_ENTRY that got added to the OvsConntrackKeyLookupCtx list, instead of passing a boolean around to functions. i.e replace "entryCreated" with "IsEntryCreated()". Thanks, Shashank _

[ovs-dev] [PATCH] datapath-windows: Trigger conntrack event after setting mark and label

2017-03-02 Thread Sairam Venugopal
New Conntrack Entry event should be triggered after setting the mark and label fields. The current RW lock implementation prevents Event Handler from reading the entry until mark/label is set. Fixing the workflow to trigger the event after setting mark/label. Signed-off-by: Sairam Venugopal ---

Re: [ovs-dev] [PATCH 0/8] Upstream Linux kernel datapath backports.

2017-03-02 Thread Jarno Rajahalme
> On Mar 1, 2017, at 7:27 PM, Joe Stringer wrote: > > On 15 February 2017 at 17:34, Jarno Rajahalme wrote: >> Many contributors are currently working on backporting upstream Linux >> kernel datapath changes to the OVS tree kernel datapath. This series >> addresses apparent gaps in this work as

Re: [ovs-dev] [PATCH] Net: openvswitch: actions: fixed a brace coding style warning

2017-03-02 Thread David Miller
From: Peter Downs Date: Wed, 1 Mar 2017 01:01:17 -0800 > Fixed a brace coding style warning reported by checkpatch.pl > > Signed-off-by: Peter Downs Applied. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs

Re: [ovs-dev] [PATCH] fedora: Add python3-openvswitch split package

2017-03-02 Thread Leif Madsen
On Thu, Mar 2, 2017 at 3:44 PM, Russell Bryant wrote: > > On Thu, Mar 2, 2017 at 3:42 PM, Leif Madsen wrote: > >> Just an FYI that this patch breaks CentOS 7 builds because of the >> python3-devel dependency. Might need to wrap it in a conditional to check >> for CentOS 7 platform builds. >> >>

Re: [ovs-dev] [PATCH] fedora: Add python3-openvswitch split package

2017-03-02 Thread Russell Bryant
On Thu, Mar 2, 2017 at 3:42 PM, Leif Madsen wrote: > Just an FYI that this patch breaks CentOS 7 builds because of the > python3-devel dependency. Might need to wrap it in a conditional to check > for CentOS 7 platform builds. > > CC: Russell and Flavio > > Thanks! > Leif. > Thanks for letting u

Re: [ovs-dev] [PATCH] fedora: Add python3-openvswitch split package

2017-03-02 Thread Leif Madsen
Just an FYI that this patch breaks CentOS 7 builds because of the python3-devel dependency. Might need to wrap it in a conditional to check for CentOS 7 platform builds. CC: Russell and Flavio Thanks! Leif. On Tue, Feb 21, 2017 at 10:29 AM, Timothy Redaelli wrote: > Reported-at: https://bugzil

Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs

2017-03-02 Thread Joe Stringer
Thanks for looking it over, that sounds reasonable. I'll be looking forward along the other backports to try to get us back in better sync with upstream. I will mention that at this stage, the tree that I pointed to is missing the MPLS GSO backport but everything else should be up to date until th

Re: [ovs-dev] [PATCH] dpdk: Redirect DPDK log to OVS logging subsystem.

2017-03-02 Thread Aaron Conole
Ilya Maximets writes: > This should be helpful for have all the logs in one place. > 'ovs-appctl vlog' commands for 'dpdk' module can be used > to configure the log level. Lower bound for DPDK logging > (--log-level) still can be passed through 'dpdk-extra' field. > > Signed-off-by: Ilya Maximets

Re: [ovs-dev] [ovs-discuss][ovn][dhcp]Could ovn remove restriction of option 3(router)

2017-03-02 Thread Ben Pfaff
On Thu, Mar 02, 2017 at 07:15:48PM +0800, Dong Jun wrote: > An router IP MUST be set to dhcp v4 option for option 3, but not all subnet > do have a gateway IP. Furthermore, if i set 0.0.0.0 to option as a > tradeoff, the VM can obtain client ip and a gateway error log occurred > meanwhile. > > It

[ovs-dev] Please Dear !, I need your help to invest in your country,

2017-03-02 Thread Aisha al-Qaddafi
Assalamu Alaikum Dear Friend, Please dear, I came across your e-mail contact prior a private search while in need of your help to invest in your country. My name is Aisha Al-Qaddafi a single Mother and a Widow with three Children. I am the only biological Daughter of late Libyan President (La

[ovs-dev] Reclutamiento: Facebook y LinkedIn

2017-03-02 Thread Recursos Humanos - planes al 3x2
Aprovechamiento de los recursos Tecnológicos avanzados NOTA: Tema Incluido en nuestro plan integral de Capacitación, el cual incluye 12 temas del área de RH. RECLUTAMIENTO: dónde localizar talento humano ideal para la Empresa El reclutamiento, selección e incorporación de recursos humanos de c

[ovs-dev] [PATCH] ovsdb: Expose openvswitch run directory through ovsdb

2017-03-02 Thread Robert Wojciechowicz
When using vhost-user client or server mode with openstack, neutron needs to be able to construct the fully qualified socket path and pass it to nova. While the relative vhost-user socket directory is exposed via the `Open_vSwitch` table (other_config:vhost-sock-dir), the openvswith run directory i

[ovs-dev] [PATCH 2/3] dpdk: Improve manpage for dpdk memory configuration.

2017-03-02 Thread nickcooper-zhangtonghao
Signed-off-by: nickcooper-zhangtonghao --- vswitchd/vswitch.xml | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml index 782417f..a91be59 100644 --- a/vswitchd/vswitch.xml +++ b/vswitchd/vswitch.xml @@ -241,10 +241,6 @@

[ovs-dev] [PATCH 3/3] lacp: Fix formatting typo.

2017-03-02 Thread nickcooper-zhangtonghao
Signed-off-by: nickcooper-zhangtonghao --- lib/lacp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lacp.c b/lib/lacp.c index 64c9849..7716387 100644 --- a/lib/lacp.c +++ b/lib/lacp.c @@ -337,7 +337,7 @@ lacp_process_packet(struct lacp *lacp, const void *slave_,

[ovs-dev] [PATCH 1/3] doc: Fix issues.rst formatting typo.

2017-03-02 Thread nickcooper-zhangtonghao
The preformatted block is only finished when the text falls back to the same indentation level as a paragraph prior to the preformatted block. Signed-off-by: nickcooper-zhangtonghao --- Documentation/faq/issues.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentat

[ovs-dev] [PATCH] dpdk: Redirect DPDK log to OVS logging subsystem.

2017-03-02 Thread Ilya Maximets
This should be helpful for have all the logs in one place. 'ovs-appctl vlog' commands for 'dpdk' module can be used to configure the log level. Lower bound for DPDK logging (--log-level) still can be passed through 'dpdk-extra' field. Signed-off-by: Ilya Maximets --- NEWS | 5 + lib/d

[ovs-dev] [ovs-discuss][ovn][dhcp]Could ovn remove restriction of option 3(router)

2017-03-02 Thread Dong Jun
An router IP MUST be set to dhcp v4 option for option 3, but not all subnet do have a gateway IP. Furthermore, if i set 0.0.0.0 to option as a tradeoff, the VM can obtain client ip and a gateway error log occurred meanwhile. It seems that it's not a restriction in RFC 2132, as comparison dns