[ovs-dev] Proposal

2018-07-13 Thread Ms . Yael Ronen
I have a confidential deal for you, please contact me for more details via this email immediately. God Bless, Ms.Yael Ronen ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH] ofproto: Return error codes for Rule insertions

2018-07-13 Thread Aravind Prasad
Hi Aaron/Ben/All, Kindly review the patch and let me know your views. On Thu, Jul 12, 2018 at 11:34 PM, Aravind Prasad S wrote: > Currently, rule_insert() API does not have return value. There are some > possible > scenarios where rule insertions can fail at run-time even though the static >

Re: [ovs-dev] [PATCH] Documentation:

2018-07-13 Thread Gregory Rose
On 7/13/2018 3:44 PM, Greg Rose wrote: Add netstat when mentioning testing. Many check-kmod failures result when it is not present. Signed-off-by: Greg Rose I fat fingered the title - should be "Documentation: Add netstat to testing I can send V2 or it can be fixed on push, either way

Re: [ovs-dev] [PATCH] tests: Ignore recirc_id in "MPLS xlate action" test.

2018-07-13 Thread Aaron Conole
Ben Pfaff writes: > When I run this test with DPDK enabled, it fails because it ends up using > a different recirculation ID when DPDK is not enabled. I guess that's a > little weird but the recirculation IDs are not supposed to be significant, > so this change makes the test ignore it. > >

Re: [ovs-dev] [PATCH v2 14/15] tests: Add test for sync command to ovn-nbctl test suite.

2018-07-13 Thread Jakub Sitnicki
On Thu, 12 Jul 2018 17:10:14 -0400 Mark Michelson wrote: > This is tough. The problem with a test like this is that you can't > really tell that the sync is working as intended. It's possible that the > ovn-nbctl is not actually waiting, but by coincidence, the database has > its values

Re: [ovs-dev] [PATCH v2 02/15] ovsdb-idl: Allow monitoring columns that are already monitored.

2018-07-13 Thread Jakub Sitnicki
On Thu, 12 Jul 2018 17:09:45 -0400 Mark Michelson wrote: > On 07/12/2018 09:40 AM, Jakub Sitnicki wrote: > > If IDL was created with monitoring and alerts turned on by default for > > all columns, then there is no harm in allowing the API users to ask > > again for monitoring and alerts to be

Re: [ovs-dev] [PATCH 1/2] ovsdb-server: Don't log closing session at program termination.

2018-07-13 Thread Numan Siddique
On Fri, Jul 13, 2018 at 5:04 AM Ben Pfaff wrote: > This series still needs reviews. > > On Fri, Jun 15, 2018 at 03:11:09PM -0700, Ben Pfaff wrote: > > When ovsdb-server closes a remote connection, it logs a message about it > > that includes the reason. Until now this has included sessions that

Re: [ovs-dev] [PATCH v2 12/15] ovn-nbctl: Initial support for daemon mode.

2018-07-13 Thread Jakub Sitnicki
On Thu, 12 Jul 2018 17:10:04 -0400 Mark Michelson wrote: > On 07/12/2018 09:40 AM, Jakub Sitnicki wrote: > > Make ovn-nbctl act as a unixctl server if we were asked to detach. This > > turns ovn-nbctl into a long-lived process that acts a proxy for > > interacting with NB DB. The main difference

Re: [ovs-dev] [PATCH 2/2] test-unixctl.py: Don't suppress exceptions.

2018-07-13 Thread Numan Siddique
On Sat, Jun 16, 2018 at 3:42 AM Ben Pfaff wrote: > A user reported a failure of test 2364 "vlog - RFC5424 facility - Python2" > with an exit code that says that the test-unixctl process died from an > uncaught exception. Unfortunately the exception didn't show up in the log. > This commit

Re: [ovs-dev] [PATCH] Docs: Improve OVS DPDK version mapping notice.

2018-07-13 Thread Flavio Leitner
On Thu, Jul 12, 2018 at 07:48:42PM +0100, Ian Stokes wrote: > A common issue is users pairing the incorrect version of OVS to DPDK > when working outside of the build tree. > > To avoid this this commit updates the OVS DPDK documentation to explicitly > flag that users should consult the OVS to

