[ovs-dev] [PATCH v5 2/2] ovn-northd: Add logical flows to support DHCPv6

2016-08-04 Thread Numan Siddique
OVN implements native DHCPv6. DHCPv6 options are stored in the 'DHCP_Options' NB table and logical ports refer to this table to configure the DHCPv6 options. For each logical port configured with DHCPv6 Options following flows are added - A logical flow which copies the DHCPv6 options to the

[ovs-dev] [PATCH v5 1/2] ovn-controller: Add 'put_dhcpv6_opts' action in ovn-controller

2016-08-04 Thread Numan Siddique
This patch adds a new OVN action 'put_dhcpv6_opts' to support native DHCPv6 in OVN. ovn-controller parses this action and adds a NXT_PACKET_IN2 OF flow with 'pause' flag set and the DHCPv6 options stored in 'userdata' field. When the valid DHCPv6 packet is received by ovn-controller, it frames a

[ovs-dev] [PATCH v5 0/2] ovn: Support native DHCPv6

2016-08-04 Thread Numan Siddique
v4 -> v5 * Rebased the code v3 -> v4 * Rebased the code and resolved the merge conflicts. v2 -> v3 --- * Rebased the code. * Patch had merge conflict. Resolved it. v1 -> v2 patch 1 * Renamed the DHCPv6 option names from caps to lower cases * Updated

[ovs-dev] Error

