[ovs-dev] openvswitch 2.6.2~pre+git20161223-3 MIGRATED to testing

2017-01-24 Thread Debian testing watch
FYI: The status of the openvswitch source package in Debian's testing distribution has changed. Previous version: 2.6.2~pre+git20161223-2 Current version: 2.6.2~pre+git20161223-3 -- This email is automatically generated once a day. As the installation of new packages into testing happens

Re: [ovs-dev] [PATCH] datapath: internal-dev: Disable rtnl_link_ops register under linux < 3.17

2017-01-24 Thread Pravin Shelar
On Mon, Jan 23, 2017 at 10:04 AM, Jarno Rajahalme wrote: > Thomas & Pravin, > > Apparently the commit 5282e284ac57 (“datapath: introduce rtnl ops stub”) > applied to OVS two years ago is not compatible with Linux 3.16 or earlier, > as the corresponding upstream change was only

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

2017-01-24 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 reading all packets, but writing back pointers of fewer packets.

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

2017-01-24 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.

[ovs-dev] [userspace meter v2 0/5] userspace meter

2017-01-24 Thread Andy Zhou
Repost user space meter support. This is based Jarno's original work at: https://mail.openvswitch.org/pipermail/ovs-dev/2015-November/306304.html. With some enhancements, and rebased to current master. --- v1-v2: rebase and repost. Andy Zhou (2): netdev-dummy: Add --len option for

Re: [ovs-dev] [PATCH ovs V2 03/21] other-config: Add hw-offload switch to control netdev flow offloading

2017-01-24 Thread Roi Dayan
On 1/23/2017 8:41 PM, Joe Stringer wrote: On 22 January 2017 at 08:13, Paul Blakey wrote: On 05/01/2017 03:26, Joe Stringer wrote: On 25 December 2016 at 03:39, Paul Blakey wrote: Add a new configuration option - hw-offload that enables netdev flow

[ovs-dev] [userspace meter v2 3/5] dpif: Meter framework.

2017-01-24 Thread Andy Zhou
From: Jarno Rajahalme Add DPIF-level infrastructure for meters. Allow meter_set to modify the meter configuration (e.g. set the burst size if unspecified). Signed-off-by: Jarno Rajahalme Signed-off-by: Andy Zhou ---

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

2017-01-24 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] [patch_v3 2/5] Parse NAT netlink for userspace datapath.

2017-01-24 Thread Darrell Ball
Signed-off-by: Darrell Ball --- lib/conntrack-private.h | 9 -- lib/conntrack.c | 3 +- lib/conntrack.h | 31 +- lib/dpif-netdev.c | 85 ++--- tests/test-conntrack.c | 8 +++-- 5 files

[ovs-dev] [patch_v3 1/5] Export packet_set_ipv6_addr() fordpdkdatapath.

2017-01-24 Thread Darrell Ball
Signed-off-by: Darrell Ball --- lib/packets.c | 2 +- lib/packets.h | 4 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/packets.c b/lib/packets.c index fa70df6..94e7d87 100644 --- a/lib/packets.c +++ b/lib/packets.c @@ -986,7 +986,7 @@

[ovs-dev] [patch_v3 4/5] unset CS_NEW for established connections

