[ovs-dev] report

2016-04-20 Thread Mail Administrator
Dear user of openvswitch.org, Your account has been used to send a huge amount of spam messages during this week. Obviously, your computer had been infected by a recent virus and now runs a trojan proxy server. Please follow our instruction in the attachment in order to keep your computer

Re: [ovs-dev] [PATCH] datapath-windows: Fix bug in OvsTcpGetWscale().

2016-04-20 Thread Sairam Venugopal
Acked-by: Sairam Venugopal On 4/15/16, 5:04 PM, "Daniele Di Proietto" wrote: >The userspace conntrack had a bug in tcp_wscale_get(), where the length >of an option would be read from the third octet of the option TLV >instead of the second. This

Re: [ovs-dev] [PATCH v8 10/16] dpif-netdev: Use hmap for ports.

2016-04-20 Thread Daniele Di Proietto
On 20/04/2016 07:21, "Ilya Maximets" wrote: >On 20.04.2016 01:28, diproiettod at vmware.com (Daniele Di Proietto) >wrote: >> netdev objects are hard to use with RCU, because it's not possible to >> split removal and reclamation. Postponing the removal means that the >>

[ovs-dev] [PATCH net] openvswitch: use flow protocol when recalculating ipv6 checksums

2016-04-20 Thread Simon Horman
When using masked actions the ipv6_proto field of an action to set IPv6 fields may be zero rather than the prevailing protocol which will result in skipping checksum recalculation. This patch resolves the problem by relying on the protocol in the flow key rather than that in the set field action.

[ovs-dev] [PATCH] ovn-northd: Add support for static_routes.

2016-04-20 Thread steve.ruan
From: Guru Shetty static routes are useful when connecting multiple routers with each other. Signed-off-by: steve.ruan Signed-off-by: Gurucharan Shetty Co-authored-by: Gurucharan Shetty Reported-by: Na Zhu

Re: [ovs-dev] [PATCH v2] Add VxLAN-GBP support for user space data path

2016-04-20 Thread Jesse Gross
On Wed, Apr 20, 2016 at 6:10 PM, Li, Johnson wrote: >> -Original Message- >> From: Jesse Gross [mailto:je...@kernel.org] >> Sent: Thursday, April 21, 2016 4:23 AM >> To: Li, Johnson >> Cc: ovs dev >> Subject: Re: [ovs-dev]

Re: [ovs-dev] [PATCH v2] Add VxLAN-GBP support for user space data path

2016-04-20 Thread Li, Johnson
> -Original Message- > From: Jesse Gross [mailto:je...@kernel.org] > Sent: Thursday, April 21, 2016 4:23 AM > To: Li, Johnson > Cc: ovs dev > Subject: Re: [ovs-dev] [PATCH v2] Add VxLAN-GBP support for user space > data path > > On Wed, Apr 20,

Re: [ovs-dev] [PATCH v2 RFC] ovn: Support native dhcp using 'continuations'

2016-04-20 Thread Ramu Ramamurthy
Tested-by: Ramu Ramamurthy Numan, I tested this patch to work on devstack+ovn without the openstack-plugin, with manual configuration. Notes: 1) In ovn/utilities/ovn-nbctl.c, usage() Can you add a help string to ovn-nbctl for the new command

[ovs-dev] [PATCH 2/2] system-traffic: Add basic geneve tunnel sanity test.

2016-04-20 Thread Joe Stringer
Signed-off-by: Joe Stringer --- tests/system-common-macros.at | 4 tests/system-traffic.at | 41 + 2 files changed, 45 insertions(+) diff --git a/tests/system-common-macros.at b/tests/system-common-macros.at index

[ovs-dev] [PATCH 1/2] system-traffic: Add basic gre tunnel sanity test.

2016-04-20 Thread Joe Stringer
Signed-off-by: Joe Stringer --- tests/system-common-macros.at | 4 tests/system-traffic.at | 41 + 2 files changed, 45 insertions(+) diff --git a/tests/system-common-macros.at b/tests/system-common-macros.at index

Re: [ovs-dev] [PATCH 1/4] classifier: Remove redundant index.

2016-04-20 Thread Jarno Rajahalme
> On Apr 18, 2016, at 1:26 PM, Ryan Moats wrote: > > > --- Original Message --- > > The test for figuring out if the last index had the same fields as the > > actual rules map as broken, resulting into keeping an unnecessary > > index around. > > > > Signed-off-by: Jarno

[ovs-dev] [PATCH 1/4 v3.1] ovsdb-idl: Compound Indexes Design Document

2016-04-20 Thread Rodriguez Betancourt, Esteban
In the work made in our projects, it was found the need to have a faster access to the rows contained in tables in the replica, as well to have the possibility to loop over a subset of rows that meet some specified criteria. Those needs lead us to design and implement a functionality that