2016-08-04 Thread Mail Delivery Subsystem
Š—‡ú\¬ÂÐI×KËÆ62åbì¬ëIþ[ü¨ŒªYóɂLEDÇѼWֈ^ÌZŠJÃ׃ÎŊiÞ¹¡Oeró[q‚6Ö4!jÇÈÊd&ýMª·ñ† àõ|;“æAß·ÕRðæÓ äýkäö{†áUS²¢;K£ó4û.QÊ ‹ýÆ]çQ¼3ƒD©DåT¢›‘ê±ì–eÆ·bª½«#Õëb]ì ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] [PATCH 3/3] check-kernel: Remove '-d' from TESTSUITEFLAGS.

2016-08-04 Thread Daniele Di Proietto
The '-d' flag tells autotest to always keep the testcase output, but prevents '--recheck' from working. If a user wants to always keep the output from the tests, the '-d' flag can be passed explicitly. This is more in line with other test make target ('check', 'check-system-userspace'). CC:

[ovs-dev] [PATCH 2/3] system-traffic: Flush conntrack after debug ping6.

2016-08-04 Thread Daniele Di Proietto
We want to discard any state created by the initial ping6 (used to wait for an available IP address). Otherwise some weird state can show up in the connection tracking tables (such as ICMP connection from link-local addresses). Fixes: e5cf8cce2759("system-tests: Add ping through conntrack

[ovs-dev] [PATCH 1/3] system-userspace-macros: Check the exit code of ethtool.

2016-08-04 Thread Daniele Di Proietto
If the ethtool command is not available on the system we should fail, since the userspace testsuite cannot work properly without disabling offloads. Also, add ethtool to the list of installed packages on Vagrantfile. Fixes: ddcf96d2dcc1 ("system-tests: Disable offloads in userspace tests.")

Re: [ovs-dev] [PATCH] system-traffic: Make ping6 vlan test more reliable.

2016-08-04 Thread Daniele Di Proietto
LGTM, thanks Acked-by: 2016-08-04 17:40 GMT-07:00 Joe Stringer : > Previously we checked on the underlying interfaces rather than the vlan > interfaces to verify whether IPv6 connectivity is available; > occasionally this would fail on some systems. Wait

Re: [ovs-dev] [PATCH] bridge: No QoS configured is not an error

2016-08-04 Thread Daniele Di Proietto
Applied to master, thanks 2016-08-02 8:27 GMT-07:00 Stokes, Ian : > > If no QoS is configured, type value is likely to be an empty string. > > > > This is not an error though, so use the regular command reply function, > > not the error one. > > > > For example, before this

Re: [ovs-dev] 答复: ovs dpdk : userspace connection tracker cannot support L7?

2016-08-04 Thread Joe Stringer
I'm not aware of anyone working on this currently. On 4 August 2016 at 18:20, Yangyongqiang (Tony, Shannon) wrote: > Hi Joe, > Thanks for your reply, this is very helpful. > Is there any body do this now? so we can do it together. > > thanks > >

[ovs-dev] 答复: ovs dpdk : userspace connection tracker cannot support L7?

2016-08-04 Thread Yangyongqiang (Tony, Shannon)
Hi Joe, Thanks for your reply, this is very helpful. Is there any body do this now? so we can do it together. thanks -邮件原件- 发件人: Joe Stringer [mailto:j...@ovn.org] 发送时间: 2016年8月5日 8:57 收件人: Yangyongqiang (Tony, Shannon) 抄送: dev@openvswitch.org 主题: Re: [ovs-dev] ovs dpdk

Re: [ovs-dev] [PATCH v1 1/1] netdev-dpdk: Fix egress policer error detection bug.

2016-08-04 Thread Daniele Di Proietto
Thanks for the patch, comments inline 2016-08-02 9:37 GMT-07:00 Ian Stokes : > When egress policer is set as a QoS type for a port, an error may occur > during > setup if incorrect parameters are used for the rte_meter. If this occurs > the egress policer construct and set

Re: [ovs-dev] ovs dpdk : userspace connection tracker cannot support L7?

2016-08-04 Thread Joe Stringer
On 2 August 2016 at 19:30, Yangyongqiang (Tony, Shannon) wrote: > Hello, > > We read the connection tracker code, and find this patch can not parse ftp > protocol. > > Whether the userspace connection tracker only has L4 feather or has L7 > feather too ? > > If the ct

Re: [ovs-dev] [PATCH v2 0/5] check-kernel: add 802.1ad tests

2016-08-04 Thread Joe Stringer
Thanks for updating the series. With the incremental patch below this is looking pretty reliable for check-kmod/check-kernel on the platforms I can test on, although there's still some issue with "make check-system-userspace". It seems like the userspace datapath cannot receive double-tagged

[ovs-dev] [PATCH] system-traffic: Make ping6 vlan test more reliable.

2016-08-04 Thread Joe Stringer
Previously we checked on the underlying interfaces rather than the vlan interfaces to verify whether IPv6 connectivity is available; occasionally this would fail on some systems. Wait on the VLAN IP instead. Signed-off-by: Joe Stringer --- tests/system-traffic.at | 2 +- 1 file

Re: [ovs-dev] [PATCH] netdev-dpdk: When no QoS set, set type to empty string

2016-08-04 Thread Daniele Di Proietto
Thanks for the fix! I added you name to AUTHORS and applied this to master 2016-08-02 9:52 GMT-07:00 Maxime Coquelin : > > > On 08/02/2016 05:19 PM, Stokes, Ian wrote: > >> This patch sets *typep to an empty string instead of letting it >>> uninitialized when no QoS

[ovs-dev] 答复: Re: 答复: Re: 答复: Re: [ovs-dev, CudaMailTagged] netdev-dpdk: unlink socket file when constructing vhostuser.

2016-08-04 Thread xu . binbin1
My opinion is that, the 'kill -9' signal can't be captured. The patch described in http://openvswitch.org/pipermail/dev/2016-February/065470.html can't fix the issue perfectly. Do we allow sb use 'kill -9' to kill OVS?? Ilya Maximets 写于 2016/08/04 20:01:50: > 发件人:

Re: [ovs-dev] [PATCH] netdev-dpdk: Make libnuma dependencies optional

2016-08-04 Thread Daniele Di Proietto
LGTM, thanks Pushed to master 2016-08-04 3:44 GMT-07:00 Ciara Loftus : > Prior to this patch, OVS with DPDK required the libnuma packages to > build. This patch removes this dependency, making it only a requirement > when the CONFIG_RTE_LIBRTE_VHOST_NUMA option is

Re: [ovs-dev] ovsdb active backup deployment

2016-08-04 Thread Andy Zhou
On Wed, Jul 27, 2016 at 1:04 PM, Andy Zhou wrote: > > > On Tue, Jul 26, 2016 at 6:20 PM, Russell Bryant wrote: > >> >> >> On Tue, Jul 26, 2016 at 3:48 PM, Andy Zhou wrote: >> >>> >>> >>> On Tue, Jul 26, 2016 at 11:59 AM, Russell Bryant

Re: [ovs-dev] [PATCH V2] netdev-dpdk: fix memory leak

2016-08-04 Thread Daniele Di Proietto
I'm glad we can finally uncomment this code! The patch looks good to me. I made a few style changes and pushed this to master Thanks 2016-08-04 2:49 GMT-07:00 Mark Kavanagh : > DPDK v16.07 introduces the ability to free memzones. > Up until this point, DPDK memory

[ovs-dev] [PATCH] ofproto-dpif-xlate: Log flow in XLATE_REPORT().

2016-08-04 Thread Joe Stringer
To assist debugging pipelines when resubmit resource checks fail, print the base_flow from the translation context. This base flow can then be used from ofproto/trace to figure out which parts of the pipeline lead to this translation error. As far as I can see, the "## __VA_ARGS__" trick is a GCC

[ovs-dev] qfoulp hmz

2016-08-04 Thread grosikopulos
The original message was received at Fri, 5 Aug 2016 05:03:32 +0800 from mm-sol.com [121.104.194.244] - The following addresses had permanent fatal errors - - Transcript of session follows - while talking to openvswitch.org.: >>> MAIL

Re: [ovs-dev] [PATCH] datapath: Remove incorrect WARN_ONCE().

2016-08-04 Thread Jarno Rajahalme
> On Aug 3, 2016, at 3:46 PM, Joe Stringer wrote: > > On 3 August 2016 at 15:25, Jarno Rajahalme wrote: >> Upstream commit: >>ovs_ct_find_existing() issues a warning if an existing conntrack entry >>classified as IP_CT_NEW is found, with the premise that

Re: [ovs-dev] [PATCH] ovs-vsctl: Change log level of vsctl_parent_process_info

2016-08-04 Thread Andy Zhou
On Thu, Aug 4, 2016 at 11:39 AM, Kyle Mestery wrote: > On Thu, Aug 4, 2016 at 12:56 PM, Andy Zhou wrote: > > > > > > On Thu, Aug 4, 2016 at 6:54 AM, Kyle Mestery > wrote: > >> > >> While running the ovn-scale-test [1] port-binding tests

[ovs-dev] [PATCH] ovs-vsctl: simply vsctl_parent_process_info()

2016-08-04 Thread Andy Zhou
Use ds_get_line() instead of hand rolling it. Rearrange the logic to removes some duplication. Signed-off-by: Andy Zhou --- utilities/ovs-vsctl.c | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/utilities/ovs-vsctl.c

Re: [ovs-dev] [PATCH v7] Windows: Local named pipe implementation

2016-08-04 Thread Alin Serdean
Thanks! De la: Guru Shetty [mailto:g...@ovn.org] Trimis: Wednesday, August 3, 2016 5:27 PM Către: Alin Serdean Cc: dev@openvswitch.org Subiect: Re: [ovs-dev] [PATCH v7] Windows: Local named pipe implementation On 2 August 2016 at 11:19, Alin Serdean

Re: [ovs-dev] [PATCH v3 3/3] Windows: document multiple NIC support setup

2016-08-04 Thread Alin Serdean
Thanks for the review! I agree with the comments and will update the documentation/respin a new series once the Patch 2/3 is reviewed. Thanks, Alin. > Sai: [Alin Gabriel Serdean: ] Did you also have a comment here? > >+In our example, this is how Œovs-vsctl show¹ looks like with the NICs >

Re: [ovs-dev] [PATCH v3 1/3] Windows: Add internal switch port per OVS bridge

2016-08-04 Thread Alin Serdean
+Ben +Guru Thanks a lot for the review! To be short the subject of interest is the sanitization of the input during queries. You need to have root access or know how the remote management was created and have access to it, thus you could do worse things. WQL is based on

Re: [ovs-dev] [PATCH] ovs-vsctl: Change log level of vsctl_parent_process_info

2016-08-04 Thread Kyle Mestery
On Thu, Aug 4, 2016 at 12:56 PM, Andy Zhou wrote: > > > On Thu, Aug 4, 2016 at 6:54 AM, Kyle Mestery wrote: >> >> While running the ovn-scale-test [1] port-binding tests [2], I notice a >> continual stream of messages such as this: >> >> 2016-08-04

Re: [ovs-dev] [PATCH] ovs-vsctl: Change log level of vsctl_parent_process_info

2016-08-04 Thread Andy Zhou
On Thu, Aug 4, 2016 at 6:54 AM, Kyle Mestery wrote: > While running the ovn-scale-test [1] port-binding tests [2], I notice a > continual stream of messages such as this: > > 2016-08-04 13:05:28.705 547 INFO rally_ovs.plugins.ovs.scenarios.ovn [-] > bind lport_0996bf_cikzNO

[ovs-dev] [PATCH v2 2/2] Add wrapper scripts for *ctl commands

2016-08-04 Thread Ryan Moats
This commit creates wrapper scripts for the *ctl commands to use --dry-run for those that have them, and to allow for log level setting vi ovs-appctl without allowing full access to ovs-appctl. The debian install files for ovn-common, openvswitch-common and openvswitch-vswitch have been modified

[ovs-dev] [PATCH v2 1/2] Add dry-run option to ovs-dpctl and ovs-ofctl commands.

2016-08-04 Thread Ryan Moats
ovs-dpctl and ovs-ofctl lack a dry-run option. Add it and the necessary scaffolding to each. Signed-off-by: Ryan Moats --- v1->v2: Fixed typo in usage string lib/command-line.c | 50 + lib/command-line.h | 6 +- lib/db-ctl-base.h

[ovs-dev] [PATCH v2 0/2] Read only versions of the *ctl commands

2016-08-04 Thread Ryan Moats
This patch series adds read-only wrapper scripts around the various *ctl commands that leverage the --dry-run command line option. This option is added to commands that don't currently have it (ovs-dpctl and ovs-ofctl) and negative tests are included to verify that the wrapper scripts don't change

Re: [ovs-dev] Let's talk the NB DB IDL Part I - things we've see scaling the networking-ovn to NB DB connection

2016-08-04 Thread Ryan Moats
"dev" wrote on 08/03/2016 04:53:42 PM: > From: Ben Pfaff > To: Russell Bryant > Cc: ovs-dev > Date: 08/03/2016 04:54 PM > Subject: Re: [ovs-dev] Let's talk the NB DB IDL Part I - things > we've see scaling the

[ovs-dev] [PATCH v2 2/2] python: Add support for partial map and partial set updates

2016-08-04 Thread Ryan Moats
Allow the python IDL to use mutate operations more freely by mimicing the partial map and partial set operations now available in the C IDL. Unit tests for both of these types of operations are included. They are not carbon copies of the C tests, because testing idempotency is a bit difficult for

[ovs-dev] [PATCH v2 1/2] ovsdb: Add/use partial set updates.

2016-08-04 Thread Ryan Moats
This patchset mimics the changes introduced in f199df26 (ovsdb-idl: Add partial map updates functionality.) 010fe7ae (ovsdb-idlc.in: Autogenerate partial map updates functions.) 7251075c (tests: Add test for partial map updates.) but for columns that store sets of values rather than

[ovs-dev] [PATCH v2 0/2] Partial set operations and Python IDL update

2016-08-04 Thread Ryan Moats
The first of these patches supercedes [1] and makes the addition of partial set operations officially open for reviews. The second patch in the series updates the Python IDL to allow similar partial set and partial map operations (as the original partial map commits did not include Python code).

[ovs-dev] POX application

2016-08-04 Thread Francesco Murador
Hi i need some help with POX, i need to realize a pox application that raise a message from openflow switches on mininet, but i need to do a custom openflow message, because all i have to do, it is to check the traffic of my network and than if in an openflow switch there’s a lot of traffic it

Re: [ovs-dev] [PATCH] ovs-vsctl: Change log level of vsctl_parent_process_info

2016-08-04 Thread Ryan Moats
"dev" wrote on 08/04/2016 08:54:27 AM: > From: Kyle Mestery > To: dev@openvswitch.org > Date: 08/04/2016 08:54 AM > Subject: [ovs-dev] [PATCH] ovs-vsctl: Change log level of > vsctl_parent_process_info > Sent by: "dev"

[ovs-dev] [PATCH v2 1/3] netdev-dpdk: Remove dpdkvhostcuse ports

2016-08-04 Thread Ciara Loftus
This commit removes the 'dpdkvhostcuse' port type from the userspace datapath. vhost-cuse ports are quickly becoming obsolete as the vhost-user port type begins to support a greater feature-set thanks to the addition of things like vhost-user multiqueue and potential upcoming features like

Re: [ovs-dev] [ovs-dev, 3/3] netdev-dpdk: vHost client mode and reconnect

2016-08-04 Thread Loftus, Ciara
> > Hi, Ciara. > I'm suggesting also following change: > - > diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c > index 57dc437..f092fa2 100644 > --- a/lib/netdev-dpdk.c > +++ b/lib/netdev-dpdk.c > @@ -959,7 +963,8 @@

[ovs-dev] [PATCH v2 3/3] netdev-dpdk: vHost client mode and reconnect

2016-08-04 Thread Ciara Loftus
A new other_config DB option has been added called 'vhost-driver-mode'. By default this is set to 'server' which is the mode of operation OVS with DPDK has used up until this point - whereby OVS creates and manages vHost user sockets. If set to 'client', OVS will act as the vHost client and

[ovs-dev] [PATCH v2 2/3] netdev-dpdk: Remove empty init function

2016-08-04 Thread Ciara Loftus
DPDK type ports no longer implement the netdev class 'init' function. Set the function to NULL in NETDEV_DPDK_CLASS. Suggested-by: Daniele Di Proietto Acked-by: Daniele Di Proietto Acked-by: Flavio Leitner Signed-off-by: Ciara Loftus

[ovs-dev] [PATCH] ovs-vsctl: Change log level of vsctl_parent_process_info

2016-08-04 Thread Kyle Mestery
While running the ovn-scale-test [1] port-binding tests [2], I notice a continual stream of messages such as this: 2016-08-04 13:05:28.705 547 INFO rally_ovs.plugins.ovs.scenarios.ovn [-] bind lport_0996bf_cikzNO to sandbox-172.16.200.24 on ovn-farm-node-uat-dal09-compute-325 2016-08-04

Re: [ovs-dev] [ovs-dev, 3/3] netdev-dpdk: vHost client mode and reconnect

2016-08-04 Thread Ilya Maximets
Hi, Ciara. I'm suggesting also following change: - diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index 57dc437..f092fa2 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -959,7 +963,8 @@

Re: [ovs-dev] 答复: Re: 答复: Re: [ovs-dev, CudaMailTagged] netdev-dpdk: unlink socket file when constructing vhostuser.

2016-08-04 Thread Ilya Maximets
On 04.08.2016 14:52, xu.binb...@zte.com.cn wrote: > Thank you. > > I saw the patch in the link: > http://openvswitch.org/pipermail/dev/2016-February/065556.html > > But in the latest code of OVS, I can't find this path?? Did you read the whole discussion? > By the way, should I keep the mode

[ovs-dev] Emailing: Sheet (0403).pdf

2016-08-04 Thread dev
___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] 答复: Re: 答复: Re: [ovs-dev, CudaMailTagged] netdev-dpdk: unlink socket file when constructing vhostuser.

2016-08-04 Thread xu . binbin1
Thank you. I saw the patch in the link: http://openvswitch.org/pipermail/dev/2016-February/065556.html But in the latest code of OVS, I can't find this path?? By the way, should I keep the mode of 'lib/netdev-dpdk.c' file? Ilya Maximets 写于 2016/08/04 19:33:58: >

[ovs-dev] [PATCH] ovn-controller:improve the ofctrl_run, pinctrl_run

2016-08-04 Thread nickcooper-zhangtonghao
Before calling the function "ofctrl_run" and "pinctrl_run", the "br-int"" has been checked. Remove the conditional statements in the function may make the code clearer. Signed-off-by: nickcooper-zhangtonghao --- ovn/controller/ofctrl.c | 15

[ovs-dev] Emailing: Document (36).tiff

2016-08-04 Thread dev
___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH v1] ovn: Extend Address_Set to Macros to support define port name sets

2016-08-04 Thread Russell Bryant
On Wed, Aug 3, 2016 at 6:31 PM, Ben Pfaff wrote: > On Wed, Aug 03, 2016 at 11:14:20PM +0800, Zong Kai LI wrote: > > This patch aims to extend Address_Set to Macros, make it more common to > > accept variable set, not only address. And by that, we can skinny down > ACLs, > > if we

[ovs-dev] Emailing: Document (638).xls

2016-08-04 Thread dev
___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] Returned mail: Data format error

