Re: [ovs-dev] .

2017-08-22 Thread DR CHRIS MORGAN
Attention: Amount:$25.5 Million Dollars In the course of our General Auditing and Account revision of this quarter of the year 2017, we discovered that the Bank Accounts belonging to some Beneficiaries have been changed on the basis that the owners have DIED IN TESTATE (without leaving a WILL)

Re: [ovs-dev] [PATCH 1/2] datapath: compat: Fix build on RHEL 7.4

2017-08-22 Thread Joe Stringer
On 22 August 2017 at 17:52, Yi-Hung Wei wrote: > RHEL 7.4 introduces netdev_master_upper_dev_link_rh() that breaks the > backport of OVS kernel module on RHEL 7.4. This patch fixes that issue. > > Signed-off-by: Yi-Hung Wei > --- Thanks YiHung, LGTM.

[ovs-dev] [PATCH 2/2] atlocal: Document find_l7_lib()

2017-08-22 Thread Yi-Hung Wei
When a system traffic is skipped due to 'HAVE_FTP = no' or 'HAVE_TFTP = no', it takes some effort to figure out it is due to missing the required python library. Add some comments around the find_l7_lib(), so that user can figure that out by $ git grep HAVE_FTP. Signed-off-by: Yi-Hung Wei

[ovs-dev] [PATCH 1/2] datapath: compat: Fix build on RHEL 7.4

2017-08-22 Thread Yi-Hung Wei
RHEL 7.4 introduces netdev_master_upper_dev_link_rh() that breaks the backport of OVS kernel module on RHEL 7.4. This patch fixes that issue. Signed-off-by: Yi-Hung Wei --- acinclude.m4| 4

Re: [ovs-dev] vhost user port is displayed as LINK DOWN after ovs-vswitchd reboot

2017-08-22 Thread Darrell Ball
This looks reasonable at first glance Lawrence Would you like to try git format-patch and git send-email ? It would make it easier in the long term. Thanks Darrell On 8/21/17, 6:00 AM, "ovs-dev-boun...@openvswitch.org on behalf of 王志克"

Re: [ovs-dev] [PATCH 3/4] tc: Add header rewrite using tc pedit action

2017-08-22 Thread Joe Stringer
On 22 August 2017 at 13:31, Paul Blakey wrote: > > > On 22/08/2017 23:07, Paul Blakey wrote: >> >> >> >> On 21/08/2017 20:45, Joe Stringer wrote: >>> >>> On 20 August 2017 at 01:50, Paul Blakey wrote: On 18/08/2017 00:52, Joe Stringer

Re: [ovs-dev] [PATCH v3 4/4] dp-packet: Use memcpy on dp_packet elements.

2017-08-22 Thread Darrell Ball
On 8/17/17, 3:44 AM, "Fischetti, Antonio" wrote: > -Original Message- > From: Darrell Ball [mailto:db...@vmware.com] > Sent: Monday, August 14, 2017 7:34 AM > To: Fischetti, Antonio ; d...@openvswitch.org

Re: [ovs-dev] [PATCH net-next v5] openvswitch: enable NSH support

