[ovs-dev] [PATCH] ovn-nbctl: check for duplicated ACL adding.

2017-01-18 Thread Han Zhou
Check for duplicated ACL adding and add option --may-exist for ovn-nbctl acl-add. Signed-off-by: Han Zhou --- ovn/utilities/ovn-nbctl.8.xml | 5 - ovn/utilities/ovn-nbctl.c | 14 +- tests/ovn-nbctl.at| 4 3 files changed, 21

[ovs-dev] Titulaciones Oficiales UNADE 2017

2017-01-18 Thread Universidad Americana de Europa
Estimad@ amig@, Nos ponemos en contacto con usted para informarle de todas las novedades en Titulaciones Oficiales en Modalidad No Escolarizada de la prestigiosa Universidad Americana de Europa para este año

Re: [ovs-dev] [PATCH] configuration.rst: Update the example of DPDK port's configuration

2017-01-18 Thread Daniele Di Proietto
2017-01-18 15:18 GMT-08:00 Daniele Di Proietto : > 2017-01-18 11:55 GMT-08:00 Binbin Xu : >> After the hotplug of DPDK ports, a valid dpdk-devargs must be >> specified. Otherwise, the DPDK device can't be available. >> >> Signed-off-by: Binbin Xu

[ovs-dev] [PATCH] Documentation: Update DPDK doc after port naming change.

2017-01-18 Thread Daniele Di Proietto
options:dpdk-devargs is always required now. This commit also changes some of the names from 'dpdk0' to various others. netdev-dpdk/detach accepts a PCI id instead of a port name. CC: Ciara Loftus Fixes: 55e075e65ef9("netdev-dpdk: Arbitrary 'dpdk' port naming")

Re: [ovs-dev] [PATCH v2 14/17] datapath: Fix skb->protocol for vlan frames

2017-01-18 Thread Yang, Yi
On Wed, Jan 18, 2017 at 01:29:14PM -0800, Joe Stringer wrote: > On 18 January 2017 at 11:54, Eric Garver wrote: > > On Tue, Jan 17, 2017 at 12:37:19AM +, Yang, Yi Y wrote: > >> What userspace do "802.1ad patches" depend on? Per Pravin's statement, we > >> just backport 802.1ad

Re: [ovs-dev] [PATCH] ovn-nbctl: Ability to bootstrap CA certificate.

2017-01-18 Thread Ben Pfaff
On Wed, Jan 18, 2017 at 05:09:33AM -0800, Gurucharan Shetty wrote: > Utilities like ovs-vsctl have the ability to bootstrap > CA certificate. It looks useful for ovn-nbctl to have > the same ability too. One could connect over to OVN NB > database over SSL for transactions without having to >

Re: [ovs-dev] [PATCH] faq: Document OVS packet buffering.

2017-01-18 Thread Ben Pfaff
Thanks, applied to master. On Wed, Jan 18, 2017 at 03:12:19PM -0800, Jarno Rajahalme wrote: > Acked-by: Jarno Rajahalme > > > On Jan 18, 2017, at 2:43 PM, Ben Pfaff wrote: > > > > We get questions about this sometimes. > > > > Signed-off-by: Ben Pfaff

Re: [ovs-dev] [PATCH] ovn-nbctl: Ability to bootstrap CA certificate.

2017-01-18 Thread Lance Richardson
> From: "Gurucharan Shetty" > To: d...@openvswitch.org > Sent: Wednesday, January 18, 2017 8:09:33 AM > Subject: [ovs-dev] [PATCH] ovn-nbctl: Ability to bootstrap CA certificate. > > Utilities like ovs-vsctl have the ability to bootstrap > CA certificate. It looks useful for

[ovs-dev] [PATCH] ovn-nbctl: Ability to bootstrap CA certificate.

2017-01-18 Thread Gurucharan Shetty
Utilities like ovs-vsctl have the ability to bootstrap CA certificate. It looks useful for ovn-nbctl to have the same ability too. One could connect over to OVN NB database over SSL for transactions without having to copy over the certificate being used by ovsdb-server backing OVN NB.

Re: [ovs-dev] [PATCH] configuration.rst: Update the example of DPDK port's configuration

2017-01-18 Thread Daniele Di Proietto
2017-01-18 11:55 GMT-08:00 Binbin Xu : > After the hotplug of DPDK ports, a valid dpdk-devargs must be > specified. Otherwise, the DPDK device can't be available. > > Signed-off-by: Binbin Xu Thanks! Applied to master and branch-2.7 > --- >

Re: [ovs-dev] [PATCH] faq: Document OVS packet buffering.

2017-01-18 Thread Jarno Rajahalme
Acked-by: Jarno Rajahalme > On Jan 18, 2017, at 2:43 PM, Ben Pfaff wrote: > > We get questions about this sometimes. > > Signed-off-by: Ben Pfaff > --- > Documentation/faq/design.rst | 32 > 1 file changed, 32