Re: [ovs-dev] [PATCH v5 00/14] Support multi-segment mbufs

2018-07-13 Thread Ian Stokes
On 7/11/2018 7:23 PM, Tiago Lam wrote: Overview This patchset introduces support for multi-segment mbufs to OvS-DPDK. Multi-segment mbufs are typically used when the size of an mbuf is insufficient to contain the entirety of a packet's data. Instead, the data is split across numerous

Re: [ovs-dev] [PATCH v5] dpif-netdev: Avoid reordering of packets in a batch with same megaflow

2018-07-13 Thread Vishal Deep Ajmera
Hi Ian, Ilya, If there are no more comments, can I request to please include the fix in this week's pull request? Warm Regards, Vishal Ajmera ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH] configure: Enable GCC relevant new 8.x warning options.

2018-07-13 Thread Aaron Conole
Ben Pfaff writes: > These don't trigger any new actual warnings in my own build. > > GCC 8.x adds other new warning options that are enabled by -Wall or > -Wextra. This commit doesn't explicitly enable those because OVS already > enables -Wall and -Wextra. > > Signed-off-by: Ben Pfaff > ---

[ovs-dev] [PATCH v3 07/17] ovn-nbctl: Propagate the error from do_nbctl().

2018-07-13 Thread Jakub Sitnicki
Instead of terminating the process, return the error to the caller. This will allow us to reuse the main loop in daemon mode. Signed-off-by: Jakub Sitnicki --- ovn/utilities/ovn-nbctl.c | 46 -- 1 file changed, 32 insertions(+), 14 deletions(-) diff

[ovs-dev] [PATCH v3 08/17] ovn-nbctl: Propagate errors from the main loop.

2018-07-13 Thread Jakub Sitnicki
Let the caller handle the errors instead of reporting it and terminating. Prepare for reusing the main loop in daemon mode. Signed-off-by: Jakub Sitnicki --- ovn/utilities/ovn-nbctl.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git

[ovs-dev] [PATCH v3 09/17] ovn-nbctl: Propagate errors from prerequisites runner.

2018-07-13 Thread Jakub Sitnicki
Instead of terminating the process, return the error to the caller. This will allow us to reuse the prerequisites runner in daemon mode. Signed-off-by: Jakub Sitnicki --- ovn/utilities/ovn-nbctl.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git

Re: [ovs-dev] [PATCH v5 08/14] dp-packet: Handle multi-seg mbufs in resize__().

2018-07-13 Thread Darrell Ball
Thanks for the patch. A few queries inline. On Wed, Jul 11, 2018 at 11:23 AM, Tiago Lam wrote: > When enabled with DPDK OvS relies on mbufs allocated by mempools to > receive and output data on DPDK ports. Until now, each OvS dp_packet has > had only one mbuf associated, which is allocated

[ovs-dev] [PATCH v3 12/17] ovn-nbctl: Extract handling of options that affect main loop.

2018-07-13 Thread Jakub Sitnicki
Provide a handler for options that change how the main loop behaves. This will allow code reuse for option parsing in daemon mode. Signed-off-by: Jakub Sitnicki --- ovn/utilities/ovn-nbctl.c | 136 -- 1 file changed, 84 insertions(+), 52 deletions(-)

[ovs-dev] [PATCH v3 11/17] ovn-nbctl: Extract helper for printing oneline output.

2018-07-13 Thread Jakub Sitnicki
This will allow us to direct oneline-formatted output to other sinks than stdout if needed. Preparatory work for daemon mode. Signed-off-by: Jakub Sitnicki --- ovn/utilities/ovn-nbctl.c | 53 ++- 1 file changed, 34 insertions(+), 19 deletions(-) diff

[ovs-dev] [PATCH v3 10/17] ovn-nbctl: Introduce a poll_timer based wait timeout.