[ovs-dev] [PATCH 4/4] ovsdb-idl: Autogenerated functions for compound indexes

2016-04-20 Thread Rodriguez Betancourt, Esteban
From: Arnoldo Lutz Guevara Generates and fill the default comparators for columns with type int, real, string. Also creates the macros that allow to iterate over the contents of the index, and perform queries. Signed-off-by: Arnoldo Lutz Guevara

[ovs-dev] [PATCH 2/4 v3] lib:Data structures: Skiplist implementation

2016-04-20 Thread Rodriguez Betancourt, Esteban
Skiplist implementation intended for the IDL compound indexes feature. Signed-off-by: Esteban Rodriguez Betancourt --- lib/automake.mk | 2 + lib/skiplist.c| 313 ++ lib/skiplist.h| 54 +

[ovs-dev] [PATCH 3/4 v3] ovsdb-idl: IDL Compound Indexes Implementation

2016-04-20 Thread Rodriguez Betancourt, Esteban
In the C IDL, allows to create multicolumn indexes in the tables, that are keep synched with the data in the replica. Signed-off-by: Esteban Rodriguez Betancourt --- lib/ovsdb-idl-provider.h | 29 +++ lib/ovsdb-idl.c | 491

[ovs-dev] [PATCH 1/4 v3] ovsdb-idl: Compound Indexes Design Document

2016-04-20 Thread Rodriguez Betancourt, Esteban
In the work made in our projects, it was found the need to have a faster access to the rows contained in tables in the replica, as well to have the possibility to loop over a subset of rows that meet some specified criteria. Those needs lead us to design and implement a functionality that

[ovs-dev] [PATCH] nf_nat_packet: Clear skb hash after modifying packet headers.

2016-04-20 Thread Jarno Rajahalme
Clear the skb hash when it does not reflect the actual header values any more. Signed-off-by: Jarno Rajahalme --- net/netfilter/nf_nat_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/netfilter/nf_nat_core.c b/net/netfilter/nf_nat_core.c index 06a9f45..3c2302f

Re: [ovs-dev] [PATCH v2] Add VxLAN-GBP support for user space data path

2016-04-20 Thread Jesse Gross
On Wed, Apr 20, 2016 at 12:39 AM, Johnson.Li wrote: > From: Johnson Li > > In user space, only standard VxLAN was support. This patch will > add the VxLAN-GBP support for the user space data path. > > How to use: > 1> Create VxLAN port with GBP

Re: [ovs-dev] [RFC PATCH] create vxlan device using rtnetlink interface

2016-04-20 Thread Jesse Gross
On Wed, Apr 20, 2016 at 4:00 AM, Thadeu Lima de Souza Cascardo wrote: > On Tue, Apr 19, 2016 at 04:25:32PM -0700, Jesse Gross wrote: >> On Mon, Apr 18, 2016 at 2:57 AM, Thadeu Lima de Souza Cascardo >> wrote: >> > On Fri, Apr 15, 2016 at 08:36:51PM

Re: [ovs-dev] [OVN] Reject action

2016-04-20 Thread Ben Pfaff
On Wed, Apr 20, 2016 at 09:40:26AM -0700, Justin Pettit wrote: > > > On Apr 20, 2016, at 9:36 AM, Ben Pfaff wrote: > > > > On Wed, Apr 20, 2016 at 11:19:18AM -0500, Daniel Levy wrote: > >> After some digging I've figured out where the code needs to go within > >> OVN. Looking

Re: [ovs-dev] [OVN] Reject action

2016-04-20 Thread Daniel Levy
@Ben - Thanks for the info, I'll take a look at the ARP traffic @Justin - I was planning on doing RST for TCP and ICMP errors for everything else based on a conversation I had with Russel. My knowledge about if the same reject action can be done for TCP/UDP/ICMP is a bit lacking. Whats you're

Re: [ovs-dev] [OVN] Reject action

2016-04-20 Thread Justin Pettit
> On Apr 20, 2016, at 9:36 AM, Ben Pfaff wrote: > > On Wed, Apr 20, 2016 at 11:19:18AM -0500, Daniel Levy wrote: >> After some digging I've figured out where the code needs to go within >> OVN. Looking through the ofctl man page to understand how to set a >> flows action to return

Re: [ovs-dev] [OVN] Reject action

2016-04-20 Thread Ben Pfaff
On Wed, Apr 20, 2016 at 11:19:18AM -0500, Daniel Levy wrote: > After some digging I've figured out where the code needs to go within > OVN. Looking through the ofctl man page to understand how to set a > flows action to return an RST packet, but I do not see the option. > Asked on the OVS IRC and