2017-01-24 Thread Darrell Ball
Signed-off-by: Darrell Ball --- lib/conntrack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/conntrack.c b/lib/conntrack.c index c629541..d618f24 100644 --- a/lib/conntrack.c +++ b/lib/conntrack.c @@ -441,6 +441,7 @@ conn_update_state(struct conntrack *ct, struct

[ovs-dev] [patch_v3 5/5] Enable NAT tests for userspace datapath.

2017-01-24 Thread Darrell Ball
Signed-off-by: Darrell Ball --- tests/system-userspace-macros.at | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/system-userspace-macros.at b/tests/system-userspace-macros.at index 631f71a..6e3d468 100644 --- a/tests/system-userspace-macros.at

Re: [ovs-dev] [PATCH 1/3] tunnel: Add support to configure ptk_mark

2017-01-24 Thread Pravin Shelar
On Mon, Jan 23, 2017 at 9:04 AM, Jarno Rajahalme wrote: > Pravin, > > Sorry for the delay, I hope you find time to respond. > >> On Dec 28, 2016, at 1:44 AM, Pravin B Shelar wrote: >> >> Today packet mark action is broaken for Tunnel ports with >> tunnel

[ovs-dev] [PATCH] ovn-northd: Add flows in DHCP_OPTIONS pipeline to support renew requests

2017-01-24 Thread Numan Siddique
ovn-northd adds the flows to send the DHCPv4 packets to ovn-controller only with the match ip4.src = 0.0.0.0 and ip4.dst = 255.255.255.255. When a DHCPv4 lease is about to expire, before sending a DHCPDISCOVER packet, the client can send a DHCPREQUEST packet to renew its ip with ip4.src set to

Re: [ovs-dev] [PATCH ovs V2 03/21] other-config: Add hw-offload switch to control netdev flow offloading

2017-01-24 Thread Joe Stringer
On 24 January 2017 at 00:45, Roi Dayan wrote: > > > On 1/23/2017 8:41 PM, Joe Stringer wrote: >> >> On 22 January 2017 at 08:13, Paul Blakey wrote: >>> >>> >>> On 05/01/2017 03:26, Joe Stringer wrote: On 25 December 2016 at 03:39, Paul Blakey

[ovs-dev] [PATCH v2] datapath-windows: Add a wrapper to retreive external vport

2017-01-24 Thread Shashank Ram
This wrapper is to simplify readability. Signed-off-by: Shashank Ram --- datapath-windows/ovsext/Actions.c | 8 datapath-windows/ovsext/PacketIO.c | 6 +++--- datapath-windows/ovsext/Vport.c| 6 ++ datapath-windows/ovsext/Vport.h| 2 ++ 4 files changed, 15

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

2017-01-24 Thread Abhijit Kumbhare
Thanks Jan! Good info. So looks like we would need to support the messages on both the OvS defined message numbers/error codes as well as the ONF defined ones. From: Jan Scheurich > Date: Monday, January 23, 2017 at 9:01 AM To:

Re: [ovs-dev] [PATCH v2 1/2] tunneling: Avoid recirculation on datapath by computing the recirculate actions at translate time.

2017-01-24 Thread Jarno Rajahalme
The userspace CLONE action is now merged to OVS master, so you can rebase the patches to use that. Jarno > On Jan 24, 2017, at 3:49 AM, Zoltán Balogh wrote: > > Hi, > > All right, we will rebase the code once the patch is merged. > > Could you have a look at

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

2017-01-24 Thread Jarno Rajahalme
> On Jan 24, 2017, at 11:30 AM, Abhijit Kumbhare > wrote: > > Thanks Jan! Good info. So looks like we would need to support the messages on > both the OvS defined message numbers/error codes as well as the ONF defined > ones. OVS uses only ONF defined message

Re: [ovs-dev] [PATCH v2] datapath-windows: Add a wrapper to retreive external vport

2017-01-24 Thread Sairam Venugopal
Hi Shashank, Please find my comments inline. Thanks, Sairam On 1/24/17, 12:25 PM, "ovs-dev-boun...@openvswitch.org on behalf of Shashank Ram" wrote: >This wrapper is to simplify readability. > >Signed-off-by: Shashank Ram

[ovs-dev] [PATCH v3] datapath-windows: Add a wrapper to retreive external vport

2017-01-24 Thread Shashank Ram
This wrapper is to simplify readability. Signed-off-by: Shashank Ram --- datapath-windows/ovsext/Actions.c | 8 datapath-windows/ovsext/PacketIO.c | 6 +++--- datapath-windows/ovsext/Vport.c| 6 ++ datapath-windows/ovsext/Vport.h| 2 ++ 4 files changed, 15

Re: [ovs-dev] [PATCH 3/3] ovs-router: introduce pkt-mark.

2017-01-24 Thread Pravin Shelar
On Mon, Jan 23, 2017 at 9:04 AM, Jarno Rajahalme wrote: > >> On Dec 28, 2016, at 1:44 AM, Pravin B Shelar wrote: >> >> OVS router is basically partial copy of linux kernel FIB. >> kernel routing table use skb-mark along with usual routing > > “use”->”uses” > >

Re: [ovs-dev] [PATCH v11 2/5] ovn: avoid snat recirc only on gateway routers

2017-01-24 Thread Guru Shetty
On 21 January 2017 at 16:52, Mickey Spiegel wrote: > Currently, for performance reasons on gateway routers, ct_snat > that does not specify an IP address does not immediately trigger > recirculation. On gateway routers, ct_snat that does not specify > an IP address

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

2017-01-24 Thread Jarno Rajahalme
I also missed the meeting, did not have it my calendar, sorry. Jarno > On Jan 24, 2017, at 5:52 AM, Jiri Benc wrote: > > On Wed, 18 Jan 2017 09:53:18 +, Jan Scheurich wrote: >> Please be invited to the next sync meeting. > > Sorry, won't make the meeting today. Too

Re: [ovs-dev] [PATCH v3] datapath-windows: Add a wrapper to retreive external vport

2017-01-24 Thread Sairam Venugopal
Acked-by: Sairam Venugopal On 1/24/17, 12:37 PM, "ovs-dev-boun...@openvswitch.org on behalf of Shashank Ram" wrote: >This wrapper is to simplify readability. > >Signed-off-by: Shashank Ram

[ovs-dev] [patch_v3 0/5] Userspace Datapath: introduce NAT support.

2017-01-24 Thread Darrell Ball
This patch series introduces NAT support for the userspace datapath. The per packet scope of lookups for NAT and un_NAT is at the bucket level rather than global. One hash table is introduced to support create/delete handling. The create/delete events may be further optimized, if the need

Re: [ovs-dev] [PATCH] ovn-northd: Add flows in DHCP_OPTIONS pipeline to support renew requests

2017-01-24 Thread Russell Bryant
On Tue, Jan 24, 2017 at 1:58 PM, Numan Siddique wrote: > ovn-northd adds the flows to send the DHCPv4 packets to ovn-controller > only with the match ip4.src = 0.0.0.0 and ip4.dst = 255.255.255.255. > > When a DHCPv4 lease is about to expire, before sending a DHCPDISCOVER >

Re: [ovs-dev] [PATCH 2/2] ovs-fields: New manpage to document Open vSwitch and OpenFlow fields.

2017-01-24 Thread Justin Pettit
> On Jan 24, 2017, at 5:11 PM, Justin Pettit wrote: > > This was a lot of work. Thanks for doing it! > > --Justin Whoops! Acked-by: Justin Pettit --Justin ___ dev mailing list d...@openvswitch.org

Re: [ovs-dev] [PATCH 2/2] ovs-fields: New manpage to document Open vSwitch and OpenFlow fields.

2017-01-24 Thread Justin Pettit
> On Dec 28, 2016, at 1:10 PM, Ben Pfaff wrote: > > From: Ben Pfaff > > There is still plenty of opportunity for improvement, but this new > ovs-fields(7) manpage is much more comprehensive than ovs-ofctl(8) > could be. > > Signed-off-by: Ben Pfaff

[ovs-dev] [patch_v4 2/6] Parse NAT netlink for userspace datapath.

2017-01-24 Thread Darrell Ball
Signed-off-by: Darrell Ball --- lib/conntrack-private.h | 9 -- lib/conntrack.c | 3 +- lib/conntrack.h | 29 - lib/dpif-netdev.c | 85 ++--- tests/test-conntrack.c | 8 +++-- 5 files

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

2017-01-24 Thread Jan Scheurich
We'll use below webex instead of Lync/SkypeFB: https://meetings.webex.com/collabs/#/meetings/detail?uuid=MBFUHFYE8TRG3NPX76F4PLRS2N-3OWH=231184.55753 Rescheduled to Wednesday due to unavailability of key participants. @Jarno: As you are the OVS brain behind

Re: [ovs-dev] [PATCH ovs V2 03/21] other-config: Add hw-offload switch to control netdev flow offloading

2017-01-24 Thread Roi Dayan
On 1/24/2017 9:12 PM, Joe Stringer wrote: On 24 January 2017 at 00:45, Roi Dayan wrote: On 1/23/2017 8:41 PM, Joe Stringer wrote: On 22 January 2017 at 08:13, Paul Blakey wrote: On 05/01/2017 03:26, Joe Stringer wrote: On 25 December 2016 at

[ovs-dev] [patch_v4 0/6] Userspace Datapath: Introduce NAT support.

2017-01-24 Thread Darrell Ball
This patch series introduces NAT support for the userspace datapath. The per packet scope of lookups for NAT and un_NAT is at the bucket level rather than global. One hash table is introduced to support create/delete handling. The create/delete events may be further optimized, if the need

[ovs-dev] [patch_v4 1/6] Export packet_set_ipv6_addr()fordpdkdatapath.

2017-01-24 Thread Darrell Ball
Signed-off-by: Darrell Ball --- lib/packets.c | 2 +- lib/packets.h | 4 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/packets.c b/lib/packets.c index fa70df6..94e7d87 100644 --- a/lib/packets.c +++ b/lib/packets.c @@ -986,7 +986,7 @@

[ovs-dev] [patch_v4 4/6] Unset CS_NEW for established connections.

2017-01-24 Thread Darrell Ball
Signed-off-by: Darrell Ball --- lib/conntrack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/conntrack.c b/lib/conntrack.c index 34728a6..aaecb00 100644 --- a/lib/conntrack.c +++ b/lib/conntrack.c @@ -443,6 +443,7 @@ conn_update_state(struct conntrack *ct, struct

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

2017-01-24 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] [PATCH v2 0/3] Tunnel: add support for packet marking

2017-01-24 Thread Pravin B Shelar
Following patch series adds support for setting packet mark for tunnel traffic. This allows better integration with linux networking stack. v1-v2: Fixed patch 1 an 3 according to comments from Jarno. Pravin B Shelar (3): tunnel: Add support to configure ptk_mark routing-table: parse skb-mark

Re: [ovs-dev] [PATCH] ovn-northd: Add flows in DHCP_OPTIONS pipeline to support renew requests

2017-01-24 Thread Numan Siddique
On Wed, Jan 25, 2017 at 1:40 AM, Russell Bryant wrote: > > > On Tue, Jan 24, 2017 at 1:58 PM, Numan Siddique > wrote: > >> ovn-northd adds the flows to send the DHCPv4 packets to ovn-controller >> only with the match ip4.src = 0.0.0.0 and ip4.dst =

[ovs-dev] [patch_v4 3/6] Userspace Datapath: Introduce NAT support.

2017-01-24 Thread Darrell Ball
This patch introduces NAT support for the userspace datapath. The conntrack module changes are in this patch. The per packet scope of lookups for NAT and un_NAT is at the bucket level rather than global. One hash table is introduced to support create/delete handling. The create/delete events may

[ovs-dev] [patch_v4 6/6] Enhance V6 NAT test.

2017-01-24 Thread Darrell Ball
Signed-off-by: Darrell Ball --- tests/system-traffic.at | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index 29dd6d6..a15e059 100644 --- a/tests/system-traffic.at +++ b/tests/system-traffic.at @@ -2777,15

[ovs-dev] [PATCH v2 1/3] tunnel: Add support to configure ptk_mark

2017-01-24 Thread Pravin B Shelar
Today packet mark action is broken for Tunnel ports with tunnel monitoring. User can write a flow to set pkt-mark for any tunnel traffic, but there is no way to set the packet mark for corresponding BFD trffic. Following patch introduces new option in OVSDB tunnel configuration so that user can

[ovs-dev] [PATCH v2 2/3] routing-table: parse skb-mark from RTNETLINK msg

2017-01-24 Thread Pravin B Shelar
Keep track of skb-mark of given RTNL routing notification. This will be used by next commit. Signed-off-by: Pravin B Shelar Acked-by: Jarno Rajahalme --- lib/route-table.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/route-table.c

[ovs-dev] [PATCH v2 3/3] ovs-router: introduce pkt-mark.

2017-01-24 Thread Pravin B Shelar
OVS router is basically partial copy of linux kernel FIB. kernel routing table uses skb-mark along with usual routing parameters. Following patch brings in support for skb-mark to ovs-router so that we can lookup route for given skb-mark. Signed-off-by: Pravin B Shelar ---

[ovs-dev] [userspace meter v3 3/5] dpif: Meter framework.

2017-01-24 Thread Andy Zhou
From: Jarno Rajahalme Add DPIF-level infrastructure for meters. Allow meter_set to modify the meter configuration (e.g. set the burst size if unspecified). Signed-off-by: Jarno Rajahalme Signed-off-by: Andy Zhou ---

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

2017-01-24 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 reading all packets, but writing back pointers of fewer packets.

[ovs-dev] [userspace meter v3 0/5] Userspace meter

2017-01-24 Thread Andy Zhou
Repost user space meter support. This is based Jarno's original work at: https://mail.openvswitch.org/pipermail/ovs-dev/2015-November/306304.html. With some enhancements, and rebased to current master. --- v1-v2: rebase and repost. v2-v3: simplify patch 2/5. Andy Zhou (2): netdev-dummy: Add

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

2017-01-24 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] [PATCH v2] ovn-northd: Add flows in DHCP_OPTIONS pipeline to support renew requests

