Re: [ovs-dev] [PATCH] vswitchd: Add 'appctl quit' command

2017-04-25 Thread Andy Zhou
On Tue, Apr 25, 2017 at 8:43 PM, Ben Pfaff wrote: > On Tue, Apr 25, 2017 at 05:02:14PM -0700, Andy Zhou wrote: >> vswitchd can gracefully shutdown after receiving the 'appctl exit' >> command. But the datapath resources vswitchd created can >> linger on. This is not a problem, and in fact desirea

Re: [ovs-dev] [PATCH] vswitchd: Add 'appctl quit' command

2017-04-25 Thread Ben Pfaff
On Tue, Apr 25, 2017 at 05:02:14PM -0700, Andy Zhou wrote: > vswitchd can gracefully shutdown after receiving the 'appctl exit' > command. But the datapath resources vswitchd created can > linger on. This is not a problem, and in fact desireable when the > shutdown is transient in nature. Since re

Re: [ovs-dev] [PATCH] vswitchd: Add 'appctl quit' command

2017-04-25 Thread Greg Rose
On Tue, 2017-04-25 at 17:02 -0700, Andy Zhou wrote: > vswitchd can gracefully shutdown after receiving the 'appctl exit' > command. But the datapath resources vswitchd created can > linger on. This is not a problem, and in fact desireable when the > shutdown is transient in nature. Since restarted

[ovs-dev] [PATCH v2 4/5] datapath: Fix ovs_flow_key_update()