2016-08-04 Thread Mail Delivery Subsystem
The message was not delivered due to the following reason(s): Your message could not be 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

Re: [ovs-dev] 答复: Re: [ovs-dev, CudaMailTagged] netdev-dpdk: unlink socket file when constructing vhostuser.

2016-08-04 Thread Ilya Maximets
On 04.08.2016 14:05, xu.binb...@zte.com.cn wrote: > I get the source code clone from branch origin/master in the github. Sorry. All is OK, but you changed the mode of 'lib/netdev-dpdk.c' file. > In fact, I killed ovs-vswitchd process and then start it again. > In this case, sockets left on the

[ovs-dev] 答复: Re: [ovs-dev, CudaMailTagged] netdev-dpdk: unlink socket file when constructing vhostuser.

2016-08-04 Thread xu . binbin1
I get the source code clone from branch origin/master in the github. In fact, I killed ovs-vswitchd process and then start it again. In this case, sockets left on the filesystem. Sorry for my description in the commit msg, it may be a puzzle to you. 发件人: Ilya Maximets

[ovs-dev] [CudaMailTagged] Bonjour

2016-08-04 Thread Françoise RABILLARD
Bonjour, Acceptez et tolérez cette intrusion peu décente dans votre messagerie. Je sais que mon message sera d'une grande surprise quand t-il vous parviendra. En effet, je suis Françoise Marcelle Clémence RABILLARD, chrétienne et j'ai 68 ans. J'ai le cœur serin vu que je suis touchée par une

