Re: [ovs-dev] [PATCH v4] dpif-netdev: proper tx queue id

2015-09-09 Thread Ilya Maximets
Ping. On 02.09.2015 14:44, Ilya Maximets wrote: > Currently tx_qid is equal to pmd->core_id. This leads to unexpected > behavior if pmd-cpu-mask different from '/(0*)(1|3|7)?(f*)/', > e.g. if core_ids are not sequential, or doesn't start from 0, or both. > > Example: > starting 2 pmd thread

Re: [ovs-dev] [PATCH v8] ofproto: Implement OF1.4 Group & Meter change notification messages

2015-09-09 Thread niti Rohilla
Hi Ben, Thanks for the review. Yes, I find this approach better where data is decoded only once. I have a doubt regarding the following structure: struct ofputil_requestforward { ovs_be32 xid; enum ofp14_requestforward_reason reason; union { /* reason == OFPRFR_METER_MOD. */

[ovs-dev] Returned mail: Data format error

2015-09-09 Thread Returned mail
Your message was not delivered due to the following reason: Your message was not delivered because the destination server was unreachable within the allowed queue period. The amount of time a message is queued before it is returned depends on local configura- tion parameters. Most likely there is

[ovs-dev] 您还在为没有询盘 没有客户资源苦恼吗? 有双喜 什么烦恼都没有

2015-09-09 Thread wbgmwll35746
外贸主动营销您可以用双喜软件 我司软件有以下特点。 1)操作简单,普通业务员经过简单培训即可上手操作。 2)数据更新快,客户数据来源与取之不尽的全球互联网。 3)一对一询盘,可搜索任意区域国家潜在客户,收到客户采购意向询盘都是一对 一询盘。 4)客户忠诚度高,可以避开中间商直接开发终端客户,客户稳定,利润高。 详情请通过QQ联系。 252908,0473(可用贵司产品 在线演示软件功能及效果) 广州智尔信息科技有限公司旗下产品--双喜外贸客户搜索与开发系统 顺祝 商祺! 我已邀请您填写表单 如有打扰 请设置屏蔽,抱歉。^-^。 要填写此表单,请访 问: ht

Re: [ovs-dev] Megaflows Question

2015-09-09 Thread openvswitcher
> >If the OpenFlow table changes, the kernel flow cache has to be >reexamined and sometimes updated. You mean the revalidate thread ? I read the source and I thought the thread would only delete the flow in kernel when the timeout. So I don't think the kernel flow will be updated if I add the ru

Re: [ovs-dev] Megaflows Question

2015-09-09 Thread openvswitcher
And another problem is: in the situation '0.0.0.0/2.0.0.0' is used, if I add another flow 'nw_dst=9(bit=1001).8.8.8 action output:200' then the actions will be not same with 'nw_dst=8.8.8.8' but the flow installed in kernel will make the packet of which the ip destination is 9.8.8.8 not be

Re: [ovs-dev] [PATCH 0/8] Add support for connection tracking.

2015-09-09 Thread Joe Stringer
On 9 September 2015 at 19:00, Joe Stringer wrote: > > This series is also available as a pull request, here: > https://github.com/openvswitch/ovs/pull/66 My mail client ate patches 4 and 6, due to this one line that's over 1000 characters long. (In the test suite). Suggest using this git branch

[ovs-dev] [PATCH 5/8] lib: Introduce ovs_u128_is_zero().

2015-09-09 Thread Joe Stringer
From: Daniele Di Proietto is_all_zeros() is quite slow for u128 initialization because: - It is not inlined - It checks byte by byte This commit introduces a new function to perform this function, which improves performance in the DPDK packet processing path for upcoming commits that regularly c

[ovs-dev] [PATCH 7/8] Add support for connection tracking helper/ALGs.

2015-09-09 Thread Joe Stringer
This patch adds support for specifying a "helper" or ALG to assist connection tracking for protocols that consist of multiple streams. Initially, only support for FTP is included. Below is an example set of flows to allow FTP control connections from port 1->2 to establish active data connections

[ovs-dev] [PATCH 8/8] dpif-netlink: Allow MRU packet attribute.

2015-09-09 Thread Joe Stringer
From: Andy Zhou User space now may receive re-assembled IP fragments. The user space netlink handler can now accept packets with the new OVS_PACKET_ATTR_MRU attribute. This allows the kernel to assemble fragmented packets for the duration of OpenFlow processing, then re-fragment at output time. M

[ovs-dev] [PATCH 3/8] Add support for connection tracking.

2015-09-09 Thread Joe Stringer
This patch adds a new action and fields to OVS that allow connection tracking to be performed. This support works in conjunction with the Linux kernel support merged into the Linux-4.3 development cycle. The new 'ct' action sends this flow through the connection tracker, which accepts the followin

[ovs-dev] [PATCH 1/8] ofproto-dpif-xlate: Introduce xlate_commit_actions().