2017-04-25 Thread Yi-Hung Wei
Upstream commit: commit 6f56f6186c18e3fd54122b73da68e870687b8c59 Author: Yi-Hung Wei Date: Thu Mar 30 12:36:03 2017 -0700 ovs_flow_key_update() is called when the flow key is invalid, and it is used to update and revalidate the flow key. Commit 329f45bc4f19 ("openvswitch

[ovs-dev] [PATCH v2 5/5] system-traffic: Add test for mpls actions

2017-04-25 Thread Yi-Hung Wei
Add ping test to verify the behavior of mpls_push/pop actions. In this test, we use the resubmit action to trigger recirulation for making sure the flow key is revalidated after mpls_push/pop. This test depends on commit 5ba0c107c51e ("datapath: Fix ovs_flow_key_update()") to behave correctly. Sig

[ovs-dev] [PATCH v2 2/5] datapath: set network header correctly on key extract

2017-04-25 Thread Yi-Hung Wei
Upstream commit: commit f7d49bce8e741e1e6aa14ce4db1b6cea7e4be4e8 Author: Jiri Benc Date: Fri Sep 30 19:08:05 2016 +0200 openvswitch: mpls: set network header correctly on key extract After the 48d2ab609b6b ("net: mpls: Fixups for GSO"), MPLS handling in openvswitch was

[ovs-dev] [PATCH v2 3/5] datapath: correctly fragment packet with mpls headers

2017-04-25 Thread Yi-Hung Wei
Upstream commit: commit c66549ffd05831abf6cf19ce0571ad868e39 Author: Jiri Benc Date: Wed Oct 5 15:01:57 2016 +0200 openvswitch: correctly fragment packet with mpls headers If mpls headers were pushed to a defragmented packet, the refragmentation no longer works corr

[ovs-dev] [PATCH v2 1/5] datapath: Fixups for MPLS GSO

2017-04-25 Thread Yi-Hung Wei
This patch backports the following two upstream commits to fix MPLS GSO in ovs datapath. Starting from upstream commit 48d2ab609b6b ("net: mpls: Fixups for GSO"), the mpls_gso kernel module relies on the fact that skb_network_header() points to the mpls header and skb_inner_network_header() points

Re: [ovs-dev] [PATCH 1/3] datapath: Fixups for MPLS GSO

2017-04-25 Thread Yi-Hung Wei
Hi Simon, Thanks for your review. Please find my relies below. I will sent out v2 based on your review. On Tue, Apr 25, 2017 at 12:43 AM, Simon Horman wrote: > Hi Yi-Hung, > > thanks for taking on this difficult piece of work and apologies for the > delay in responding. > > On Mon, Apr 03, 2017

[ovs-dev] [PATCH] vswitchd: Add 'appctl quit' command

2017-04-25 Thread Andy Zhou
vswitchd can gracefully shutdown after receiving the 'appctl exit' command. But the datapath resources vswitchd created can linger on. This is not a problem, and in fact desireable when the shutdown is transient in nature. Since restarted vswitchd usually sees a similar configuration. By keeping t

Re: [ovs-dev] [PATCH] MAINTAINERS: Update committer documentation refs.

2017-04-25 Thread Joe Stringer
On 25 April 2017 at 12:49, Ben Pfaff wrote: > On Tue, Apr 25, 2017 at 11:20:43AM -0700, Joe Stringer wrote: >> These references have moved since the MAINTAINERS file was introduced. >> Update them. >> >> Signed-off-by: Joe Stringer > > Thanks! > > Acked-by: Ben Pfaff Thanks, applied to master a

[ovs-dev] Liderazgo y Coaching de Millenials

2017-04-25 Thread Superando los Retos 2017 - En Línea
En línea y en Vivo / Para todo su Equipo con una sola Conexión Liderazgo y Coaching de Millenials Superando los Retos 11 de mayo - Online en Vivo - 10:00 a 13:00 y de 15:00 a 18:00 Hrs Tener madera de líder o bien haber adquirido las habilidades para ser uno bueno, es sin lugar a dudas ne

[ovs-dev] [PATCH] rhel: add python-sphinx as a build dependency

2017-04-25 Thread Lance Richardson
The python-sphinx package is now required in order to build man pages, add this package as a build requirement. Reported-by: Leif Madsen Signed-off-by: Lance Richardson --- rhel/openvswitch-fedora.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/rhel/openvswitch-fedora.spec.in b/rhel

Re: [ovs-dev] [RFC 2/4] doc: Convert ovs-vlan-test to rST

2017-04-25 Thread Lance Richardson
> From: "Ben Pfaff" > To: "Leif Madsen" > Cc: "ovs dev" > Sent: Monday, 24 April, 2017 5:02:28 PM > Subject: Re: [ovs-dev] [RFC 2/4] doc: Convert ovs-vlan-test to rST > > On Mon, Apr 24, 2017 at 04:37:51PM -0400, Leif Madsen wrote: > > On Mon, Apr 24, 2017 at 3:57 PM, Ben Pfaff wrote: > > > >

Re: [ovs-dev] [PATCH] MAINTAINERS: Update committer documentation refs.

2017-04-25 Thread Ben Pfaff
On Tue, Apr 25, 2017 at 11:20:43AM -0700, Joe Stringer wrote: > These references have moved since the MAINTAINERS file was introduced. > Update them. > > Signed-off-by: Joe Stringer Thanks! Acked-by: Ben Pfaff ___ dev mailing list d...@openvswitch.or

[ovs-dev] [PATCH] MAINTAINERS: Update committer documentation refs.

2017-04-25 Thread Joe Stringer
These references have moved since the MAINTAINERS file was introduced. Update them. Signed-off-by: Joe Stringer --- MAINTAINERS.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS.rst b/MAINTAINERS.rst index 28831ab4a242..60fa1f55d486 100644 --- a/MAINTAINERS.

Re: [ovs-dev] [PATCH 1/2] netdev-dpdk: Fix Rx checksum reconfigure.

2017-04-25 Thread Chandran, Sugesh
Regards _Sugesh > -Original Message- > From: Kevin Traynor [mailto:ktray...@redhat.com] > Sent: Tuesday, April 25, 2017 6:40 PM > To: Chandran, Sugesh ; d...@openvswitch.org > Subject: Re: [PATCH 1/2] netdev-dpdk: Fix Rx checksum reconfigure. > > On 04/10/2017 04:31 PM, Chandran, Sugesh

[ovs-dev] Your Contract Consignment Delivering To Your Destination.

2017-04-25 Thread Linda Adams via dev
Good Day Sir, I'm Mrs Linda Adams. Africa Nigeria, I'm Assistant Consultant of National Security Company here in Africa, we have had new election at our security company and many changes do happen in our company, the Positive side of it is that all members of the board have come into

Re: [ovs-dev] [PATCH 1/2] netdev-dpdk: Fix Rx checksum reconfigure.

2017-04-25 Thread Kevin Traynor
On 04/10/2017 04:31 PM, Chandran, Sugesh wrote: > Thank you for the patch, > Please see the comment below. > > Regards > _Sugesh > >> -Original Message- >> From: Kevin Traynor [mailto:ktray...@redhat.com] >> Sent: Tuesday, April 4, 2017 6:35 AM >> To: d...@openvswitch.org >> Cc: Kevin Tra

Re: [ovs-dev] [PATCH] compat: Fix build error in kernel 4.10.0

2017-04-25 Thread Greg Rose
On Tue, 2017-04-25 at 23:26 +0800, Guoshuai Li wrote: > In kernel 4.10.0, the function "nf_defrag_ipv6_enable" need > parameters "struct net *", so we need call it for each namespace init > to load netfilter fragment kmod. > > Reported-by: Raymond Burkholder > Reported-at: > https://mail.openvsw

Re: [ovs-dev] nf_defrag_ipv6_enable problem in datapath/linux/compat/nf_conntrack_reasm.c

2017-04-25 Thread Greg Rose
On Wed, 2017-04-26 at 00:33 +0800, Guoshuai Li wrote: > > > Sure, here it is: > > > > make -C /lib/modules/4.11.0-rc7+/build > > M=/home/gvrose/prj/ovs/datapath/linux modules > > make[4]: Entering directory `/home/gvrose/prj/net-next' > > CC [M] /home/gvrose/prj/ovs/datapath/linux/actions.o >

Re: [ovs-dev] [PATCH] compat: Fix build error in kernel 4.10.0

2017-04-25 Thread Raymond Burkholder
Ok, thanx! That gave me a successful build. A two minute turnaround on a patch request! > -Original Message- > From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev- > boun...@openvswitch.org] On Behalf Of Guoshuai Li > Sent: Tuesday, April 25, 2017 12:27 > To: ovs-dev@openvswitch.org >

Re: [ovs-dev] nf_defrag_ipv6_enable problem in datapath/linux/compat/nf_conntrack_reasm.c

2017-04-25 Thread Guoshuai Li
Sure, here it is: make -C /lib/modules/4.11.0-rc7+/build M=/home/gvrose/prj/ovs/datapath/linux modules make[4]: Entering directory `/home/gvrose/prj/net-next' CC [M] /home/gvrose/prj/ovs/datapath/linux/actions.o CC [M] /home/gvrose/prj/ovs/datapath/linux/conntrack.o CC [M] /home/gvr

[ovs-dev] [PATCH v4 3/7] userspace: Switching of L3 packets in L2 pipeline

2017-04-25 Thread Zoltán Balogh
From: Jan Scheurich Ports have a new layer3 attribute if they send/receive L3 packets. The packet_type included in structs dp_packet and flow is considered in ofproto-dpif. The classical L2 match fields (dl_src, dl_dst, dl_type, and vlan_tci, vlan_vid, vlan_pcp) now have Ethernet as pre-requisit

[ovs-dev] [PATCH v4 7/7] userspace: add vxlan gpe support to vport

2017-04-25 Thread Zoltán Balogh
From: Georg Schmuecking This patch is based on the "datapath: enable vxlangpe creation in compat mode" from Yi Yang. It introduces an extension option "gpe" to the vxlan port in the netdev-dpdk datapath. Furthermore it introduces a new protocol header file vxlangpe.h in which the vxlan gpe protoc

[ovs-dev] [PATCH v4 6/7] ofproto-dpif-xlate: refactor compose_output_action__

2017-04-25 Thread Zoltán Balogh
From: Jan Scheurich The very long function compose_output_action__() has been re-factored to make the different cases for output to patch-port, native tunnel port, kernel tunnel port, recirculation, or termination of a native tunnel at output to LOCAL port clearer. Larger, self-contained blocks h

[ovs-dev] [PATCH v4 5/7] dpif-netlink: Don't send PACKET_TYPE to kernel

2017-04-25 Thread Zoltán Balogh
The kernel datapath does not support the packet_type match field. Instead it encodes the packet type implictly by the presence or absence of the Ethernet attribute in the flow key and mask. This patch filters the PACKET_TYPE attribute out of netlink flow key and mask to be sent to the kernel datap

[ovs-dev] [PATCH v4 4/7] userspace: L3 tunnel support for GRE and LISP

2017-04-25 Thread Zoltán Balogh
From: Jan Scheurich Add a boolean "layer3" configuration option for tunnel vports. The layer3 option defaults to false for all ports except LISP. GRE ports accept both true and false for "layer3". A tunnel vport configured with layer3=true receives L3 packets. which are then converted to Etherne

[ovs-dev] [PATCH v4 2/7] userspace: Support for push_eth and pop_eth actions

2017-04-25 Thread Zoltán Balogh
From: Jan Scheurich Add support for actions push_eth and pop_eth to the netdev datapath and the supporting libraries. This patch relies on the support for these actions in the kernel datapath to be present. Signed-off-by: Lorand Jakab Signed-off-by: Simon Horman Signed-off-by: Jiri Benc Signe

[ovs-dev] [PATCH v4 1/7] userspace: Add packet_type in dp_packet and flow

2017-04-25 Thread Zoltán Balogh
From: Jan Scheurich This commit adds a packet_type attribute to the structs dp_packet and flow to explicitly carry the type of the packet as prepration for the introduction of the so-called packet type-aware pipeline (PTAP) in OVS. The packet_type is a big-endian 32 bit integer with the encoding

[ovs-dev] [PATCH v4 0/7] userspace: Support for L3 tunneling

2017-04-25 Thread Zoltán Balogh
From: Jan Scheurich This patch set is part of an initiative to deal with non-Ethernet packets in OVS for advanced use cases like L3 tunneling or NSH. The initiative is centering on the new OpenFlow concepts of "Packet type-aware pipeline" (PTAP) and "Generic encap/decap actions" (EXT-382). The

Re: [ovs-dev] nf_defrag_ipv6_enable problem in datapath/linux/compat/nf_conntrack_reasm.c

2017-04-25 Thread Greg Rose
On Tue, 2017-04-25 at 23:56 +0800, Guoshuai Li wrote: > I did not use 4.11.rc7. My kernel of ubuntu17.04 is 4.10.0 . > Can you share the build error log? > > > > Even with your patch applied I still run into compilation errors on the > > 4.11.rc7 upstream kernel. Perhaps there is more to do. I'l

Re: [ovs-dev] nf_defrag_ipv6_enable problem in datapath/linux/compat/nf_conntrack_reasm.c

2017-04-25 Thread Guoshuai Li
I did not use 4.11.rc7. My kernel of ubuntu17.04 is 4.10.0 . Can you share the build error log? Even with your patch applied I still run into compilation errors on the 4.11.rc7 upstream kernel. Perhaps there is more to do. I'll get the Debian distro as well and look into a fix there. Thanks,

Re: [ovs-dev] nf_defrag_ipv6_enable problem in datapath/linux/compat/nf_conntrack_reasm.c

2017-04-25 Thread Greg Rose
On Tue, 2017-04-25 at 23:35 +0800, Guoshuai Li wrote: > I have the same problem with you, and I am troubled by this problem for > a day. > > I wrote a patch that can be build in the 4.10 kernel: > https://mail.openvswitch.org/pipermail/ovs-dev/2017-April/331419.html > > Even with your patch a

Re: [ovs-dev] nf_defrag_ipv6_enable problem in datapath/linux/compat/nf_conntrack_reasm.c

2017-04-25 Thread Guoshuai Li
I have the same problem with you, and I am troubled by this problem for a day. I wrote a patch that can be build in the 4.10 kernel: https://mail.openvswitch.org/pipermail/ovs-dev/2017-April/331419.html boun...@openvswitch.org] On Behalf Of Greg Rose Sent: Tuesday, April 25, 2017 11:57 O

[ovs-dev] [PATCH] compat: Fix build error in kernel 4.10.0

2017-04-25 Thread Guoshuai Li
In kernel 4.10.0, the function "nf_defrag_ipv6_enable" need parameters "struct net *", so we need call it for each namespace init to load netfilter fragment kmod. Reported-by: Raymond Burkholder Reported-at: https://mail.openvswitch.org/pipermail/ovs-dev/2017-April/331411.html Signed-off-by: Guo

Re: [ovs-dev] nf_defrag_ipv6_enable problem in datapath/linux/compat/nf_conntrack_reasm.c

2017-04-25 Thread Raymond Burkholder
> boun...@openvswitch.org] On Behalf Of Greg Rose > Sent: Tuesday, April 25, 2017 11:57 > On Tue, 2017-04-25 at 11:13 -0300, Raymond Burkholder wrote: > > I am attempting to build openvswitch 2.7.90 on linux 4.10.12 on Debian > > using: > > Which version or distribution of Debian? Is it the curre