2018-07-13 Thread Jakub Sitnicki
Extend the main loop and the command runner so that the caller can specify a timeout for poll_block(). This will allow us to break out of the main loop when waiting on IDL, like in the blocked '--wait=sb/hv sync' case. Signed-off-by: Jakub Sitnicki --- ovn/utilities/ovn-nbctl.c | 27

Re: [ovs-dev] [PATCH v5] dpif-netdev: Avoid reordering of packets in a batch with same megaflow

2018-07-13 Thread Ian Stokes
On 7/13/2018 2:54 PM, Vishal Deep Ajmera wrote: Hi Ian, Ilya, If there are no more comments, can I request to please include the fix in this week's pull request? Hi Vishal, I'll leave Ilya to respond to the changes he requested. This weeks pull request includes the new feature 'SMC cache

[ovs-dev] OVS DPDK: dpdk_merge pull request for master

2018-07-13 Thread Ian Stokes
Hi Ben, The following changes since commit 89dd5819cf181a741271d297bc99fea4760f7ba5: rhel: support kmod-openvswitch build against multiple kernels, rhel6 (2018-07-12 17:42:07 -0700) are available in the git repository at: https://github.com/istokes/ovs dpdk_merge for you to fetch

[ovs-dev] [PATCH v3 15/17] ovn-nbctl: Initial support for daemon mode.

2018-07-13 Thread Jakub Sitnicki
Make ovn-nbctl act as a unixctl server if we were asked to detach. This turns ovn-nbctl into a long-lived process that acts a proxy for interacting with NB DB. The main difference to regular mode of ovn-nbctl is that in the daemon mode, a local copy of database contents has to be obtained only

[ovs-dev] [PATCH v3 13/17] ovn-nbctl: Extract a helper for building short options string.

2018-07-13 Thread Jakub Sitnicki
Will be reused for parsing options in daemon mode. Signed-off-by: Jakub Sitnicki --- ovn/utilities/ovn-nbctl.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/ovn/utilities/ovn-nbctl.c b/ovn/utilities/ovn-nbctl.c index 72c78795c..bac1c001d 100644 ---

[ovs-dev] [PATCH v3 14/17] ovn-nbctl: Extract a helper for appending command options.

2018-07-13 Thread Jakub Sitnicki
Will be reused when parsing options in daemon mode. Signed-off-by: Jakub Sitnicki --- ovn/utilities/ovn-nbctl.c | 37 + 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/ovn/utilities/ovn-nbctl.c b/ovn/utilities/ovn-nbctl.c index

[ovs-dev] [PATCH v4] ovn: Allow for automatic dynamic updates of IPAM

2018-07-13 Thread Mark Michelson
OVN offers a method of IP address management that allows for an IPv4 subnet or IPv6 prefix to be specified on a logical switch. Then by specifying a switch port's address as "dynamic" or " dynamic", OVN will automatically assign addresses to the switch port. While this works great for initial

[ovs-dev] [PATCH v3 04/17] ovn-nbctl: Pull up destroying commands from do_nbctl().

2018-07-13 Thread Jakub Sitnicki
Destroy commands in the same routine where they were allocated. Preparatory work for reusing the main loop in daemon mode. Signed-off-by: Jakub Sitnicki --- ovn/utilities/ovn-nbctl.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ovn/utilities/ovn-nbctl.c

[ovs-dev] [PATCH v3 03/17] ovn-nbctl: Extract the main loop.

2018-07-13 Thread Jakub Sitnicki
Split out a routine for the main ovn-nbctl loop. Preparatory work for introducing daemon mode. Signed-off-by: Jakub Sitnicki --- ovn/utilities/ovn-nbctl.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/ovn/utilities/ovn-nbctl.c

[ovs-dev] [PATCH v3 06/17] ovn-nbctl: Signal need to try again via an output param.

2018-07-13 Thread Jakub Sitnicki
Introduce an output parameter for the flag that signals need to retry running the command. This leaves the return value for error reporting. Preparatory work for reusing the main loop in daemon mode. Signed-off-by: Jakub Sitnicki --- ovn/utilities/ovn-nbctl.c | 20 +--- 1 file