Re: [ovs-dev] [PATCH] ovn-ctl: Add bootstrap ovn-controller CA certificate option.

2017-01-18 Thread Guru Shetty
On 18 January 2017 at 14:26, Lance Richardson wrote: > > From: "Gurucharan Shetty" > > To: d...@openvswitch.org > > Sent: Wednesday, January 18, 2017 6:25:29 AM > > Subject: [ovs-dev] [PATCH] ovn-ctl: Add bootstrap ovn-controller CA > certificate option. > >

[ovs-dev] [userspace meter 5/5] dpif-netdev: Simple DROP meter implementation.

2017-01-18 Thread Andy Zhou
From: Jarno Rajahalme Meters may be used by any flow, so some kind of locking must be used. In this version we have an adaptive mutex for each meter, which may not be optimal for DPDK. However, this should serve as a basis for further improvement. A batch of packets is first

[ovs-dev] [userspace meter 4/5] ofproto: Meter translation.

2017-01-18 Thread Andy Zhou
From: Jarno Rajahalme Translate OpenFlow METER instructions to datapath meter actions. Signed-off-by: Jarno Rajahalme Signed-off-by: Andy Zhou --- include/openvswitch/ofp-actions.h | 1 + lib/dpif.c| 40

[ovs-dev] [userspace meter 2/5] dp-packet: Enhance packet batch APIs.

2017-01-18 Thread Andy Zhou
One common use case of 'struct dp_packet_batch' is to process all packets in the batch in order. Add an iterator for this use case to simplify the logic of calling sites, Another common use case is to drop packets in the batch, by read all packets, but write back pointers of fewer packets, i.e.

[ovs-dev] [userspace meter 1/5] netdev-dummy: Add --len option for netdev-dummy/receive command

2017-01-18 Thread Andy Zhou
Currently, there is no way to specify the packet size when injecting a packet via "netdev-dummy/receive" with a flow specification. Thus far, packet size is not important for testing OVS features, but it becomes useful in writing unit tests for the meter implementation in a later patch.

Re: [ovs-dev] [PATCH] ovn-ctl: Add bootstrap ovn-controller CA certificate option.

2017-01-18 Thread Lance Richardson
> From: "Gurucharan Shetty" > To: d...@openvswitch.org > Sent: Wednesday, January 18, 2017 6:25:29 AM > Subject: [ovs-dev] [PATCH] ovn-ctl: Add bootstrap ovn-controller CA > certificate option. > > ovn-controller accepts the option --bootstrap-ca-cert. With this > commit,

Re: [ovs-dev] [PATCH 2/2] libX: add new release / version info tags

2017-01-18 Thread Ben Pfaff
On Mon, Jan 16, 2017 at 02:06:27PM -0500, Aaron Conole wrote: > This commit uses the $PACKAGE_VERSION automake variable to construct a > release and version info combination which sets the library name to be: > >libfoo-$(OVS_MAJOR_VERSION).so.$(OVS_MINOR_VERSION).0.$(OVS_MICRO_VERSION) > >

Re: [ovs-dev] [PATCH 1/2] libX.pc: use the correct output directory

2017-01-18 Thread Ben Pfaff
On Mon, Jan 16, 2017 at 02:06:26PM -0500, Aaron Conole wrote: > When the ovsdb library pkgconfig changes were introduced, they placed > generated output in the src directory. This is incorrect, however, as > the output files should actually be placed in the build directory. It > is only seen

[ovs-dev] [PATCH] ovn-ctl: Add bootstrap ovn-controller CA certificate option.

2017-01-18 Thread Gurucharan Shetty
ovn-controller accepts the option --bootstrap-ca-cert. With this commit, ovn-ctl will let user pass a value for that via --ovn-controller-ssl-bootstrap-ca-cert option. Bootstrapping is useful for ovn-controller as you don't have to copy the controller's certificate (self-signed or otherwise) to

Re: [ovs-dev] [BUG] ovs-ofctl version 2.5.0 will crash with OFPFMFC_BAD_COMMAND

2017-01-18 Thread Ben Pfaff
If you can come up with simple reproduction instructions that work for me, I'm happy to track this down. It's probably something very simple. On Tue, Jan 17, 2017 at 08:50:20AM -0800, Vidyasagara Guntaka wrote: > This issue happened on our in-use systems and we were trying to find a way > to

[ovs-dev] [RFC PATCH v4 6/6] dpif-netlink: add GENEVE creation support

2017-01-18 Thread Eric Garver
Creates GENEVE devices using rtnetlink and tunnel metadata. Co-Authored-by: Thadeu Lima de Souza Cascardo Co-Authored-by: Eric Garver Signed-off-by: Eric Garver --- lib/dpif-netlink.c | 140 +