2017-08-22 Thread kbuild test robot
Hi Yi, [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Yi-Yang/openvswitch-enable-NSH-support/20170822-184251 config: x86_64-randconfig-a0-08230538 (attached as .config) compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7 reproduce: # save the attached

[ovs-dev] OVN: IPv6 Periodic Router Advertisement Plan

2017-08-22 Thread Mark Michelson
Hi folks, For a while now, in a "learn the OVN project from scratch" project, I've been investigating what it would take in order to allow for OVN to send periodic router advertisements (RAs) as part of a greater goal of rounding out IPv6 support. I've had some discussions about individual parts

Re: [ovs-dev] [PATCH 3/4] tc: Add header rewrite using tc pedit action

2017-08-22 Thread Paul Blakey
On 22/08/2017 23:07, Paul Blakey wrote: On 21/08/2017 20:45, Joe Stringer wrote: On 20 August 2017 at 01:50, Paul Blakey wrote: On 18/08/2017 00:52, Joe Stringer wrote: On 17 August 2017 at 02:18, Paul Blakey wrote: On 15/08/2017 20:04, Joe

Re: [ovs-dev] [PATCH 3/4] tc: Add header rewrite using tc pedit action

2017-08-22 Thread Paul Blakey
On 21/08/2017 20:45, Joe Stringer wrote: On 20 August 2017 at 01:50, Paul Blakey wrote: On 18/08/2017 00:52, Joe Stringer wrote: On 17 August 2017 at 02:18, Paul Blakey wrote: On 15/08/2017 20:04, Joe Stringer wrote: On 15 August 2017 at

Re: [ovs-dev] [PATCH v3] netdev-dpdk: Create separate memory pool for each port

2017-08-22 Thread Kevin Traynor
On 08/22/2017 06:14 PM, Aaron Conole wrote: > "Fischetti, Antonio" writes: > >> Hi Kevin, pls see comments inline. >> I'm going to rebase and rework this patch on behalf of Robert. >> >> Thanks, >> Antonio >> >>> -Original Message- >>> From:

Re: [ovs-dev] [PATCH 0/3] updated selinux policy for Open vSwitch

2017-08-22 Thread Aaron Conole
Flavio Leitner writes: > On Wed, 16 Aug 2017 16:04:49 -0400 > Aaron Conole wrote: > >> This series brings about a policy update to openvswitch allowing it to >> run on a RHEL / Fedora system, even as a non-root user, with selinux set >> to Enforcing. >>

Re: [ovs-dev] [RFC PATCH v1 2/3] Docs: Add userspace-ipsec how to guide.

2017-08-22 Thread Ansis Atteka
On 18 May 2017 at 02:15, Ian Stokes wrote: > This commit adds a how to guide for using the proposed IPsec userspace > interface. It is not intended to be upstreamed but simply seeks to > solicit feed back by providing an example of the proposed IPsec interface > design setup

Re: [ovs-dev] [RFC PATCH v1 1/3] vswitch.xml: Detail ipsec user interface.

2017-08-22 Thread Ansis Atteka
On 18 May 2017 at 02:15, Ian Stokes wrote: > This commit adds details to the vswitch xml regarding the use of the > ipsec interface type. This patch is not intended for upstreaming and > simply seeks to solicit feedback on the user interface design of the > ipsec port type

Re: [ovs-dev] Can I use dummy-type bridge together with netdev-type bridge for test?

2017-08-22 Thread Ben Pfaff
Try the ovs-ofctl packet-out command. On Tue, Aug 22, 2017 at 09:46:21AM +0800, Sam wrote: > So if I want to debug netdev-type bridge(which is ovs-dpdk bridge), is > there some commands like `ovs-appctl dummy/receive ...` on internal port? > Or can I code a command like this on internal port? >

Re: [ovs-dev] [PATCH net-next v4] openvswitch: enable NSH support

2017-08-22 Thread Ben Pfaff
On Tue, Aug 22, 2017 at 08:32:49AM +, Jan Scheurich wrote: > > > Or why else does OVS user space code take so great pain to model > > > possible misalignment and provide/use safe access functions? > > > > I don't know how the ovs user space deals with packet allocation. In > > the kernel, the

Re: [ovs-dev] [PATCH] datapath: fix skb_panic due to the incorrect actions attrlen

2017-08-22 Thread Joe Stringer
On 22 August 2017 at 08:26, Greg Rose wrote: > On 08/18/2017 02:41 PM, Joe Stringer wrote: >> >> On 16 August 2017 at 15:48, Greg Rose wrote: >> > Upstream commit: >> > commit 494bea39f3201776cdfddc232705f54a0bd210c4 >> > Author: Liping Zhang

Re: [ovs-dev] [PATCH v3] netdev-dpdk: Create separate memory pool for each port

2017-08-22 Thread Aaron Conole
"Fischetti, Antonio" writes: > Hi Kevin, pls see comments inline. > I'm going to rebase and rework this patch on behalf of Robert. > > Thanks, > Antonio > >> -Original Message- >> From: ovs-dev-boun...@openvswitch.org >>

Re: [ovs-dev] [PATCH v3] netdev-dpdk: Create separate memory pool for each port

2017-08-22 Thread Fischetti, Antonio
Hi Kevin, pls see comments inline. I'm going to rebase and rework this patch on behalf of Robert. Thanks, Antonio > -Original Message- > From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev-boun...@openvswitch.org] > On Behalf Of Kevin Traynor > Sent: Tuesday, April 11, 2017 9:37 AM >

Re: [ovs-dev] [PATCH] windows, python: set the reset event to automatic

2017-08-22 Thread Russell Bryant
On Tue, Aug 22, 2017 at 8:41 AM, Alin Balutoiu wrote: > Comments answered inline. > > Thanks, > Alin Balutoiu. > >> -Original Message- >> From: Russell Bryant [mailto:russ...@ovn.org] >> Sent: Tuesday, August 22, 2017 2:35 PM >> To: Alin Balutoiu

Re: [ovs-dev] [PATCH] windows, python: Fix event type returned from poller

2017-08-22 Thread Russell Bryant
Ah, that makes sense for the Python version. The Python docs were sparse, so I wasn't sure. On Tue, Aug 22, 2017 at 8:35 AM, Alin Balutoiu wrote: > Looking at the implementation of WaitForMultipleObjects in Python it looks > that > the call will raise an

Re: [ovs-dev] [PATCH] datapath: fix skb_panic due to the incorrect actions attrlen

2017-08-22 Thread Greg Rose
On 08/18/2017 02:41 PM, Joe Stringer wrote: On 16 August 2017 at 15:48, Greg Rose wrote: > Upstream commit: > commit 494bea39f3201776cdfddc232705f54a0bd210c4 > Author: Liping Zhang > Date: Wed Aug 16 13:30:07 2017 +0800 > > For

[ovs-dev] Apply 3.5% wonga loan @ loanwongaconsult...@yandex.com

2017-08-22 Thread @3.5% wonga loan
___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

[ovs-dev] OVS bridge Configuration

2017-08-22 Thread Sgh snhz
Hello everyone, I have a question about OVS configuration for the following topology. We have three OVSs connected via wired connections. OVS (1)OVS(2)-OVS(3) 10.0.0.1/24 10.0.0.2/2410.0.1.1/24 10.0.1.2/24

Re: [ovs-dev] [PATCH] windows, python: set the reset event to automatic

2017-08-22 Thread Alin Balutoiu
Comments answered inline. Thanks, Alin Balutoiu. > -Original Message- > From: Russell Bryant [mailto:russ...@ovn.org] > Sent: Tuesday, August 22, 2017 2:35 PM > To: Alin Balutoiu > Cc: d...@openvswitch.org > Subject: Re: [ovs-dev] [PATCH] windows,

Re: [ovs-dev] [PATCH] windows, python: Fix event type returned from poller

2017-08-22 Thread Alin Balutoiu
Looking at the implementation of WaitForMultipleObjects in Python it looks that the call will raise an exception if WAIT_FAILED is returned. This case is treated by the try/except block around the WaitForMultipleObjects function. Thanks, Alin Balutoiu. > -Original Message- > From:

Re: [ovs-dev] [PATCH] windows, python: set the reset event to automatic

2017-08-22 Thread Russell Bryant
On Tue, Aug 22, 2017 at 6:47 AM, Alin Balutoiu wrote: > The overlapped structures used for read and write operations > get an event with manual reset flag set on True. > > At the moment events are waiting to be reset with their > state being always signaled.

Re: [ovs-dev] [PATCH] windows, python: Remove code duplication in send/recv functions

2017-08-22 Thread Russell Bryant
On Tue, Aug 22, 2017 at 6:47 AM, Alin Balutoiu wrote: > Move the return value at the end of the function > regardless of the pending/non-pending operation. > > Signed-off-by: Alin Balutoiu > --- > python/ovs/stream.py | 78 >

Re: [ovs-dev] [PATCH] windows, python: Fix event type returned from poller

2017-08-22 Thread Russell Bryant
On Tue, Aug 22, 2017 at 6:47 AM, Alin Balutoiu wrote: > The function poll from poller should return a list of tuples > containing the events and their types. > > On Windows the event type is not returned at the moment. > Instead of returning zero all the time, we

[ovs-dev] [PATCH v7 4/4] ovn: Generate Neighbor Solicitation packet for unknown MAC IPv6 packets

2017-08-22 Thread nusiddiq
From: Numan Siddique In the router ingress pipeline, if the destination mac is unresolved by the time the packet reaches the ARP_REQUEST stage, OVN should generate an IPv6 Neighbor Solicitation packet to learn the MAC address. This feature is presently missing. This patch

[ovs-dev] [PATCH v7 3/4] ovn-northd: Add logical flows to support native IPv6 RA

2017-08-22 Thread nusiddiq
From: Zongkai LI This patch adds logical flows which sends IPv6 Router Advertisement packet in response to the IPv6 Router Solicitation request. It uses the actions "put_nd_ra_opts" to transform the RS packet to RA packet in the newly added ingress stage "lr_in_nd_ra_options"

[ovs-dev] [PATCH v7 2/4] ovn-controller: Add a new action - 'put_nd_ra_opts'

2017-08-22 Thread nusiddiq
From: Numan Siddique This patch adds a new OVN action 'put_nd_ra_opts' to support native IPv6 Router Advertisement in OVN. This action can be used to respond to the IPv6 Router Solicitation requests. ovn-controller parses this action and adds a NXT_PACKET_IN2 OF flow with

[ovs-dev] [PATCH v7 1/4] ovn util: Refactor dhcp_opts_map to make it generic

2017-08-22 Thread nusiddiq
From: Numan Siddique Renamed 'struct dhcp_opts_map' to 'struct gen_opts_map' and renamed ovn-dhcp.h to ovn-l7.h. An upcoming commit to support IPv6 Router Advertisement, will make use of the refactored code to store the IPv6 ND RA options in 'struct gen_opts_map'.

[ovs-dev] [PATCH v7 0/4] ovn IPv6: Add Router Solicitation responder support and generate Neighbor Solicitation request for unknown MACs

2017-08-22 Thread nusiddiq
From: Numan Siddique v6 -> v7 In version 7, a new patch p4 is added which adds the support to generate a Neighbor Solicitation packet for IPv6 packets whose destination MAC is still unresolved by the time it reaches the ARP_REQUEST router ingress pipeline. To

[ovs-dev] [PATCH] windows, python: set the reset event to automatic

2017-08-22 Thread Alin Balutoiu
The overlapped structures used for read and write operations get an event with manual reset flag set on True. At the moment events are waiting to be reset with their state being always signaled. This commit sets from manual reset to automatic reset for the events on the overlapped read/write

[ovs-dev] [PATCH] windows, python: Remove code duplication in send/recv functions

2017-08-22 Thread Alin Balutoiu
Move the return value at the end of the function regardless of the pending/non-pending operation. Signed-off-by: Alin Balutoiu --- python/ovs/stream.py | 78 1 file changed, 36 insertions(+), 42 deletions(-)

[ovs-dev] [PATCH] windows, python: Fix event type returned from poller

2017-08-22 Thread Alin Balutoiu
The function poll from poller should return a list of tuples containing the events and their types. On Windows the event type is not returned at the moment. Instead of returning zero all the time, we check to see the type of event and we set it accordingly before returning the list. This is used

Re: [ovs-dev] [PATCH net-next v4] openvswitch: enable NSH support

2017-08-22 Thread Yang, Yi
On Mon, Aug 21, 2017 at 05:47:13PM +0800, Jiri Benc wrote: > > > I don't know how we can support this, is it a must-have thing? > > What would happen if you get a GSO packet? Ports of an ovs bridge claim > GSO support, thus they may get a GSO packet. You have to handle it one > way or the other:

[ovs-dev] [PATCH v4 7/7] keepalive: Add support to query keepalive status and statistics.

2017-08-22 Thread Bhanuprakash Bodireddy
This commit adds support to query keepalive status and statistics. $ ovs-appctl keepalive/status keepAlive Status: Enabled $ ovs-appctl keepalive/pmd-health-show Keepalive status keepalive status : Enabled keepalive interval: 1000 ms PMD threads : 4

[ovs-dev] [PATCH v4 5/7] keepalive: Retrieve PMD status periodically.

2017-08-22 Thread Bhanuprakash Bodireddy
This commit implements APIs to retrieve the PMD thread status and return the status in the below format for each PMD thread. Format: pmdid="status,core id,last_seen_timestamp(epoch)" eg: pmd62="ALIVE,2,150332575" pmd63="GONE,3,150332525" The status is periodically

[ovs-dev] [PATCH v4 6/7] bridge: Update keepalive status in OVSDB.

2017-08-22 Thread Bhanuprakash Bodireddy
This commit allows vswitchd thread to update the OVSDB with the status of all registered PMD threads. The status can be monitored using ovsdb-client and the sample output is below. $ ovsdb-client monitor Open_vSwitch Open_vSwitch keepalive rowaction keepalive

[ovs-dev] [PATCH v4 4/7] dpif-netdev: Enable heartbeats for DPDK datapath.

2017-08-22 Thread Bhanuprakash Bodireddy
This commit adds heartbeat mechanism support for DPDK datapath. Heartbeats are sent to registered PMD threads at predefined intervals (as set in ovsdb with 'keepalive-interval'). The heartbeats are only enabled when there is atleast one port added to the bridge and with active PMD thread polling

[ovs-dev] [PATCH v4 3/7] dpif-netdev: Register packet processing cores to KA framework.

2017-08-22 Thread Bhanuprakash Bodireddy
This commit registers the packet processing PMD cores to keepalive framework. Only PMDs that have rxqs mapped will be registered and actively monitored by KA framework. This commit spawns a keepalive thread that will dispatch heartbeats to PMD cores. The pmd threads respond to heartbeats by

[ovs-dev] [PATCH v4 2/7] Keepalive: Add initial keepalive support.

2017-08-22 Thread Bhanuprakash Bodireddy
This commit introduces the initial keepalive support by adding 'keepalive' module and also helper and initialization functions that will be invoked by later commits. This commit adds new ovsdb column "keepalive" that shows the status of the datapath threads. This is implemented for DPDK datapath

[ovs-dev] [PATCH v4 1/7] process: Extend get_process_info() for additional fields.

2017-08-22 Thread Bhanuprakash Bodireddy
This commit enables the fields relating to process name and the core number the process was last scheduled. The APIs will be used by keepalive monitoring framework in future commits. This commit also fixes the following "sparse" warning: lib/process.c:439:16: error: use of assignment

[ovs-dev] [PATCH v4 0/7] Add OVS DPDK keep-alive functionality.

2017-08-22 Thread Bhanuprakash Bodireddy
Keepalive feature is aimed at achieving Fastpath Service Assurance in OVS-DPDK deployments. It adds support for monitoring the packet processing cores(PMD thread cores) by dispatching heartbeats at regular intervals. Incase of heartbeat misses additional health checks are enabled on the PMD thread

[ovs-dev] Web Content

2017-08-22 Thread webbiz
Hello! I hope things are well. I am a content writer working for an online services Agency. Being a stickler for content I noticed a couple of meta-data related mistakes on your website that I thought I would bring to your attention. It is on one of the inner pages. I have one of the digital

Re: [ovs-dev] [PATCH net-next v4] openvswitch: enable NSH support

2017-08-22 Thread Jan Scheurich
> > If I understand correctly, this is a default definition that can be > > overridden by drivers so that we still cannot rely on the Ethernet > > payload always being 32-bit-aligned. > > Not by drivers, by architectures. Only architectures that can efficiently > handle unaligned access (or on

Re: [ovs-dev] [PATCH 3/4] tc: Add header rewrite using tc pedit action

2017-08-22 Thread Simon Horman
On Thu, Aug 17, 2017 at 12:21:43PM +0300, Paul Blakey wrote: > > > On 14/08/2017 16:00, Simon Horman wrote: > >On Tue, Aug 08, 2017 at 05:21:53PM +0300, Roi Dayan wrote: > >>From: Paul Blakey > >> > >>To be later used to implement ovs action set offloading. > >> >