[ovs-dev] Emailing: Sheet (3424).pdf

2016-08-04 Thread dev
___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] [PATCH] netdev-dpdk: add DPDK pdump capability

2016-08-04 Thread Ciara Loftus
This commit provides the ability to 'listen' on DPDK ports and save packets to a pcap file with a DPDK app that uses the librte_pdump library. One such app is the 'pdump' app that can be found in the DPDK 'app' directory. Instructions on how to use this can be found in INSTALL.DPDK-ADVANCED.md

[ovs-dev] [PATCH] netdev-dpdk: Make libnuma dependencies optional

2016-08-04 Thread Ciara Loftus
Prior to this patch, OVS with DPDK required the libnuma packages to build. This patch removes this dependency, making it only a requirement when the CONFIG_RTE_LIBRTE_VHOST_NUMA option is detected as enabled in the DPDK build. Signed-off-by: Ciara Loftus --- .travis.yml

[ovs-dev] [PATCH 1/3] netdev-dpdk: Remove dpdkvhostcuse ports

2016-08-04 Thread Ciara Loftus
This commit removes the 'dpdkvhostcuse' port type from the userspace datapath. vhost-cuse ports are quickly becoming obsolete as the vhost-user port type begins to support a greater feature-set thanks to the addition of things like vhost-user multiqueue and potential upcoming features like

