Re: [ovs-dev] Integrate ovs+dpdk to openstack

2015-09-16 Thread Czesnowicz, Przemyslaw
> -Original Message- > From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Na Zhu > Sent: Wednesday, September 16, 2015 10:12 AM > To: dev@openvswitch.org > Subject: [ovs-dev] Integrate ovs+dpdk to openstack > > Hi all, > > Since ovs+dpdk is released, are you plan to integrate

[ovs-dev] Integrate ovs+dpdk to openstack

2015-09-16 Thread Na Zhu
Hi all, Since ovs+dpdk is released, are you plan to integrate ovs+dpdk to openstack? I find there is a project on openstack stackforge https://github.com/stackforge/networking-ovs-dpdk/, but the project is not finished, and the code is incomplete. Is there any available patch for ovs+dpdk in

[ovs-dev] Re...

2015-09-16 Thread Bailey, Hunter
I have a confidential deal to transact with you worth please reply: hengsendchaox...@outlook.be ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] Mail System Error - Returned Mail

2015-09-16 Thread Mail Administrator
The original message was received at Wed, 16 Sep 2015 17:36:39 +0700 from [47.126.70.80] - The following addresses had permanent fatal errors - dev@openvswitch.org - Transcript of session follows - ... while talking to mail server openvswitch.org.: >>> DATA <<< 400-aturner;

Re: [ovs-dev] [PATCH] datapath-windows: Removed hardcoded names for internal/external vports

2015-09-16 Thread Sorin Vinturis
Hi Sai, The v2 version of this patch will allow the change of the port names for both internal and external ports. These events will be caught by the OID_SWITCH_NIC_UPDATED/OID_SWITCH_PORT_UPDATED. Thanks, Sorin -Original Message- From: Sairam Venugopal [mailto:vsai...@vmware.com]

[ovs-dev] [PATCH v2] datapath-windows: Removed hardcoded names for internal/external vports

2015-09-16 Thread Sorin Vinturis
The internal/external vports will have the actual OS-based names, which represent the NIC interface alias that is displayed by running 'Get-NetAdapter' Hyper-V PS command. Signed-off-by: Sorin Vinturis --- datapath-windows/ovsext/Vport.c | 89

[ovs-dev] About the function odp_flow_key_to_flow__

2015-09-16 Thread openvswitcher
Hi, all Could anybody explain the difference in function odp_flow_key_to_flow__ for if the is_mask flag is true or flase? Thanks. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] help needed on development info

2015-09-16 Thread Kallol Karmakar
Hi, I want to add some modules in Openvswitch, How can i do that.Thanking you. CheersKallol ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] [PATCH] bugfix: Fix DPDK linking when using a relative path

2015-09-16 Thread Ciara Loftus
When linking with DPDK, if a relative path is used with the '--with-dpdk' flag, then OVS will always be compiled with vHost Cuse support, even if it is not enabled in the DPDK build. This patch fixes this problem, and enables the correct version of vHost despite whether or not a relative or

Re: [ovs-dev] ovs patch interface

2015-09-16 Thread Ben Pfaff
On Wed, Sep 16, 2015 at 12:35:46PM +0800, Na Zhu wrote: > Think about this case: a VM attaches to an OVS br-int through > vhost(kernel), the OVS br-int interconnects with OVS br-eth through a pair > of patch ports. The physical NIC eth0 is added to br-eth. A packet > originated from the VM is

Re: [ovs-dev] [PATCH 1/2] ofproto: Reduce log level from WARN to INFO.

2015-09-16 Thread Ben Pfaff
Thanks, I applied this to master. On Thu, Sep 10, 2015 at 02:48:03PM -0700, Jarno Rajahalme wrote: > Acked-by: Jarno Rajahalme > > > On Sep 10, 2015, at 1:18 PM, Ben Pfaff wrote: > > > > It seems to me that a controller bug doesn't rise to the level of

Re: [ovs-dev] [PATCH] bugfix: Fix DPDK linking when using a relative path

2015-09-16 Thread Loftus, Ciara
> > When linking with DPDK, if a relative path is used with the > '--with-dpdk' flag, then OVS will always be compiled with vHost Cuse > support, even if it is not enabled in the DPDK build. > This patch fixes this problem, and enables the correct version of > vHost despite whether or not a