Re: [ovs-dev] [PATCH 1/1] dpif-netdev: The pmd-*-show commands will show info in core order

2017-04-25 Thread Eelco Chaudron
On 15/04/17 06:33, Ben Pfaff wrote: On Wed, Mar 22, 2017 at 11:10:23AM +0100, Eelco Chaudron wrote: The "ovs-appctl dpif-netdev/pmd-rxq-show" and "ovs-appctl dpif-netdev/pmd-stats-show" commands show their output per core_id, sorted on the hash location. My OCD was kicking in when using these co

Re: [ovs-dev] nf_defrag_ipv6_enable problem in datapath/linux/compat/nf_conntrack_reasm.c

2017-04-25 Thread Greg Rose
On Tue, 2017-04-25 at 11:13 -0300, Raymond Burkholder wrote: > I am attempting to build openvswitch 2.7.90 on linux 4.10.12 on Debian > using: Which version or distribution of Debian? Is it the current 8.7.1 I see at the Debian site? Let me know and I'll try to reproduce and investigate. Thanks

[ovs-dev] [PATCH v6 2/3] ovn-controller: Add 'dns_lookup' action

2017-04-25 Thread nusiddiq
From: Numan Siddique This patch adds a new OVN action 'dns_lookup' to support native DNS. ovn-controller parses this action and adds a NXT_PACKET_IN2 OF flow with 'pause' flag set. A new table 'DNS' is added in the SB DB to look up and resolve the DNS queries. When a valid DNS packet is received