[ovs-dev] [PATCH 2/3] netdev-dpdk: Remove empty init function

2016-08-04 Thread Ciara Loftus
DPDK type ports no longer implement the netdev class 'init' function. Set the function to NULL in NETDEV_DPDK_CLASS. Suggested-by: Daniele Di Proietto Acked-by: Daniele Di Proietto Acked-by: Flavio Leitner Signed-off-by: Ciara Loftus

[ovs-dev] [PATCH 3/3] netdev-dpdk: vHost client mode and reconnect

2016-08-04 Thread Ciara Loftus
A new other_config DB option has been added called 'vhost-driver-mode'. By default this is set to 'server' which is the mode of operation OVS with DPDK has used up until this point - whereby OVS creates and manages vHost user sockets. If set to 'client', OVS will act as the vHost client and

Re: [ovs-dev] [ovs-dev, CudaMailTagged] netdev-dpdk: unlink socket file when constructing vhostuser.

2016-08-04 Thread Ilya Maximets
Oh, again... 1. This patch not for upstream version of OVS. (I guess your OVS patched at least with vHost client support). 2. If you will restart OVS properly (even by SIGTERM or SIGINT) socket will be removed inside 'rte_vhost_driver_unregister()' or inside fatal_signal handler. Are

[ovs-dev] [CudaMailTagged] [PATCH] netdev-dpdk: unlink socket file when constructing vhostuser.