Re: [ovs-dev] ovs patch interface

2015-09-16 Thread openvswitcher
So what will happen in userspace if the patch port exists between two bridges? For example: bridge1 patch-port1- patch-port2 bridge2 bridge1: flowtable1: match: all action: normal; bridge2: flowtable1: match in-port=patch-port2 ; vlan=1; action: set_tunnel_id(vxlan id)= 101, output:

Re: [ovs-dev] ovs patch interface

2015-09-16 Thread Ben Pfaff
On Wed, Sep 16, 2015 at 11:36:09PM +0800, openvswitcher wrote: > So what will happen in userspace if the patch port exists between two bridges? > For example: > bridge1 patch-port1- patch-port2 bridge2 > > > bridge1: > flowtable1: match: all action: normal; > bridge2: > flowtable1:

Re: [ovs-dev] [RFC PATCH] userspace: Define and use struct eth_addr.

2015-09-16 Thread Ben Pfaff
On Wed, Sep 16, 2015 at 10:55:10AM +0900, Takashi Yamamoto wrote: > hi, > > > --- a/build-aux/extract-odp-netlink-h > > +++ b/build-aux/extract-odp-netlink-h > > @@ -20,11 +20,14 @@ $i\ > > #include "OvsDpInterfaceExt.h"\ > > #endif\ > > > > +# Use OVS's own struct eth_addr instead of a 6-byte

Re: [ovs-dev] ovs patch interface

2015-09-16 Thread openvswitcher
Thank you very much. It's helpful. At 2015-09-16 23:42:08, "Ben Pfaff" wrote: >On Wed, Sep 16, 2015 at 11:36:09PM +0800, openvswitcher wrote: >> So what will happen in userspace if the patch port exists between two >> bridges? >> For example: >> bridge1 patch-port1-

Re: [ovs-dev] [PATCH] ovn-nb: Add port_security proposal.

2015-09-16 Thread Ben Pfaff
On Thu, Sep 10, 2015 at 10:22:46PM -0400, Brian Haley wrote: > On 9/10/15 2:54 PM, Ben Pfaff wrote: > >diff --git a/ovn/ovn-nb.xml b/ovn/ovn-nb.xml > > >+80:fa:5b:06:72:b7 192.168.1.10/24 > > IPv6 too ? :) I don't think an IPv6 example would clarify anything. > >+ > >+

[ovs-dev] [PATCH] ofproto-dpif-sflow: Use xzalloc() instead of calloc() to allocate memory.

2015-09-16 Thread Ben Pfaff
Memory allocation shouldn't be allowed to fail. CC: Neil McKee Reported-by: neeraj mehta Reported-at: http://openvswitch.org/pipermail/discuss/2015-September/018776.html Signed-off-by: Ben Pfaff --- AUTHORS |

Re: [ovs-dev] [PATCH] ovn-nb: Add port_security proposal.

2015-09-16 Thread Brian Haley
On 09/16/2015 11:24 AM, Ben Pfaff wrote: On Thu, Sep 10, 2015 at 10:22:46PM -0400, Brian Haley wrote: On 9/10/15 2:54 PM, Ben Pfaff wrote: diff --git a/ovn/ovn-nb.xml b/ovn/ovn-nb.xml +80:fa:5b:06:72:b7 192.168.1.10/24 IPv6 too ? :) I don't think an IPv6 example would clarify

[ovs-dev] [PATCH 1/2] bugfix: Fix DPDK linking when using a relative path

2015-09-16 Thread Ciara Loftus
When linking with DPDK, if a relative path is used with the '--with-dpdk' flag, then OVS will always be compiled with vHost Cuse support, even if it is not enabled in the DPDK build. This patch fixes this problem, and enables the correct version of vHost despite whether or not a relative or

[ovs-dev] [PATCH 2/2] AUTHORS: Add Ciara Loftus

2015-09-16 Thread Ciara Loftus
Signed-off-by: Ciara Loftus --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index a7f40bb..12d7e2e 100644 --- a/AUTHORS +++ b/AUTHORS @@ -34,6 +34,7 @@ Casey Barkercrbar...@google.com Christoph Jaegerc...@linux.com