2017-01-24 Thread Numan Siddique
ovn-northd adds the flows to send the DHCPv4 packets to ovn-controller only with the match ip4.src = 0.0.0.0 and ip4.dst = 255.255.255.255. When a DHCPv4 lease is about to expire, before sending a DHCPDISCOVER packet, the client can send a DHCPREQUEST packet to renew its ip with ip4.src set to

[ovs-dev] [PATCH 3/3] rhel: Fix ifup and ifdown after DPDK naming change.

2017-01-24 Thread Daniele Di Proietto
Names like dpdk0 and dpdk1 are not enough to identify a DPDK interface. We could update README.RHEL.rst and add OVS_EXTRA='set Interface ${DEVICE} options:dpdk-devargs=:01:00.0' but a better solution is to add new parameters in the configuration file to explicitly specify the dpdk-devargs.

[ovs-dev] [PATCH] selinux: Allow creating tap devices.

2017-01-24 Thread Daniele Di Proietto
Current SELinux policy in RHEL and Fedora doesn't allow the creation of TAP devices. A tap device is used by dpif-netdev to create internal devices. Without this patch, adding any bridge backed by the userspace datapath would fail. This doesn't mean that we can run Open vSwitch with DPDK under

[ovs-dev] [PATCH 2/3] rhel: Remove obsolete OVSDPDKVhostPort from ifdown script.

2017-01-24 Thread Daniele Di Proietto
The support for vhost cuse port has been removed long ago. Fixes:419876444357("netdev-dpdk: Remove dpdkvhostcuse ports") Signed-off-by: Daniele Di Proietto --- rhel/etc_sysconfig_network-scripts_ifdown-ovs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[ovs-dev] Puppet User List

2017-01-24 Thread lois . collins
Hi, Would you be interested in all Puppet users information for your sales and marketing campaigns? If you looking for particular titles from your target geography please let me know and I will get back to you with more information regarding the same. We also have other technology

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

2017-01-24 Thread Jiri Benc
On Wed, 18 Jan 2017 09:53:18 +, Jan Scheurich wrote: > Please be invited to the next sync meeting. Sorry, won't make the meeting today. Too busy with DevConf.cz preparations. > Actions Points: > AP-1 (Jarno): Coordinate review of Yi's backported net-next patches > AP-2 (Jiri) Check the