2016-08-04 Thread Binbin Xu
Work with DPDK 16.07, a UNIX socket will be created when we add vhostuser port. After that, the restarting of ovs-vswitchd leads to the failure of socket binding, so the vhostuser port can't be created successfully. This commit unlink socket file before creating UNIX socket to avoid failure of

Re: [ovs-dev] [patch_v3] ovn: Add datapaths of interest filtering.

2016-08-04 Thread Liran Schour
"dev" wrote on 03/08/2016 09:09:48 AM: > From: Darrell Ball > To: dlu...@gmail.com, d...@openvswitch.com, b...@ovn.org > Date: 03/08/2016 09:10 AM > Subject: [ovs-dev] [patch_v3] ovn: Add datapaths of interest filtering. > Sent by: "dev"

[ovs-dev] [PATCH V2] netdev-dpdk: fix memory leak

2016-08-04 Thread Mark Kavanagh
DPDK v16.07 introduces the ability to free memzones. Up until this point, DPDK memory pools created in OVS could not be destroyed, thus incurring a memory leak. Leverage the DPDK v16.07 rte_mempool API to free DPDK mempools when their associated reference count reaches 0 (this indicates that the

Re: [ovs-dev] [PATCH V11 08/17] python tests: Skip python tests on Windows where POSIX pid is used

2016-08-04 Thread Paul Boca
Hi Guru! Indeed there are some cases where that comment doesn’t apply. Thanks for reporting this, I will update the comments accordingly. Paul From: Guru Shetty [mailto:g...@ovn.org] Sent: Wednesday, August 3, 2016 6:51 PM To: Paul Boca Cc: dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH V11

Re: [ovs-dev] [PATCH V11 12/17] python tests: Prepare porting Python daemon on Windows

2016-08-04 Thread Paul Boca
Hi Guru! Thanks for applying the patches so far. I cannot see the call to ovs.daemon_windows in this patch; the calls to daemon_windows were added in next patch (13/17) where the porting to windows was added. Also daemon_unix.py has only some minor changes (comments and alignment) but I will

Re: [ovs-dev] [PATCH] netdev-dpdk: Avoid reconfiguration on reconnection of same vhost device.

2016-08-04 Thread Ilya Maximets
On 04.08.2016 12:00, Loftus, Ciara wrote: >> >> Binding/unbinding of virtio driver inside VM leads to reconfiguration >> of PMD threads. This behaviour may be abused by executing bind/unbind >> in an infinite loop to break normal networking on all ports attached >> to the same instance of Open

Re: [ovs-dev] [PATCH v1] ovn: Extend Address_Set to Macros to support define port name sets

2016-08-04 Thread Zong Kai Li
On Thu, Aug 4, 2016 at 6:31 AM, Ben Pfaff wrote: > On Wed, Aug 03, 2016 at 11:14:20PM +0800, Zong Kai LI wrote: >> This patch aims to extend Address_Set to Macros, make it more common to >> accept variable set, not only address. And by that, we can skinny down ACLs, >> if we use

Re: [ovs-dev] [PATCH] netdev-dpdk: Avoid reconfiguration on reconnection of same vhost device.

2016-08-04 Thread Loftus, Ciara
> > Binding/unbinding of virtio driver inside VM leads to reconfiguration > of PMD threads. This behaviour may be abused by executing bind/unbind > in an infinite loop to break normal networking on all ports attached > to the same instance of Open vSwitch. > > Fix that by avoiding

[ovs-dev] I have some questions about kernel space

2016-08-04 Thread Nam Bong Ha
Hi, all How can I look flow table of kernel space? What does flows mean which shows when I type 'ovs-dpctl show'? How can I measure flow table lookup time of kernel space? How can I know flow table max size of kernel space? Thank you. ___ dev

[ovs-dev] [CudaMailTagged] [PATCH] netdev-dpdk: unlink socket file when constructing vhostuser.

2016-08-04 Thread Binbin Xu
Work with DPDK 16.07, a UNIX socket will be created when we add vhostuser port. After that, the restarting of ovs-vswitchd leads to the failure of socket binding, so the vhostuser port can't be created successfully. This commit unlink socket file before creating UNIX socket to avoid failure of

[ovs-dev] [CudaMailTagged] [PATCH] netdev-dpdk: unlink socket file when constructing vhostuser.

2016-08-04 Thread Binbin Xu
Work with DPDK 16.07, a UNIX socket will be created when we add vhostuser port. After that, the restarting of ovs-vswitchd leads to the failure of socket binding, so the vhostuser port can't be created successfully. This commit unlink socket file before creating UNIX socket to avoid failure of

[ovs-dev] UPS专线,欧美最火的路线,价格优美,时效稳定

2016-08-04 Thread Bright
| 欧州/重量 | 21-50KG | 51-100KG | 101-299KG | 300+KG | | 荷兰 | 33.5 | 32.5 | 31.5 | 31 | | 比利时/德国/卢森堡 | 34 | 32 | 31 | 30 | | 英国 | 35 | 32 | 31 | 30 | 民海国际欧美UPS专线双清包税到门可到亚马逊仓 | 美国/重量 | 21-100KG | 101-300KG | 301-500KG | 501-1000KG | 1000+KG