[ovs-dev] [PATCH]: Use ctz64() instead of rightmost_1bit_idx() with 64 bit arg

2015-09-16 Thread Kyle Upton
Applied a patch which changed value of OFPACT_SET_QUEUE to be greater than 32. Tracked down a subsequent autotest failure to invocation of rightmost_1bit_idx() with 64-bit argument 'opfacts_bitmap'. rightmost_1bit_idx() only works with 32-bit integers. Changed this and other occurrences where

Re: [ovs-dev] [PATCH] docs: Expand performance tuning section in INSTALL.DPDK.md.

2015-09-16 Thread Daniele Di Proietto
Thanks for taking the time to write this up, it is really detailed! I think some of the information is more for developers than end users, but I don't think this means it shouldn't be in INSTALL.DPDK.md. I've fixed a couple of typos with a spell checker and applied this to master. Thanks On

Re: [ovs-dev] Why the packet is not flooded to patch port

2015-09-16 Thread Han Zhou
In userspace, if the tables lookup of the first bridge results in an action of output to a patch port, then it should lookup the bridge of the peer port consequently. The flow installed to datapath will be the final actions combining all the results. E.g. port_A --- br1 --- port_B (patch)

Re: [ovs-dev] [PATCH 3/3] rhel: fix rpm build 'Installed (but unpackaged) file(s) found' error

2015-09-16 Thread Gurucharan Shetty
On Tue, Sep 15, 2015 at 10:44 AM, Tashi Lu wrote: > From 1565cd8ccac1d919eb6d1ffc3185e89bc5e0607d Mon Sep 17 00:00:00 2001 > From: dotSlashLu > Date: Tue, 15 Sep 2015 20:44:29 +0800 > Subject: [PATCH 3/3] rhel: fix rpm build 'Installed (but

[ovs-dev] [PATCH v2] rpms: Remove ovs-sim man page from spec.

2015-09-16 Thread Gurucharan Shetty
Reported-by: Dotslash Lu Signed-off-by: Gurucharan Shetty --- rhel/openvswitch.spec.in |1 - xenserver/openvswitch-xen.spec.in |1 - 2 files changed, 2 deletions(-) diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in

Re: [ovs-dev] [PATCH 1/3] rhel: fix 'cannot remove' build error

2015-09-16 Thread Gurucharan Shetty
On Tue, Sep 15, 2015 at 7:05 PM, Tashi Lu wrote: > Still the same error shown below. And i do have python2.7 installed and it > is the default $(python) > > % rpmbuild -bb --without check rhel/openvswitch.spec > . > . > . > Executing(%check): /bin/sh -e

Re: [ovs-dev] [PATCH] ofproto-dpif-sflow: Use xzalloc() instead of calloc() to allocate memory.

2015-09-16 Thread Russell Bryant
On 09/16/2015 11:35 AM, Ben Pfaff wrote: > Memory allocation shouldn't be allowed to fail. > > CC: Neil McKee > Reported-by: neeraj mehta > Reported-at: > http://openvswitch.org/pipermail/discuss/2015-September/018776.html > Signed-off-by: Ben

[ovs-dev] [PATCH 2/2] rhel: Remove ovs-sim man page from spec.

2015-09-16 Thread Gurucharan Shetty
Reported-by: Dotslash Lu Signed-off-by: Gurucharan Shetty --- rhel/openvswitch.spec.in |1 - 1 file changed, 1 deletion(-) diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in index 642986b..0ec65be 100644 ---

[ovs-dev] [PATCH 1/2] rhel: Make python 2.7 a requirement of build.

2015-09-16 Thread Gurucharan Shetty
Reported-by: Dotslash Lu Signed-off-by: Gurucharan Shetty --- AUTHORS |1 + rhel/openvswitch.spec.in |2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index a7f40bb..95d2949 100644 ---

Re: [ovs-dev] [PATCH 2/2] rhel: Remove ovs-sim man page from spec.

2015-09-16 Thread Gurucharan Shetty
The above change is likely needed for xenserver too. I will send an updated patch. On Wed, Sep 16, 2015 at 9:30 AM, Gurucharan Shetty wrote: > Reported-by: Dotslash Lu > Signed-off-by: Gurucharan Shetty > --- >