[ovs-dev] [PATCH v3 05/17] ovn-nbctl: Pull up releasing IDL from do_nbctl().

2018-07-13 Thread Jakub Sitnicki
Destroy IDL resources in the routine where we allocated them. Preparatory work for reusing the main loop in daemon mode. Signed-off-by: Jakub Sitnicki --- ovn/utilities/ovn-nbctl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ovn/utilities/ovn-nbctl.c

Re: [ovs-dev] [ovs-dev, v3, 15 of 17] ovn-nbctl: Initial support for daemon mode.

2018-07-13 Thread 0-day Robot
Bleep bloop. Greetings Jakub Sitnicki, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. checkpatch: WARNING: Line is 82 characters long (recommended limit is 79) #80 FILE:

Re: [ovs-dev] [PATCH] netdev-dpdk: Fix failure to configure flow control at netdev-init.

2018-07-13 Thread Ian Stokes
On 7/10/2018 2:23 PM, Sugesh Chandran wrote: Configuring flow control at ixgbe netdev-init is throwing error in port start. For eg: without this fix, user cannot configure flow control on ixgbe dpdk port as below, " ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk \

Re: [ovs-dev] OVS DPDK: dpdk_merge pull request for master

2018-07-13 Thread 0-day Robot
Bleep bloop. Greetings Ian Stokes, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. checkpatch: ERROR: Co-authored-by/Signed-off-by corruption WARNING: Line has trailing whitespace #194 FILE:

[ovs-dev] [PATCH v3 00/17] Daemon mode for ovn-nbctl

2018-07-13 Thread Jakub Sitnicki
This series extends ovn-nbctl tool with support for the daemon mode, where ovn-nbctl acts a long-lived process that accepts commands over a UNIX socket. The daemon can be started the same way as any other OVS/OVN server: ovn-nbctl --detach --pidfile --log-file While commands can be issued to

[ovs-dev] [PATCH v3 01/17] table: Introduce a constant for default table style.

2018-07-13 Thread Jakub Sitnicki
Having a constant in addition to the constant expression for the default table style allows us to reset 'struct table_style' variables to default style. Signed-off-by: Jakub Sitnicki --- lib/table.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/table.h b/lib/table.h index

[ovs-dev] [PATCH v3 02/17] ovsdb-idl: Allow monitoring columns that are already monitored.

2018-07-13 Thread Jakub Sitnicki
If IDL was created with monitoring and alerts turned on by default for all columns, then there is no harm in allowing the API users to ask again for monitoring and alerts to be enabled for any given column. This allows us to run prerequisites handlers for db-ctl and ovn-nbctl commands once the

[ovs-dev] [PATCH v3 16/17] tests: Add test for ovn-nbctl dry run mode.

2018-07-13 Thread Jakub Sitnicki
Signed-off-by: Jakub Sitnicki --- tests/ovn-nbctl.at | 21 + 1 file changed, 21 insertions(+) diff --git a/tests/ovn-nbctl.at b/tests/ovn-nbctl.at index 73a61a4be..89daf631a 100644 --- a/tests/ovn-nbctl.at +++ b/tests/ovn-nbctl.at @@ -1382,3 +1382,24 @@ inactivity_probe:

[ovs-dev] [PATCH v3 17/17] tests: Add test for oneline-formatted output for ovn-nbctl.

2018-07-13 Thread Jakub Sitnicki
Signed-off-by: Jakub Sitnicki --- tests/ovn-nbctl.at | 21 + 1 file changed, 21 insertions(+) diff --git a/tests/ovn-nbctl.at b/tests/ovn-nbctl.at index 89daf631a..60b4d0c9c 100644 --- a/tests/ovn-nbctl.at +++ b/tests/ovn-nbctl.at @@ -1403,3 +1403,24 @@ AT_CHECK([ovn-nbctl

[ovs-dev] [PATCH] Documentation:

2018-07-13 Thread Greg Rose
Add netstat when mentioning testing. Many check-kmod failures result when it is not present. Signed-off-by: Greg Rose --- Documentation/intro/install/general.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/intro/install/general.rst