[ovs-dev] [RFC PATCH v4 5/6] dpif-netlink: add GRE creation support

2017-01-18 Thread Eric Garver
Creates GRE devices using rtnetlink and tunnel metadata. Co-Authored-by: Thadeu Lima de Souza Cascardo Co-Authored-by: Eric Garver Signed-off-by: Eric Garver --- lib/dpif-netlink.c | 121 + 1

[ovs-dev] [RFC PATCH v4 4/6] dpif-netlink: add VXLAN creation support

2017-01-18 Thread Eric Garver
Creates VXLAN devices using rtnetlink and tunnel metadata. Co-Authored-by: Thadeu Lima de Souza Cascardo Co-Authored-by: Eric Garver Signed-off-by: Eric Garver --- lib/dpif-netlink.c | 194 -

[ovs-dev] [RFC PATCH v4 2/6] dpif-netlink: break out code to add compat and non-compat vports

2017-01-18 Thread Eric Garver
From: Thadeu Lima de Souza Cascardo The vport type for adding tunnels is now compatibility code and any new features from tunnels must configure the tunnel as an interface using the tunnel metadata support. In order to be able to add those tunnels, we need to add code to

[ovs-dev] [RFC PATCH v4 3/6] dpif-netlink: Probe for out-of-tree datapath.

2017-01-18 Thread Eric Garver
For out-of-tree datapath, only try genetlink/compat. For in-tree kernel datapath, try rtnetlink then genetlink. Signed-off-by: Eric Garver --- lib/dpif-netlink.c | 35 --- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git

Re: [ovs-dev] [PATCH v2 1/5] datapath-windows: Added a new file to support Ipv4 fragments.

2017-01-18 Thread Guru Shetty
On 12 January 2017 at 13:13, Anand Kumar wrote: > This patch adds functionalities to handle IPv4 fragments, which will be > used by Conntrack module. > > Added a new structure to hold the Ipv4 fragments and a hash table to > hold Ipv4 datagram entries. Also added a clean

Re: [ovs-dev] OVS - ODL Sync on OF Bundle in 1.3

2017-01-18 Thread Ben Pfaff
On Wed, Jan 18, 2017 at 04:10:05PM +, Jan Scheurich wrote: > OpenDaylight folks are finally starting to implement support of OpenFlow > bundles as a basis for the bundle-based hitless recync procedure we discussed > earlier. As ODL does not yet have protocol support for OpenFlow versions 1.4

Re: [ovs-dev] [PATCH v2 1/5] datapath-windows: Added a new file to support Ipv4 fragments.

2017-01-18 Thread Shashank Ram
Hi Anand, following are my comments: 1. Since you are just using a RW lock without specifically differentiating between and read and write protection, you could use a spin lock instead. Spin locks in general are recommended if all you want is a lock. 2. Instead of running the fragment cleaner

Re: [ovs-dev] [PATCH 0/1] dpif-netdev: Conditional EMC insert

2017-01-18 Thread Kevin Traynor
On 01/12/2017 04:49 PM, Ciara Loftus wrote: > This patch is part of the OVS-DPDK performance optimizations presented > on the OVS fall conference > (http://openvswitch.org/support/ovscon2016/8/1400-gray.pdf) > > The Exact Match Cache does not perform well in use cases with a high > numbers of

[ovs-dev] Sync on PTAP, EXT-382 and NSH

2017-01-18 Thread Jan Scheurich
Hi, Please be invited to the next sync meeting. Minutes of the previous meeting: https://mail.openvswitch.org/pipermail/ovs-dev/2017-January/327738.html Actions Points: AP-1 (Jarno): Coordinate review of Yi's backported net-next patches AP-2 (Jiri) Check the ability of the kernel datapath to

[ovs-dev] PTAP, EXT-382 and NSH: Minutes of meeting 2016-01-17

2017-01-18 Thread Jan Scheurich
Date: 2016-12-21, 17-18:30 CET Participants: Jarno R, Ben P, Ben M-C, Jiri B, Simon H, Zoltan B, Jan S Summary: * Status/progress/coordination of work packages: 1 - L3 packet handling in kernel datapath (net-next) Upstreaming to net-next done, depending on Eric G's VLAN fixes.

Re: [ovs-dev] [RFC] ofproto/bond: operational vs administratively disabled bond interface

2017-01-18 Thread Eelco Chaudron
On 17/01/17 20:12, Ben Pfaff wrote: On Tue, Jan 17, 2017 at 12:10:59PM -0200, Flavio Leitner wrote: On Tue, 17 Jan 2017 09:34:19 +0100 Eelco Chaudron wrote: Currently OVS does not distinguish between a bond slave being operational disabled, i.e. link being down, and