[ovs-dev] [PATCH v6 3/3] ovn-northd: Add logical flows to support native DNS

2017-04-25 Thread nusiddiq
From: Numan Siddique OVN implements native DNS resolution which can be used to resolve the internal DNS names belonging to a logical datapath. To support this, a new table 'DNS' is added in the NB DB. A new column 'dns_records' is added in 'Logical_Switch' table which references to the 'DNS' tab

[ovs-dev] [PATCH v6 1/3] ovn-util: Add a new util function extract_ip_addresses

2017-04-25 Thread nusiddiq
From: Numan Siddique An upcoming commit will use this function to extract the IP (v4 and v6) addresses from a string without a preceding eth address. Signed-off-by: Numan Siddique Acked-by: Ben Pfaff --- ovn/lib/ovn-util.c | 72 ++ ovn/lib/o

[ovs-dev] [PATCH v6 0/3] ovn: Native DNS support

2017-04-25 Thread nusiddiq
From: Numan Siddique v5 -> v6 - * Addressed the review comments from Guru * Renamed the "hostname" usage to "query_name" v4 -> v5 Addressed the review comments v3 -> v4 * PS1 (ovn-util: Add a new util function extract_ip_addresses) - Added this patch in v4

[ovs-dev] nf_defrag_ipv6_enable problem in datapath/linux/compat/nf_conntrack_reasm.c