Re: [ovs-dev] [PATCH 6/8] Add connection tracking label support.

2015-09-16 Thread Joe Stringer
On 11 September 2015 at 16:22, Jarno Rajahalme wrote: >> @@ -4177,6 +4181,32 @@ put_ct_mark(const struct flow *flow, struct flow >> *base_flow, >> } >> >> static void >> +put_ct_label(const struct flow *flow, struct flow *base_flow, >> + struct ofpbuf

Re: [ovs-dev] [PATCH 1/3] datapath: Add support for 4.1 kernel.

2015-09-16 Thread Jesse Gross
On Tue, Sep 15, 2015 at 11:09 AM, Pravin B Shelar wrote: > From: Joe Stringer > > Signed-off-by: Joe Stringer > Signed-off-by: Pravin B Shelar At a first glance, it looks like there are a few commits in

Re: [ovs-dev] [PATCH 6/8] Add connection tracking label support.

2015-09-16 Thread Jarno Rajahalme
> On Sep 16, 2015, at 1:42 PM, Joe Stringer wrote: > > On 11 September 2015 at 16:22, Jarno Rajahalme wrote: >>> @@ -4177,6 +4181,32 @@ put_ct_mark(const struct flow *flow, struct flow >>> *base_flow, >>> } >>> >>> static void >>>

[ovs-dev] [PATCH RFC] ofproto-dpif-upcall: do not pause on uninitialized pause barriers

2015-09-16 Thread Zoltan Kiss
e4e74c3a "dpif-netdev: Purge all ukeys when reconfigure pmd." introduced a new dp_purge_cb function, which calls udpif_pause_revalidators() and that tries to block on pause_barrier. But if OVS was started with flow-restore-wait="true" (e.g. through ovs-ctl), type_run() will have

Re: [ovs-dev] [PATCH RFC] ofproto-dpif-upcall: do not pause on uninitialized pause barriers

2015-09-16 Thread Joe Stringer
On 16 September 2015 at 13:32, Zoltan Kiss wrote: > e4e74c3a "dpif-netdev: Purge all ukeys when reconfigure pmd." introduced a new > dp_purge_cb function, which calls udpif_pause_revalidators() and that tries to > block on pause_barrier. > But if OVS was started with

Re: [ovs-dev] [PATCH 1/3] datapath: Add support for 4.1 kernel.

2015-09-16 Thread Jesse Gross
On Wed, Sep 16, 2015 at 2:43 PM, Jesse Gross wrote: > On Tue, Sep 15, 2015 at 11:09 AM, Pravin B Shelar wrote: >> From: Joe Stringer >> >> Signed-off-by: Joe Stringer >> Signed-off-by: Pravin B Shelar

Re: [ovs-dev] [PATCH 2/3] datapath: Add support for 4.2 kernel.

2015-09-16 Thread Jesse Gross
On Tue, Sep 15, 2015 at 11:09 AM, Pravin B Shelar wrote: > Signed-off-by: Pravin B Shelar What about this commit? openvswitch: allocate nr_node_ids flow_stats instead of num_possible_nodes > diff --git a/datapath/linux/compat/socket.c

Re: [ovs-dev] Integrate ovs+dpdk to openstack

2015-09-16 Thread Na Zhu
Hi Przemek, Thanks your reply. I read the code and find some missing, for example: 1, in file common/config.py, a new parameter of_interface is added "cfg.StrOpt('of_interface', default='ovsdpdk-ofctl'", but it is not used in other place. 2, in file agent/openflow/ovsdpdk_ofctl/main.py, it

Re: [ovs-dev] [PATCH 3/3] rhel: fix rpm build 'Installed (but unpackaged) file(s) found' error

2015-09-16 Thread Tashi Lu
Yes, `rpmbuild -bb rhel/openvswitch-kmod-rhel6.spec` was the command i used. May be it's related to the "KERNEL ABI COMPATIBILITY WARNING" before this error message? % rpmbuild -bb rhel/openvswitch-kmod-rhel6.spec . . .

Re: [ovs-dev] [PATCH] docs: Expand performance tuning section in INSTALL.DPDK.md.

2015-09-16 Thread Justin Pettit
> On Sep 16, 2015, at 9:06 AM, Daniele Di Proietto > wrote: > > Thanks for taking the time to write this up, it is really detailed! > > I think some of the information is more for developers than end users, > but I don't think this means it shouldn't be in

[ovs-dev] Hi

2015-09-16 Thread Mail Administrator
… S¡˜k]Pø