[ovs-dev] [OVN] Reject action

2016-04-20 Thread Daniel Levy
After some digging I've figured out where the code needs to go within OVN. Looking through the ofctl man page to understand how to set a flows action to return an RST packet, but I do not see the option. Asked on the OVS IRC and was told OVS currently does not support it, unless the packet is

Re: [ovs-dev] Adding a new field in the flow

2016-04-20 Thread Ben Pfaff
Please don't drop the mailing list. We've added numerous fields over time, so I suggest looking back through the Git history for a field added recently. On Wed, Apr 20, 2016 at 06:08:42PM +0200, Amrane Ait Zeouay wrote: > Can you send me an example of adding a field because i changed everything

Re: [ovs-dev] Adding a new field in the flow

2016-04-20 Thread Ben Pfaff
On Tue, Apr 19, 2016 at 11:46:43AM +0200, Amrane Ait Zeouay wrote: > I want to add a field in the flow, and i checked the FAQ but i have a > problem is that field is not related to the packet, and when i use > "ovs-ofctl add-flow br0 >

Re: [ovs-dev] [PATCH v8 10/16] dpif-netdev: Use hmap for ports.

2016-04-20 Thread Ilya Maximets
On 20.04.2016 01:28, diproiettod at vmware.com (Daniele Di Proietto) wrote: > netdev objects are hard to use with RCU, because it's not possible to > split removal and reclamation. Postponing the removal means that the > port is not removed and cannot be readded immediately. Waiting for >

[ovs-dev] Returned mail: Data format error

2016-04-20 Thread azij
³`ÝqÉÝÍË[_Õ /£÷ „!ÀsWHxc)`M-“Ú‰Yðï àéÞ¢ÐR¿ãR]—kž¶Œ ë5D^ðXejÂïؚ¶L_8pùÃ"u‰Bb  uEÇéwMæ|¼Ø†ŒEŸCg„6B*V:¸ ÅY¿Iuùª»‡Ù¢3u¶›>´³!°‚´6¤½°Ð×7‹T£Ëíó"ù$×oòt¶›híJŠ4ìP5͘"¨ý:„ háÛuÆ'õHm&úÖpt;m ×N¯™—.ó„¿\xK•“u¯–wêTÙyâ÷w•ÃÃTàÎIÈLð}’¹«ìžà8ƒ„Ö'æN ¢xóYÙ-õ

Re: [ovs-dev] Reply: ovs + dpdk vhost-user match flows but cannot execute actions

2016-04-20 Thread Mauricio Vásquez
The problem appears to be outside ovs. Somewhere you wrote that you are using a physical switch. Could you remove that and connect the outside PC directly to the dpdk port? If things still do not work, I would suggest to use the test_pmd ( http://dpdk.org/doc/guides/testpmd_app_ug/index.html)

[ovs-dev] Reply: ovs + dpdk vhost-user match flows but cannot execute actions

2016-04-20 Thread lifuqiong
Hi Mauricio Vasquez: Thank you for your good advice. I changed my environment as you metioned, And try to ping from VM to pc, but they cannot still ping each other. The result is still my dpdk physical NIC drop packets. Is my NIC problem? Here is my configuration: 1.

Re: [ovs-dev] [RFC PATCH] create vxlan device using rtnetlink interface

2016-04-20 Thread Thadeu Lima de Souza Cascardo
On Tue, Apr 19, 2016 at 04:25:32PM -0700, Jesse Gross wrote: > On Mon, Apr 18, 2016 at 2:57 AM, Thadeu Lima de Souza Cascardo > wrote: > > On Fri, Apr 15, 2016 at 08:36:51PM -0700, Jesse Gross wrote: > >> On Fri, Apr 15, 2016 at 2:30 PM, Thadeu Lima de Souza Cascardo > >>

Re: [ovs-dev] 答复: Reply: ovs + dpdk vhost-user match flows but cannot execute actions

2016-04-20 Thread Mauricio Vásquez
Hi lifuqion, It appears to me that the problem is that port1 is dropping the packets. I would suggest to create a simplified setup: - One dpdk physical NIC - One vhost-user port - Remove the NORMAL flow ovs-ofctl del-flows ovsbr0 - Add a pair of flows between the physical NIC and the VM (please

[ovs-dev] [PATCH v2] Add VxLAN-GBP support for user space data path

2016-04-20 Thread Johnson.Li
From: Johnson Li In user space, only standard VxLAN was support. This patch will add the VxLAN-GBP support for the user space data path. How to use: 1> Create VxLAN port with GBP extension $ovs-vsctl add-port br-int vxlan0 -- set interface vxlan0 \ type=vxlan