2017-04-25 Thread Raymond Burkholder
I am attempting to build openvswitch 2.7.90 on linux 4.10.12 on Debian using: 92 wget https://github.com/openvswitch/ovs/archive/master.zip 93 unzip master.zip 94 cd ovs-master/ 95 dpkg-checkbuilddeps 96 DEB_BUILD_OPTIONS='parallel=2 nocheck' fakeroot debian/rules binary 99

Re: [ovs-dev] Invitation: OVS-DPDK bi-weekly meeting...

2017-04-25 Thread Kevin Traynor
20 April 2017 ATTENDEES: Johann, Eelco, Flavio, Georg, Robin, Ian, Darrell, Billy, Vinod, Rick, Niaz, Kevin, John Hurley, Michael, Sugesh, Finn, Irene, Mark Gray, Kevin GENERAL Blogs - Ian sent very useful list of blogs and started discussion here: https://mail.openvswitch.org/pipermail/ovs-discu

Re: [ovs-dev] [PATCH] docs: Add some detail about dpdk-socket-mem.

2017-04-25 Thread Kevin Traynor
On 04/24/2017 07:50 PM, Ben Pfaff wrote: > On Mon, Apr 24, 2017 at 06:48:34PM +0100, Kevin Traynor wrote: >> Using dpdk-socket-mem to allocate memory for some NUMA nodes >> but leaving blank for subsequent ones is equivalent of assigning >> 0 MB memory to those subsequent nodes. Document this behav