Re: [ovs-dev] [PATCH v2] rpms: Remove ovs-sim man page from spec.

2015-09-16 Thread Tashi Lu
Thanks Gurucharan, this patch works here. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] Delivery reports about your e-mail

2015-09-16 Thread Returned mail
Dear user of openvswitch.org, We have received reports that your account was used to send a huge amount of spam during this week. Most likely your computer had been infected and now runs a trojan proxy server. We recommend that you follow the instruction in order to keep your computer safe.

Re: [ovs-dev] ovsrec_open_vswitch

2015-09-16 Thread Justin Pettit
> On Sep 16, 2015, at 8:19 PM, 刘文学 wrote: > > Hi: > > I'm a newbie of ovs, I can find the defination of struct ovsrec_open_vswitch > in ovs, can anyone help me ? It's auto-generated at build-time. It's located in "lib/vswitch-idl.h". --Justin

[ovs-dev] [PATCH] vlog: deprecate --syslog-target argument

2015-09-16 Thread Ansis Atteka
Commit fe089c0d1e18 ("vlog: abstract out interface to syslog daemon") introduced --syslog-method flag that supersedes --syslog-target flag by: 1. making logging format configurable 2. letting daemon to also talk over UNIX domain socket (this is handy when local rsyslog daemon is running in

[ovs-dev] ovsrec_open_vswitch

2015-09-16 Thread 刘文学
Hi: I'm a newbie of ovs, I can find the defination of struct ovsrec_open_vswitch in ovs, can anyone help me ? Thanks for the quick response . Best Regards, Wenxue Liu ___ dev mailing list dev@openvswitch.org

Re: [ovs-dev] About the function odp_flow_key_to_flow__

2015-09-16 Thread Jarno Rajahalme
> On Sep 16, 2015, at 3:19 AM, openvswitcher wrote: > > Hi, all > > > Could anybody explain the difference in function odp_flow_key_to_flow__ for > if the is_mask flag is true or flase? When is_mask is true, the output is a flow mask, when false, the output is a

Re: [ovs-dev] [PATCH] ofproto-dpif-sflow: Use xzalloc() instead of calloc() to allocate memory.

2015-09-16 Thread Ben Pfaff
On Wed, Sep 16, 2015 at 12:18:51PM -0400, Russell Bryant wrote: > On 09/16/2015 11:35 AM, Ben Pfaff wrote: > > Memory allocation shouldn't be allowed to fail. > > > > CC: Neil McKee > > Reported-by: neeraj mehta > > Reported-at: > >

Re: [ovs-dev] [PATCH 2/2] AUTHORS: Add Ciara Loftus

2015-09-16 Thread Ben Pfaff
On Wed, Sep 16, 2015 at 05:16:13PM +0100, Ciara Loftus wrote: > Signed-off-by: Ciara Loftus Since you were already on the "bug reporters" list, I changed this to just move your name to the "direct contributors" list, and applied it.

Re: [ovs-dev] [PATCH 1/2] bugfix: Fix DPDK linking when using a relative path

2015-09-16 Thread Ben Pfaff
On Wed, Sep 16, 2015 at 05:16:12PM +0100, Ciara Loftus wrote: > When linking with DPDK, if a relative path is used with the > '--with-dpdk' flag, then OVS will always be compiled with vHost Cuse > support, even if it is not enabled in the DPDK build. > This patch fixes this problem, and enables

Re: [ovs-dev] Why the packet is not flooded to patch port

2015-09-16 Thread Ben Pfaff
That's correct. On Wed, Sep 16, 2015 at 09:18:01AM -0700, Han Zhou wrote: > In userspace, if the tables lookup of the first bridge results in an > action of output to a patch port, then it should lookup the bridge of > the peer port consequently. > The flow installed to datapath will be the final