2015-09-09 Thread Joe Stringer
This combines a common set of operations into a single command. Signed-off-by: Joe Stringer --- ofproto/ofproto-dpif-xlate.c | 42 -- 1 file changed, 16 insertions(+), 26 deletions(-) diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.

[ovs-dev] [PATCH 0/8] Add support for connection tracking.

2015-09-09 Thread Joe Stringer
This series adds support for sending packets through a connection tracker, which allows OVS to perform stateful firewalling functions. The functionality added in this series works in conjunction with the interface that is available in the latest upstream Linux kernel development releases that will

[ovs-dev] [PATCH 2/8] ofp-actions: Allow special handling for nested actions.

2015-09-09 Thread Joe Stringer
The next patch will introduce nested actions with special restrictions. Refactor the action verification to allow ofpacts_verify() to identify nesting so that these retrictions may be applied. Signed-off-by: Joe Stringer --- lib/ofp-actions.c | 104 +++---

Re: [ovs-dev] [v2] proposed OVN port security specification (was: Re: Allowed Address Pairs - OVN)

2015-09-09 Thread Ben Pfaff
On Wed, Sep 09, 2015 at 06:23:13PM -0700, Justin Pettit wrote: > > On Jul 2, 2015, at 5:39 PM, Ben Pfaff wrote: > Sorry. I hadn't realized this was waiting for feedback. Honestly I figured the next step was to produce a patch rather than a document. > > This column is provided as a

Re: [ovs-dev] [v2] proposed OVN port security specification (was: Re: Allowed Address Pairs - OVN)

2015-09-09 Thread Justin Pettit
> On Jul 2, 2015, at 5:39 PM, Ben Pfaff wrote: Sorry. I hadn't realized this was waiting for feedback. > This column is provided as a convenience to cloud management > systems, but all of the features that it implements can be > implemented as A

Re: [ovs-dev] How ovs dpdk tunnel works

2015-09-09 Thread Jesse Gross
On Wed, Sep 9, 2015 at 6:05 PM, Na Zhu wrote: > Hi Jesse, > > Thanks your reply. > Is the user space vxlan module copy from the linux kernel vxlan module? It's not a copy. > The tunnel usage is the same to me if I upgrade ovs 2.3 to ovs 2.4, right? Considering that DPDK tunneling is new in OVS

Re: [ovs-dev] How ovs dpdk tunnel works

2015-09-09 Thread Na Zhu
Hi Jesse, Thanks your reply. Is the user space vxlan module copy from the linux kernel vxlan module? The tunnel usage is the same to me if I upgrade ovs 2.3 to ovs 2.4, right? 2015-09-10 1:56 GMT+08:00 Jesse Gross : > On Wed, Sep 9, 2015 at 4:20 AM, Na Zhu wrote: > > Hi, > > > > The OVS 2.4 cl

Re: [ovs-dev] [PATCH v2 02/14] tests: Replace ON_EXIT m4 macro by on_exit() shell function.

