[ovs-dev] Leave Out

2017-09-14 Thread xiang siwei
___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH v2 1/8] dpif-netdev: associate flow with a mark id

2017-09-14 Thread Darrell Ball
On 9/11/17, 1:04 AM, "ovs-dev-boun...@openvswitch.org on behalf of Yuanhan Liu" wrote: On Sun, Sep 10, 2017 at 04:14:01PM +, Chandran, Sugesh wrote: > > This patch associate a flow with a mark id (a uint32_t

Re: [ovs-dev] [PATCH v2 1/8] dpif-netdev: associate flow with a mark id

2017-09-14 Thread Darrell Ball
On 9/5/17, 2:23 AM, "Yuanhan Liu" wrote: This patch associate a flow with a mark id (a uint32_t number) by CMAP. It re-uses the flow API (more precisely, the ->flow_put method) to setup the hw flow. The flow_put implementation then is supposed to create a

[ovs-dev] Job Offer In USA

2017-09-14 Thread Valero Energy Recruitment
Valero Energy Oil & Gas Company USA Employment Opportunity in Texas, USA. Oil & Gas Sector ( NEW PLANT RIG ) Salary Range $7,000 USD - $11,700 Per Month Kindly send your CV/RESUME for more details regarding our Job Program, Employment offers for all Offices. CC: Forward All

Re: [ovs-dev] [PATCH 1/2] ovn-controller: Avoid recomputing when there are in-flight msgs.

2017-09-14 Thread Russell Bryant
On Thu, Sep 14, 2017 at 3:45 PM, Ben Pfaff wrote: > On Thu, Sep 14, 2017 at 03:06:46PM -0400, Russell Bryant wrote: >> On Mon, May 1, 2017 at 5:42 PM, Ben Pfaff wrote: >> > On Fri, Apr 21, 2017 at 06:55:27PM -0700, Han Zhou wrote: >> >> When there are in-flight msgs

Re: [ovs-dev] [RFC] Question about ovn-controller performance

2017-09-14 Thread Han Zhou
It seems one of my replies didn't went through the mailinglist because of "format" issue. On Thu, Sep 14, 2017 at 1:08 PM, Miguel Angel Ajo Pelayo < majop...@redhat.com> wrote: > >> b. Disable ovsdb probe. Any input would trigger a full recomputing of >> flows. OVN-SB probe is configurable by

Re: [ovs-dev] [RFC] Question about ovn-controller performance

2017-09-14 Thread Ben Pfaff
On Thu, Sep 14, 2017 at 03:10:42PM -0600, Miguel Angel Ajo Pelayo wrote: > On Thu, Sep 14, 2017 at 2:58 PM, Ben Pfaff wrote: > > > On Thu, Sep 14, 2017 at 02:52:48PM -0600, Miguel Angel Ajo Pelayo wrote: > > > Although I see we have code for somehow packing stuff into conjunctions:

Re: [ovs-dev] [RFC] Question about ovn-controller performance

2017-09-14 Thread Miguel Angel Ajo Pelayo
On Thu, Sep 14, 2017 at 2:58 PM, Ben Pfaff wrote: > On Thu, Sep 14, 2017 at 02:52:48PM -0600, Miguel Angel Ajo Pelayo wrote: > > Although I see we have code for somehow packing stuff into conjunctions: > > > > https://github.com/openvswitch/ovs/blob/1ea2184501d43352ec40764f5eaa3c >

Re: [ovs-dev] [PATCH 1/2] ovn-controller: Avoid recomputing when there are in-flight msgs.

2017-09-14 Thread Ben Pfaff
On Thu, Sep 14, 2017 at 03:06:46PM -0400, Russell Bryant wrote: > On Mon, May 1, 2017 at 5:42 PM, Ben Pfaff wrote: > > On Fri, Apr 21, 2017 at 06:55:27PM -0700, Han Zhou wrote: > >> When there are in-flight msgs being sent to OVS, ofctrl_put will > >> skip, which makes all the flows

Re: [ovs-dev] [v2] bridge: Fix controller status update to passive connections

2017-09-14 Thread Andy Zhou
On Wed, Sep 13, 2017 at 8:30 PM, Joe Stringer wrote: > On 13 September 2017 at 13:05, Andy Zhou wrote: >> The bug can cause ovs-vswitchd to crash (due to assert) when it is >> set up with a passive controller connection. Since only active >> connections are kept, the

Re: [ovs-dev] [PATCH v2 6/8] netdev-dpdk: retry with queue action

2017-09-14 Thread Darrell Ball
On 9/14/17, 1:14 AM, "Finn Christensen" wrote: -Original Message- From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev-boun...@openvswitch.org] On Behalf Of Darrell Ball Sent: 13. september 2017 18:18 To: Simon