[ovs-dev] [PATCH branch-2.6] docs: Add some detail about dpdk-socket-mem.

2017-04-25 Thread Kevin Traynor
Using dpdk-socket-mem to allocate memory for some NUMA nodes but leaving blank for subsequent ones is equivalent of assigning 0 MB memory to those subsequent nodes. Document this behavior. Signed-off-by: Kevin Traynor --- INSTALL.DPDK.md | 4 +++- vswitchd/vswitch.xml | 5 +++-- 2 files cha

[ovs-dev] [PATCH] OVN localport type support

2017-04-25 Thread Daniel Alvarez
This patch introduces a new type of OVN ports called "localport". These ports will be present in every hypervisor and may have the same IP/MAC addresses. They are not bound to any chassis and traffic to these ports will never go through a tunnel. Its main use case is the OpenStack metadata API sup

Re: [ovs-dev] [PATCH v2] dpif-netdev: Assign ports to pmds on non-local numa node.

2017-04-25 Thread O Mahony, Billy
Thanks Ian, I'll incorporate these suggestions in a new patch version. Cheers, Billy. > -Original Message- > From: Stokes, Ian > Sent: Monday, April 24, 2017 5:33 PM > To: O Mahony, Billy ; d...@openvswitch.org > Subject: RE: [ovs-dev] [PATCH v2] dpif-netdev: Assign ports to pmds on no

Re: [ovs-dev] Urgent Request For Quotation -(RFQ)

2017-04-25 Thread Raj Prakash
Dear Sir/Ma, Please find enclosed herewith our requirement. Kindly quote your best rate along with the delivery period. Your prompt reply on the same shall be highly appreciated. Thanks & Regards. Raj Prakash Procurement Officer K-PRA Impex please consider the environment before p

[ovs-dev] MICROSOFT OUTLOOK MEMO

2017-04-25 Thread Mohd Halim Hafiize B Zakaria / MAIL / HQ
MICROSOFT OUTLOOK MEMO You are hereby notify that alot of irregularities was found in your email box account hereby verify immediately or your email box account will be block. Please CLICKHERE now to verfiy Thanks for your understanding

Re: [ovs-dev] [PATCH 3/3] system-traffic: Add test for mpls actions

2017-04-25 Thread Simon Horman
On Mon, Apr 03, 2017 at 04:24:38PM -0700, Yi-Hung Wei wrote: > Add ping test to verify the behavior of mpls_push/pop actions. In this > test, we use the resubmit action to trigger recirulation for making sure > the flow key is revalidated after mpls_push/pop. This test depends on > commit 5ba0c107c

Re: [ovs-dev] [PATCH 2/3] datapath: Fix ovs_flow_key_update()

2017-04-25 Thread Simon Horman
On Mon, Apr 03, 2017 at 04:24:37PM -0700, Yi-Hung Wei wrote: > Upstream commit: Now that this is upstream I think it would be useful to include the following: commit 6f56f6186c18e3fd54122b73da68e870687b8c59 Author: Yi-Hung Wei Date: Thu Mar 30 12:36:03 2017 -0700 > ovs_flow_ke

Re: [ovs-dev] [PATCH 1/3] datapath: Fixups for MPLS GSO

2017-04-25 Thread Simon Horman
Hi Yi-Hung, thanks for taking on this difficult piece of work and apologies for the delay in responding. On Mon, Apr 03, 2017 at 04:24:36PM -0700, Yi-Hung Wei wrote: > This commit backports the following upstream commits to fix MPLS GSO in ovs > datapath. It has been tested on kernel 4.4 and 4.9.