2015-09-09 Thread Joe Stringer
On 9 September 2015 at 15:38, Ben Pfaff wrote: > On Wed, Sep 09, 2015 at 03:36:56PM -0700, Joe Stringer wrote: >> On 2 September 2015 at 16:43, Ben Pfaff wrote: >> > dnl set up sFlow logging >> > -dnl ON_EXIT([kill `cat test-sflow.pid`]) >> > AT_CHECK([ovstest test-sflow --log-file --detach --n

Re: [ovs-dev] [PATCH v2 02/14] tests: Replace ON_EXIT m4 macro by on_exit() shell function.

2015-09-09 Thread Ben Pfaff
On Wed, Sep 09, 2015 at 03:36:56PM -0700, Joe Stringer wrote: > On 2 September 2015 at 16:43, Ben Pfaff wrote: > > dnl set up sFlow logging > > -dnl ON_EXIT([kill `cat test-sflow.pid`]) > > AT_CHECK([ovstest test-sflow --log-file --detach --no-chdir --pidfile > > 0:127.0.0.1 > sflow.log], [0],

Re: [ovs-dev] [PATCH v2 02/14] tests: Replace ON_EXIT m4 macro by on_exit() shell function.

2015-09-09 Thread Joe Stringer
On 2 September 2015 at 16:43, Ben Pfaff wrote: > dnl set up sFlow logging > -dnl ON_EXIT([kill `cat test-sflow.pid`]) > AT_CHECK([ovstest test-sflow --log-file --detach --no-chdir --pidfile > 0:127.0.0.1 > sflow.log], [0], [], [ignore]) > AT_CAPTURE_FILE([sflow.log]) > SFLOW_PORT=`parse_liste

Re: [ovs-dev] [PATCH v2] ofctl: This patch add support for setting the first egress table for egress processing.

2015-09-09 Thread Ben Pfaff
On Wed, Sep 09, 2015 at 02:07:42PM +0530, niti1...@gmail.com wrote: > From: Niti Rohilla > > "ovs-ofctl set-first-egress-table " can be used to set > first egress > table. > This patch enhances TABLE_FEATURES_REQUEST message to set the first egress > table and > TABLE_FEATURES_REPLY to identif

Re: [ovs-dev] [PATCH v8] ofproto: Implement OF1.4 Group & Meter change notification messages

2015-09-09 Thread Ben Pfaff
On Wed, Sep 09, 2015 at 05:33:42PM +0530, niti1...@gmail.com wrote: > From: Niti Rohilla > > This patch adds support for Openflow1.4 Group & meter change notification > messages. In a multi controller environment, when a controller modifies the > state of group and meter table, the request that s

Re: [ovs-dev] [PATCH v2] dpif-netdev: Check for PKT_RX_RSS_HASH flag.

2015-09-09 Thread Pravin Shelar
On Wed, Sep 9, 2015 at 8:45 AM, Daniele Di Proietto wrote: > DPDK mbufs contain a valid RSS hash only if PKT_RX_RSS_HASH is > set in 'ol_flags'. Otherwise the hash is garbage and doesn't > relate to the packet. > > This fixes an issue with vhost, which, being a virtual NIC, doesn't > compute the

Re: [ovs-dev] How ovs dpdk tunnel works

2015-09-09 Thread Jesse Gross
On Wed, Sep 9, 2015 at 4:20 AM, Na Zhu wrote: > Hi, > > The OVS 2.4 claims it supports DPDK tunneling, I am confused about how it > support, because native OVS vxlan depends on linux kernel vxlan module, but > OVS dpdk runs on user space, does OVS 2.4 include a user space vxlan module? Yes. > I

Re: [ovs-dev] [PATCH v2] dpif-netdev: Check for PKT_RX_RSS_HASH flag.

2015-09-09 Thread Traynor, Kevin
> -Original Message- > From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Daniele Di > Proietto > Sent: Wednesday, September 9, 2015 4:46 PM > To: dev@openvswitch.org > Subject: [ovs-dev] [PATCH v2] dpif-netdev: Check for PKT_RX_RSS_HASH flag. > > DPDK mbufs contain a valid RSS h

Re: [ovs-dev] [PATCH v2 04/14] tnl-arp-cache: Add a command to add or modify an ARP cache entry.

2015-09-09 Thread Ben Pfaff
Thanks Andy, applied to master. On Wed, Sep 09, 2015 at 10:29:56AM -0700, Andy Zhou wrote: > Acked-by: Andy Zhou > > On Wed, Sep 2, 2015 at 4:44 PM, Ben Pfaff wrote: > > This allows the ARP cache to be prepopulated for testing purposes, so > > that tests don't lose the first packet to each dest

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

2015-09-09 Thread Joe Stringer
On 9 September 2015 at 10:31, Pravin Shelar wrote: > On Wed, Sep 9, 2015 at 9:51 AM, Joe Stringer wrote: >> On 9 September 2015 at 09:48, Pravin Shelar wrote: >>> Are you planning on sending updated version of this patch? >> >> I'm too busy to do it any time soon. > > ok, I will incorporate it a

Re: [ovs-dev] [PATCH] CONTRIBUTING: New "Tested-at" tag.

2015-09-09 Thread Ben Pfaff
Thanks, applied to master. On Wed, Sep 09, 2015 at 10:32:54AM -0700, Justin Pettit wrote: > Acked-by: Justin Pettit > > --Justin > > > > On Sep 9, 2015, at 10:19 AM, Ben Pfaff wrote: > > > > This seems somewhat useful. > > > > Signed-off-by: Ben Pfaff > > --- > > CONTRIBUTING.md | 11 +

Re: [ovs-dev] [PATCH] CONTRIBUTING: New "Tested-at" tag.

2015-09-09 Thread Justin Pettit
Acked-by: Justin Pettit --Justin > On Sep 9, 2015, at 10:19 AM, Ben Pfaff wrote: > > This seems somewhat useful. > > Signed-off-by: Ben Pfaff > --- > CONTRIBUTING.md | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md > index d48924f..12cb

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

2015-09-09 Thread Pravin Shelar
On Wed, Sep 9, 2015 at 9:51 AM, Joe Stringer wrote: > On 9 September 2015 at 09:48, Pravin Shelar wrote: >> Are you planning on sending updated version of this patch? > > I'm too busy to do it any time soon. ok, I will incorporate it as part of vport-netdev backport.

Re: [ovs-dev] [PATCH v2 04/14] tnl-arp-cache: Add a command to add or modify an ARP cache entry.

2015-09-09 Thread Andy Zhou
Acked-by: Andy Zhou On Wed, Sep 2, 2015 at 4:44 PM, Ben Pfaff wrote: > This allows the ARP cache to be prepopulated for testing purposes, so > that tests don't lose the first packet to each destination. (I guess > this feature could have other uses too.) > > Signed-off-by: Ben Pfaff > --- > l

Re: [ovs-dev] [PATCH v2 03/14] pcap-file: Flush packets to operating system immediately.

2015-09-09 Thread Ben Pfaff
Thanks Andy, applied to master. On Tue, Sep 08, 2015 at 05:19:32PM -0700, Andy Zhou wrote: > Acked-by: Andy Zhou > > On Wed, Sep 2, 2015 at 4:44 PM, Ben Pfaff wrote: > > This makes the pcap files written by netdev-dummy up-to-date even if one > > kills the process with a signal. This could be

Re: [ovs-dev] [PATCH v2 02/14] tests: Replace ON_EXIT m4 macro by on_exit() shell function.

2015-09-09 Thread Ben Pfaff
Thanks Andy, applied to master. On Tue, Sep 08, 2015 at 05:14:24PM -0700, Andy Zhou wrote: > Acked-by: Andy Zhou > > On Wed, Sep 2, 2015 at 4:43 PM, Ben Pfaff wrote: > > A shell function doesn't need quoted and unquoted variants and it > > integrates naturally with other shell code. > > > > Sig

Re: [ovs-dev] Megaflows Question

2015-09-09 Thread Jarno Rajahalme
> On Sep 8, 2015, at 11:34 PM, openvswitcher wrote: > > Thank you very much. > > >The OpenFlow flows in question are 10.0.0.0/24, which matches: > >1010... > >and 10.0.0.1/32, which matches: > >1010...0001 > >The packet matched

Re: [ovs-dev] [PATCH v2 01/14] tests: Automatically initialize OVS_*DIR vars when tests begin.

2015-09-09 Thread Ben Pfaff
Thanks Andy, I applied this to master. On Tue, Sep 08, 2015 at 04:50:03PM -0700, Andy Zhou wrote: > Nice! > > Acked-by: Andy Zhou > > On Wed, Sep 2, 2015 at 4:43 PM, Ben Pfaff wrote: > > A lot of tests need to initialize the OVS_RUNDIR, OVS_LOGDIR, etc. > > variables to point to the directory

[ovs-dev] [PATCH] CONTRIBUTING: New "Tested-at" tag.

2015-09-09 Thread Ben Pfaff
This seems somewhat useful. Signed-off-by: Ben Pfaff --- CONTRIBUTING.md | 11 +++ 1 file changed, 11 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d48924f..12cb7dc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -157,6 +157,17 @@ Examples of common tags follo

Re: [ovs-dev] [PATCH] rhel: s/OVN_DB/OVS_DB/ in ovn-controller unit.

2015-09-09 Thread Flavio Leitner
On Wed, Sep 09, 2015 at 08:43:35AM -0700, Ben Pfaff wrote: > On Wed, Sep 09, 2015 at 11:39:55AM -0400, Flavio Leitner wrote: > > On Wed, Sep 09, 2015 at 08:37:14AM -0400, Russell Bryant wrote: > > > I added a variable called OVN_DB, but had mixed up what this parameter > > > to ovn-controller was f

Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Lower missing netdev_max_backlog from WARN to INFO.

2015-09-09 Thread Ben Pfaff
and branch-2.4. On Wed, Sep 09, 2015 at 10:13:01AM -0700, Ben Pfaff wrote: > Thanks, applied to master. > > On Tue, Sep 08, 2015 at 06:22:31PM -0700, Jarno Rajahalme wrote: > > Acked-by: Jarno Rajahalme > > > > > On Sep 8, 2015, at 4:31 PM, Ben Pfaff wrote: > > > > > > In a network namespace,

Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Lower missing netdev_max_backlog from WARN to INFO.

2015-09-09 Thread Ben Pfaff
Thanks, applied to master. On Tue, Sep 08, 2015 at 06:22:31PM -0700, Jarno Rajahalme wrote: > Acked-by: Jarno Rajahalme > > > On Sep 8, 2015, at 4:31 PM, Ben Pfaff wrote: > > > > In a network namespace, /proc/sys/net/core/netdev_max_backlog is not > > present, so people running OVS inside Dock

Re: [ovs-dev] OVN: RFC add a new JSON-RPC selective monitoring method

2015-09-09 Thread Andy Zhou
On Wed, Sep 9, 2015 at 3:24 AM, Liran Schour wrote: > Andy Zhou wrote on 08/09/2015 10:42:26 PM: > >> From: Andy Zhou >> To: Liran Schour/Haifa/IBM@IBMIL >> Cc: Ben Pfaff , dev >> Date: 08/09/2015 10:42 PM >> Subject: Re: [ovs-dev] OVN: RFC add a new JSON-RPC selective monitoring >> method >> >

Re: [ovs-dev] [PATCH] travis: Fix build with --enable-shared and DPDK 2.1.

2015-09-09 Thread Daniele Di Proietto
On 09/09/2015 17:56, "Ben Pfaff" wrote: >On Wed, Sep 09, 2015 at 05:44:04PM +0100, Daniele Di Proietto wrote: >> When building OVS with --enable-shared, -fPIC should be used in DPDK >> CFLAGS. We used to add a custom option for this (CONFIG_RTE_BUILD_FPIC) >> to the DPDK configuration, right a

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

2015-09-09 Thread Kevin Traynor
Split performance tuning into dedicated section and add more detail. Signed-off-by: Kevin Traynor --- INSTALL.DPDK.md | 241 ++- 1 files changed, 202 insertions(+), 39 deletions(-) diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md index 35dd9a0.

Re: [ovs-dev] [PATCH 1/3] ofp-parse: Separate fields properly.

2015-09-09 Thread Jesse Gross
On Tue, Sep 8, 2015 at 1:48 PM, Ben Pfaff wrote: > On Mon, Aug 31, 2015 at 07:57:04PM -0700, Jesse Gross wrote: >> Currently, each token in an OpenFlow match field is treated separately - >> whether this is a name, a value, or a single identifier. However, this >> means that attempting to get a va

Re: [ovs-dev] [PATCH] travis: Fix build with --enable-shared and DPDK 2.1.

2015-09-09 Thread Ben Pfaff
On Wed, Sep 09, 2015 at 05:44:04PM +0100, Daniele Di Proietto wrote: > When building OVS with --enable-shared, -fPIC should be used in DPDK > CFLAGS. We used to add a custom option for this (CONFIG_RTE_BUILD_FPIC) > to the DPDK configuration, right after CONFIG_RTE_LIBNAME. > > Since CONFIG_RTE_L

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

2015-09-09 Thread Joe Stringer
On 9 September 2015 at 09:48, Pravin Shelar wrote: > Are you planning on sending updated version of this patch? I'm too busy to do it any time soon. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH 2/3] ofp-parse: Allow ofctl flow monitor filtering on field existence.

2015-09-09 Thread Jesse Gross
On Tue, Sep 8, 2015 at 1:54 PM, Ben Pfaff wrote: > On Mon, Aug 31, 2015 at 07:57:05PM -0700, Jesse Gross wrote: >> It is supposed to be possible to allow ovs-ofctl to filter flows >> it is monitoring based on a match string. However, the parser will >> reject expressions that match only on a field

Re: [ovs-dev] [PATCH 3/3] tun-metadata: Provide error messages during auto-allocation.

2015-09-09 Thread Jesse Gross
On Tue, Sep 8, 2015 at 2:11 PM, Ben Pfaff wrote: > On Mon, Aug 31, 2015 at 07:57:06PM -0700, Jesse Gross wrote: >> In cases where we don't have a map of tunnel metadata options (such >> as with ovs-ofctl) we dynamically allocate them as part of the match. >> However, dynamic allocation brings the

Re: [ovs-dev] travis build failures--dpdk 2.1

2015-09-09 Thread Ben Pfaff
On Wed, Sep 09, 2015 at 04:48:12PM +, Daniele Di Proietto wrote: > > > On 09/09/2015 17:38, "Ben Pfaff" wrote: > > >We're starting to get build failures in travis starting from "dpdk: add > >support for v2.1.0", see > >https://urldefense.proofpoint.com/v2/url?u=https-3A__travis-2Dci.org_ope

Re: [ovs-dev] travis build failures--dpdk 2.1

2015-09-09 Thread Daniele Di Proietto
On 09/09/2015 17:38, "Ben Pfaff" wrote: >We're starting to get build failures in travis starting from "dpdk: add >support for v2.1.0", see >https://urldefense.proofpoint.com/v2/url?u=https-3A__travis-2Dci.org_openv >switch_ovs_builds_79313522-3A&d=BQIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-Yih >VMN

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

2015-09-09 Thread Pravin Shelar
Are you planning on sending updated version of this patch? ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] [PATCH] travis: Fix build with --enable-shared and DPDK 2.1.

2015-09-09 Thread Daniele Di Proietto
When building OVS with --enable-shared, -fPIC should be used in DPDK CFLAGS. We used to add a custom option for this (CONFIG_RTE_BUILD_FPIC) to the DPDK configuration, right after CONFIG_RTE_LIBNAME. Since CONFIG_RTE_LIBNAME has been removed, it seems simpler to add our custom option at the end o

[ovs-dev] travis build failures--dpdk 2.1

2015-09-09 Thread Ben Pfaff
We're starting to get build failures in travis starting from "dpdk: add support for v2.1.0", see https://travis-ci.org/openvswitch/ovs/builds/79313522: /usr/bin/ld: ./dpdk-2.1.0/build/lib/libdpdk.a(eal_common_errno.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when makin

Re: [ovs-dev] [PATCH 0/4] ovn: Schema modification for DPDK/userspace tunneling support in OVN-Openstack integration.

2015-09-09 Thread Chandran, Sugesh
Hi Ben, Thank you for your reply! After looking into the current devstack-OVN configuration , now it make sense to me that the bridge(br-phy) configuration is not supposed to be taken care by OVN. Regards _Sugesh -Original Message- From: Ben Pfaff [mailto:b...@nicira.com] Sent: Tuesda

Re: [ovs-dev] [PATCH] netdev-dpdk: Add some missing statistics.

2015-09-09 Thread Flavio Leitner
On Wed, Sep 09, 2015 at 08:41:06AM -0700, Ben Pfaff wrote: > On Wed, Sep 09, 2015 at 02:49:40PM +, Puha, TimoX wrote: > > Hi, > > > > > From: Flavio Leitner [mailto:f...@sysclose.org] > > > Sent: Friday, August 14, 2015 4:15 PM > > > > > On Wed, Jul 01, 2015 at 11:49:12AM +0100, Timo Puha wro

Re: [ovs-dev] [PATCH 2/3] lib: Add --user for daemon

2015-09-09 Thread Ben Pfaff
On Wed, Sep 09, 2015 at 12:06:56AM -0700, Andy Zhou wrote: > On Tue, Sep 8, 2015 at 5:29 PM, Ben Pfaff wrote: > > On Thu, Sep 03, 2015 at 04:33:42PM -0700, Andy Zhou wrote: > >> Allow daemon running as root to accept --user option, that accepts > >> "user:group" string as input. Performs sanity ch

Re: [ovs-dev] [PATCH] dpif-netdev: Check for PKT_RX_RSS_HASH flag.

2015-09-09 Thread Daniele Di Proietto
On 08/09/2015 18:12, "Traynor, Kevin" wrote: > > >> -Original Message- > >> From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Daniele Di > >> Proietto > >> Sent: Tuesday, June 16, 2015 7:39 PM > >> To: dev@openvswitch.org > >> Subject: [ovs-dev] [PATCH] dpif-netdev: Check for

[ovs-dev] [PATCH v2] dpif-netdev: Check for PKT_RX_RSS_HASH flag.

2015-09-09 Thread Daniele Di Proietto
DPDK mbufs contain a valid RSS hash only if PKT_RX_RSS_HASH is set in 'ol_flags'. Otherwise the hash is garbage and doesn't relate to the packet. This fixes an issue with vhost, which, being a virtual NIC, doesn't compute the hash. Reported-by: Dongjun Suggested-by: Flavio Leitner Signed-off-b

Re: [ovs-dev] Megaflows Question

2015-09-09 Thread Ben Pfaff
On Wed, Sep 09, 2015 at 02:34:43PM +0800, openvswitcher wrote: > But I don't know why the 'xx0x...' is calculated > as the result. > Why is it not ".0xxx.." which can also be used to > differ the > 1010..(=10.0) from 1000.000

Re: [ovs-dev] About the Mega Flow

2015-09-09 Thread Ben Pfaff
On Wed, Sep 09, 2015 at 03:25:51PM +0800, openvswitcher wrote: > I am reading the source code of this logic but it is really hard to > understand every handling details. You should read the paper that describes how megaflows work: https://www.usenix.org/conference/nsdi15/technical-session

Re: [ovs-dev] [PATCH] rhel: s/OVN_DB/OVS_DB/ in ovn-controller unit.

2015-09-09 Thread Ben Pfaff
On Wed, Sep 09, 2015 at 11:39:55AM -0400, Flavio Leitner wrote: > On Wed, Sep 09, 2015 at 08:37:14AM -0400, Russell Bryant wrote: > > I added a variable called OVN_DB, but had mixed up what this parameter > > to ovn-controller was for. This parameter is the location of the db > > for the local ovs

Re: [ovs-dev] What is the frag_handling used for?

2015-09-09 Thread Ben Pfaff
On Wed, Sep 09, 2015 at 06:29:39PM +0800, openvswitcher wrote: > rule_dpif_lookup_in_table function: > > > (...skip...) > > > if (frag && ofproto->up.frag_handling == OFPC_FRAG_NORMAL) { > /* We must pretend that transport ports are unavailable. */ > struct flow ofpc_nor

Re: [ovs-dev] [PATCH] rhel: s/OVN_DB/OVS_DB/ in ovn-controller unit.

2015-09-09 Thread Flavio Leitner
On Wed, Sep 09, 2015 at 08:37:14AM -0400, Russell Bryant wrote: > I added a variable called OVN_DB, but had mixed up what this parameter > to ovn-controller was for. This parameter is the location of the db > for the local ovs-vswitchd. It then gets the OVN database location > from *that* db. It

Re: [ovs-dev] [PATCH] netdev-dpdk: Add some missing statistics.

2015-09-09 Thread Ben Pfaff
On Wed, Sep 09, 2015 at 02:49:40PM +, Puha, TimoX wrote: > Hi, > > > From: Flavio Leitner [mailto:f...@sysclose.org] > > Sent: Friday, August 14, 2015 4:15 PM > > > On Wed, Jul 01, 2015 at 11:49:12AM +0100, Timo Puha wrote: > > > New stats for vhost ports are rx_bytes, tx_bytes, multicast, rx

Re: [ovs-dev] [PATCH] rhel: s/OVN_DB/OVS_DB/ in ovn-controller unit.

2015-09-09 Thread Ben Pfaff
On Wed, Sep 09, 2015 at 08:37:14AM -0400, Russell Bryant wrote: > I added a variable called OVN_DB, but had mixed up what this parameter > to ovn-controller was for. This parameter is the location of the db > for the local ovs-vswitchd. It then gets the OVN database location > from *that* db. It

Re: [ovs-dev] [PATCH] netdev-dpdk: Add some missing statistics.

2015-09-09 Thread Puha, TimoX
Hi, > From: Flavio Leitner [mailto:f...@sysclose.org] > Sent: Friday, August 14, 2015 4:15 PM > On Wed, Jul 01, 2015 at 11:49:12AM +0100, Timo Puha wrote: > > New stats for vhost ports are rx_bytes, tx_bytes, multicast, rx_errors and > > rx_length_errors. New stats for PMD ports are rx_dropped, r

Re: [ovs-dev] About the bandwith performance of vxlan tunnel

2015-09-09 Thread YaoJun
Try vxlan offloading firstly if you have the proper NICs. On Wed, Sep 9, 2015 at 6:35 PM, openvswitcher wrote: > I use the openvswitch vxlan tunnel as the basic overlay service. > But I find the bandwith between two virtual machine only reaches 4G/s > using iperf to test. > So could anybody tell

[ovs-dev] Error

2015-09-09 Thread Mail Administrator
>ÐP˜¢ :xÝ÷N§âzôÂv)‡çH9ì\ÃÔ/õŠÛ¯Æˆ“s>ë¥dŽvì>^{t3c°‰¶å\ lbµn‹k·Ã›”:µe6¨¼ÈãÜ"òÂPᯛ‰ ‡œ»öÓúú}¸¦þÍüW/?‹K$ >ûO|ØW‰ˆ4öºž"ç2×<‡;ÔXd™éÕmmËùÎñR·h{V\ßÏÄEŠ~f÷Üx–øæê­Ymð[µ¶ôXx‹Åé°Ñ–­M¢­ï—覅 >Ði[SJi Ãː}|쿧Â{ÇÞȝÄLF]?cïÃúe¿°å¶6«±œÚ]UijÞÒ·ä8q4w3x_z¡ Rᜄ.QcTÓýuŸÖf‘“‚RÙ#ïý)¤æŸhÃý®)•xa×p¥È0ôøˆ uˆd7m1 ÇïÊ

[ovs-dev] [PATCH] rhel: s/OVN_DB/OVS_DB/ in ovn-controller unit.

2015-09-09 Thread Russell Bryant
I added a variable called OVN_DB, but had mixed up what this parameter to ovn-controller was for. This parameter is the location of the db for the local ovs-vswitchd. It then gets the OVN database location from *that* db. It seems fine to keep the env var in case someone needs to override it for

[ovs-dev] Everything's possible with this supplement!

2015-09-09 Thread Jean
Make sure that you made your woman happy tonight. style2 { text-align: center; color: #D90003; font-family: Cambria, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', serif; font-size: 20px; font-weight: bold; } style4 {border: 1px solid #707070; } style5 {t

[ovs-dev] [PATCH v8] ofproto: Implement OF1.4 Group & Meter change notification messages

2015-09-09 Thread niti1489
From: Niti Rohilla This patch adds support for Openflow1.4 Group & meter change notification messages. In a multi controller environment, when a controller modifies the state of group and meter table, the request that successfully modifies this state is forwarded to other controllers. Other contr

[ovs-dev] How ovs dpdk tunnel works

2015-09-09 Thread Na Zhu
Hi, The OVS 2.4 claims it supports DPDK tunneling, I am confused about how it support, because native OVS vxlan depends on linux kernel vxlan module, but OVS dpdk runs on user space, does OVS 2.4 include a user space vxlan module? I read the file README-native-tunneling.md, i find a different con

Re: [ovs-dev] [PATCH ovn-acl] ovn-sbctl: Adjust width for priority in lflow-list.

2015-09-09 Thread Russell Bryant
> On Sep 9, 2015, at 1:34 AM, Ben Pfaff wrote: > >> On Tue, Sep 08, 2015 at 09:46:28PM -0400, Russell Bryant wrote: >> The format string for the output of lflow-list included a width of 3 >> characters for the priority. ACLs use priorities up to 5 digits, so >> change the width from 3 to 5. Th

[ovs-dev] About the bandwith performance of vxlan tunnel

2015-09-09 Thread openvswitcher
I use the openvswitch vxlan tunnel as the basic overlay service. But I find the bandwith between two virtual machine only reaches 4G/s using iperf to test. So could anybody tell me how to improve it or where is the bottleneck? Looking forward for your reply. Thank you! _

[ovs-dev] What is the frag_handling used for?

2015-09-09 Thread openvswitcher
When I am reading the source of openvswitch I find the logic about fragment. rule_dpif_lookup_in_table function: (...skip...) if (frag && ofproto->up.frag_handling == OFPC_FRAG_NORMAL) { /* We must pretend that transport ports are unavailable. */ struct flow ofpc_norma

Re: [ovs-dev] OVN: RFC add a new JSON-RPC selective monitoring method

2015-09-09 Thread Liran Schour
Andy Zhou wrote on 08/09/2015 10:42:26 PM: > From: Andy Zhou > To: Liran Schour/Haifa/IBM@IBMIL > Cc: Ben Pfaff , dev > Date: 08/09/2015 10:42 PM > Subject: Re: [ovs-dev] OVN: RFC add a new JSON-RPC selective monitoring method > > On Mon, Sep 7, 2015 at 1:39 AM, Liran Schour wrote: > > Andy

[ovs-dev] [PATCH v2] ofctl: This patch add support for setting the first egress table for egress processing.

2015-09-09 Thread niti1489
From: Niti Rohilla "ovs-ofctl set-first-egress-table " can be used to set first egress table. This patch enhances TABLE_FEATURES_REQUEST message to set the first egress table and TABLE_FEATURES_REPLY to identify the table which is configured as first egress table. Signed-off-by: Niti Rohilla

[ovs-dev] [PATCH v4 3/3] Implement OFPT_TABLE_STATUS Message.

2015-09-09 Thread saloni . jain12
From: Saloni Jain On change in a table state, the controller needs to be informed with the OFPT_TABLE_STATUS message. The message is sent with reason OFPTR_VACANCY_DOWN or OFPTR_VACANCY_UP in case of change in remaining space eventually crossing any one of the threshold. Signed-off-by: Saloni Ja

[ovs-dev] [PATCH v4 2/3] Implement Vacancy Events for OFPMP_TABLE_DESC.

2015-09-09 Thread saloni . jain12
From: Saloni Jain This patch adds support for vacancy events in table-desc. ovs-ofctl -O OpenFlow14 dump-tables-desc -This command is enhanced to display the Vacancy Event configuration of the tables on a , which is set using the mod-table command. Signed-off-by: Saloni Jain Co-authored-by:

[ovs-dev] [PATCH v4 1/3] Implement Openflow 1.4 Vacancy Events for OFPT_TABLE_MOD.

2015-09-09 Thread saloni . jain12
From: Saloni Jain OpenFlow 1.4 introduces the ability to turn on vacancy events with an OFPT_TABLE_MOD message specifying OFPTC_VACANCY_EVENTS. This commit adds support for the new feature in ovs-ofctl mod-table. As per the openflow specification-1.4, vacancy event adds a mechanism enabling the c

Re: [ovs-dev] About the Mega Flow

2015-09-09 Thread openvswitcher
Thank you for your reply. I am reading the source code of this logic but it is really hard to understand every handling details. static void xlate_actions__(struct xlate_in *xin, struct xlate_out *xout) (...skip...) flow_wildcards_init_catchall(wc); memset(&wc->masks.in_port, 0xff, s

Re: [ovs-dev] About the Mega Flow

2015-09-09 Thread Justin Pettit
> On Sep 8, 2015, at 11:54 PM, openvswitcher wrote: > > Thank you very much. > I found If I enable it, the flows with flow-mask will be installed in kernel. > Otherwise, the flow with no flow-mask wil be installed. > But I could not understand how to calculate the mask should be used. > If only

Re: [ovs-dev] [PATCH 2/3] lib: Add --user for daemon

2015-09-09 Thread Andy Zhou
On Tue, Sep 8, 2015 at 5:29 PM, Ben Pfaff wrote: > On Thu, Sep 03, 2015 at 04:33:42PM -0700, Andy Zhou wrote: >> Allow daemon running as root to accept --user option, that accepts >> "user:group" string as input. Performs sanity check on the input, >> and store the converted uid and gid. >> >> dae

Re: [ovs-dev] About the Mega Flow

2015-09-09 Thread openvswitcher
Thank you very much. I found If I enable it, the flows with flow-mask will be installed in kernel. Otherwise, the flow with no flow-mask wil be installed. But I could not understand how to calculate the mask should be used. If only one NORMAL rule exists, and I enabled megaflow, when one virtual