Re: [ovs-dev] [RFC] Question about ovn-controller performance

2017-09-14 Thread Han Zhou
Hi folks, I'd like to discuss my thoughts, too. To simplify the discussion, let's just use the Neutron sec-group use case as the context. If there are P ports in same group and there are R rules in the sec-group (by default there are 2 such ingress (OVN to-lport) rules in the neutron default

Re: [ovs-dev] [PATCH v2 2/8] dpif-netdev: retrieve flow directly from the flow mark

2017-09-14 Thread Darrell Ball
On 9/13/17, 7:50 PM, "Yuanhan Liu" wrote: On Wed, Sep 13, 2017 at 05:20:58AM +, Darrell Ball wrote: > > > On 9/5/17, 2:23 AM, "Yuanhan Liu" wrote: > > So that we could skip the heavy emc processing, notably, the

Re: [ovs-dev] [PATCH 1/2] ovn-controller: Avoid recomputing when there are in-flight msgs.

2017-09-14 Thread Russell Bryant
On Mon, May 1, 2017 at 5:42 PM, Ben Pfaff wrote: > On Fri, Apr 21, 2017 at 06:55:27PM -0700, Han Zhou wrote: >> When there are in-flight msgs being sent to OVS, ofctrl_put will >> skip, which makes all the flows computed in that main loop >> iteration useless. To avoid the wasted

Re: [ovs-dev] [RFC] Question about ovn-controller performance

2017-09-14 Thread Miguel Angel Ajo Pelayo
I will prepare a summary with what I found and post it on this thread. On Thu, Sep 14, 2017 at 12:28 PM, Ben Pfaff wrote: > On Thu, Sep 14, 2017 at 10:39:28AM +0800, wang.qia...@zte.com.cn wrote: > > I configure 5 networks, every network have about 80 ports, the total > ports > >

Re: [ovs-dev] [RFC] Question about ovn-controller performance

2017-09-14 Thread Ben Pfaff
On Thu, Sep 14, 2017 at 10:39:28AM +0800, wang.qia...@zte.com.cn wrote: > I configure 5 networks, every network have about 80 ports, the total ports > is 400, all in same security group. > > When I bind some port on HVs, the ovn-controller is always running with > 100% cpu, and the total

Re: [ovs-dev] [PATCH v2 8/8] netdev-dpdk: set FDIR config

2017-09-14 Thread Darrell Ball
On 9/14/17, 10:36 AM, "Chandran, Sugesh" wrote: Regards _Sugesh > -Original Message- > From: Yuanhan Liu [mailto:y...@fridaylinux.org] > Sent: Thursday, September 14, 2017 4:19 AM > To: Darrell Ball

Re: [ovs-dev] [PATCH v2 8/8] netdev-dpdk: set FDIR config

2017-09-14 Thread Chandran, Sugesh
Regards _Sugesh > -Original Message- > From: Yuanhan Liu [mailto:y...@fridaylinux.org] > Sent: Thursday, September 14, 2017 4:19 AM > To: Darrell Ball > Cc: Finn Christensen ; Chandran, Sugesh > ; d...@openvswitch.org >

Re: [ovs-dev] How to define a feature macro in OVS

2017-09-14 Thread Ben Pfaff
On Thu, Sep 14, 2017 at 11:08:52AM +, 王志克 wrote: > I want to submit one feature, which by default should be disabled. I > plan to define one compiling macro, but I do not know how. > > Can someone guide me how to add such macro in OVS? Thanks. We prefer to avoid adding features that need to

Re: [ovs-dev] does ovs bfd support flow based tunnel?

2017-09-14 Thread Miguel Angel Ajo Pelayo
What do you mean by flow-based tunnel? We're using it internally to provide HA connectivity to Gateway_Chassis on OVN, and it's working as a charm to monitor tunnel endpoints on OVS bridges. https://github.com/openvswitch/ovs/blob/master/ovn/controller/bfd.c On Tue, Sep 12, 2017 at 9:19 PM,

Re: [ovs-dev] 答复: [RFC] Question about ovn-controller performance

2017-09-14 Thread Miguel Angel Ajo Pelayo
I'm looking at the issue as it was recently detected in our scale lab. Also you may find that ovn-controller is using a lot of memory. Long ago the plan was to use conjunctions [1] to avoid the cartesian product resulting of openstack remote_group_id based rules where you reference all remote IPs

Re: [ovs-dev] 答复: [RFC] Question about ovn-controller performance

2017-09-14 Thread Numan Siddique
On Thu, Sep 14, 2017 at 4:16 PM, wrote: > Hi everyone, > > Whether we could add a port property to logical flow? port property have > value of "normal" or logical port name. If the port property is "normal" > means this logical flow should be allocated to all HVs, if port

[ovs-dev] 答复: [RFC] Question about ovn-controller performance

2017-09-14 Thread wang . qianyu
Hi everyone, Whether we could add a port property to logical flow? port property have value of "normal" or logical port name. If the port property is "normal" means this logical flow should be allocated to all HVs, if port property is a name of logical_port, means this logical flow is related

[ovs-dev] How to define a feature macro in OVS

2017-09-14 Thread 王志克
Hi All, I want to submit one feature, which by default should be disabled. I plan to define one compiling macro, but I do not know how. Can someone guide me how to add such macro in OVS? Thanks. Br, Wang Zhike ___ dev mailing list

Re: [ovs-dev] [PATCH net-next v9] openvswitch: enable NSH support

2017-09-14 Thread Jiri Benc
On Thu, 14 Sep 2017 16:37:59 +0800, Yi Yang wrote: > OVS master and 2.8 branch has merged NSH userspace > patch series, this patch is to enable NSH support > in kernel data path in order that OVS can support > NSH in compat mode by porting this. http://vger.kernel.org/~davem/net-next.html

[ovs-dev] [PATCH net-next v9] openvswitch: enable NSH support

2017-09-14 Thread Yi Yang
v8->v9 - Fix build error reported by daily intel build because nsh module isn't selected by openvswitch v7->v8 - Rework nested value and mask for OVS_KEY_ATTR_NSH - Change pop_nsh to adapt to nsh kernel module - Fix many issues per comments from Jiri Benc v6->v7 - Remove NSH GSO patches

Re: [ovs-dev] [PATCH v2 4/8] netdev-dpdk: implement flow put with rte flow

2017-09-14 Thread Simon Horman
On Thu, Sep 14, 2017 at 10:35:10AM +0800, Yuanhan Liu wrote: > On Wed, Sep 13, 2017 at 11:45:30AM +0200, Simon Horman wrote: > > > > > +rte_memcpy(_spec.dst, >flow.dl_dst, > > > sizeof(eth_spec.dst)); > > > > > +rte_memcpy(_spec.src, >flow.dl_src, > > >

Re: [ovs-dev] [PATCH v2 6/8] netdev-dpdk: retry with queue action

2017-09-14 Thread Finn Christensen
-Original Message- From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev-boun...@openvswitch.org] On Behalf Of Darrell Ball Sent: 13. september 2017 18:18 To: Simon Horman Cc: d...@openvswitch.org Subject: Re: [ovs-dev] [PATCH v2 6/8] netdev-dpdk: retry with