Re: [ovs-discuss] Maximum number of Patch port between bridges

2016-07-05 Thread Levente Csikor
Thanks! I will definitely try this. On 07/06/2016 01:59 AM, Justin Pettit wrote: On Jul 4, 2016, at 4:50 AM, Levente Csikor wrote: Hi, I did not find any documented limit about the number of patchports, so I wrote a simple script, which adds a predefined number of patchports and some dummy

Re: [ovs-discuss] Poor GRE performance - maybe due to using ip_gre kernel module ?

2016-07-05 Thread D3c3 Balus
Indeed, I managed to get very good results after I disabled TSO on the gre_sys interface. As a curiosity, disabling all 3 (TSO, GSO and GRO) on gre_sys interface returned good performance but half the best performance (obtained when only TSO is off). FYI: LRO was off by default for me. Thanks e

Re: [ovs-discuss] Maximum number of Patch port between bridges

2016-07-05 Thread Justin Pettit
> On Jul 4, 2016, at 4:50 AM, Levente Csikor wrote: > > Hi, > > I did not find any documented limit about the number of patchports, so I > wrote a simple script, which adds a predefined number of patchports and some > dummy rules into the flow tables to actually have some reason for the whole

Re: [ovs-discuss] Not getting traffic through ipsec_gre

2016-07-05 Thread Jesse Gross
On Tue, Jul 5, 2016 at 4:04 PM, Bolesław Tokarski wrote: > Hello, > > For some reason machine receiving traffic through ipsec_gre is not putting > it through to the LOCAL interface. > > I have a basic test setup: > > hostA - ip network - hostB > > Both hosts have just a single eth0 interface. I ma

[ovs-discuss] Not getting traffic through ipsec_gre

2016-07-05 Thread Bolesław Tokarski
Hello, For some reason machine receiving traffic through ipsec_gre is not putting it through to the LOCAL interface. I have a basic test setup: hostA - ip network - hostB Both hosts have just a single eth0 interface. I managed to get a regular gre tunnel working (thanks to Mathy Vanvoorden's bl

Re: [ovs-discuss] download patches nat support?

2016-07-05 Thread Justin Pettit
> On Jul 5, 2016, at 8:56 AM, Guru Shetty wrote: > > It does. Since the feature only exists on OVS master, you will need to look > at the latest man page of ovs-ofctl from master. I just updated the online man pages, so they now cover NAT, too: http://openvswitch.org/support/dist-docs

Re: [ovs-discuss] flow_stats_request code

2016-07-05 Thread Ben Pfaff
On Sun, Jul 03, 2016 at 11:33:22AM +0430, Mehrshad Shahmohammadi wrote: > i want send flow_stats_request packet to switch, > can anyone help me? > can i use this code in pox controller? It's probably best to ask questions about POX on a mailing list dedicated to POX, because you are more likely to

Re: [ovs-discuss] OVS+DPDK issue on Ubuntu 16.04

2016-07-05 Thread Christian Ehrhardt
Hi, The TL;DR is that in Ubuntu 16.04 the base openvswitch-switch package knows nothing about dpdk. But the openvswitch-switch-dpdk package does. please follow the whole page around https://help.ubuntu.com/16.04/serverguide/DPDK.html#dpdk-openvswitch for some guidance. Christian Ehrhardt Softwa

Re: [ovs-discuss] Bug OpenVSwitch 2.5.0 - Enabling IPFIX in OpenVSwitch breaks VXLAN tunneling

2016-07-05 Thread Daniel Ye
Hi Lluis, As I don’t have a test environment now, I tried with the topology as below and the openvswitch is installed from the latest code on Github: container1 vxlan12 container2 vxlan21 |||| —— + — —

Re: [ovs-discuss] Bug OpenVSwitch 2.5.0 - Enabling IPFIX in OpenVSwitch breaks VXLAN tunneling

2016-07-05 Thread Daniel Ye
Hi Lluis, Basically, I use ovs-docker to associate to one port on the bridge to a container. Steps are listed below: 1. Install docker on Ubuntu(May be other Linux version): https://docs.docker.com/engine/installation/linux/ubuntulinux/. 2. Start two containers(use docker run), and the container

[ovs-discuss] OVS+DPDK issue on Ubuntu 16.04

2016-07-05 Thread shyam yeduru
Hi Team,   We have used ovs+dpdk installed and trying to test with Brocade Vyatta VNF which is  DPDK Supported. We were not able to add dpdk0 port to OVS Bridge.   Error log :   2016-06-16T19:28:29.819Z|00021|bridge|INFO|bridge ovsbr0: added interface ovsbr0 on port 65534 2016-06-16T19:28:29.819Z

[ovs-discuss] How to enable dpdk interface for OVS+DPDK on RHEL?

2016-07-05 Thread Binghan
Hi, I built OVS+DPDK from source. I use OVS 2.5.0 and DPDK 2.2.0, the build environment is RHEL 7.2. I try to follow this instruction, https://github.com/openvswitch/ovs/blob/master/INSTALL.Fedora.md However, it reports: *make rpm-fedora* *make: *** No rule to make target `rpm-fedora'. Stop.* So

[ovs-discuss] Poor GRE performance - maybe due to using ip_gre kernel module ?

2016-07-05 Thread D3c3 Balus
Hello, I’m using 2 Ubuntu Xenial 16.04 LTS with the following: - kernel: 4.4.0-28-generic - OVS version: 2.5.0 (installed from ubuntu packages: openvswitch-common & openvswitch-switch) I’m configuring a GRE tunnel between OVS bridges running on each of the machines with: ovs-vsctl add-port

[ovs-discuss] flow_stats_request code

2016-07-05 Thread Mehrshad Shahmohammadi
Hi i want send flow_stats_request packet to switch, can anyone help me? can i use this code in pox controller? msg = of.ofp_packet_out() # Create packet out message msg.buffer_id = event.ofp.buffer_id# Use the incoming packet as the data for the packet out msg.in_

Re: [ovs-discuss] download patches nat support?

2016-07-05 Thread Guru Shetty
On 5 July 2016 at 07:56, Cristina Palomo Regidor < cristina.palomo.regi...@ericsson.com> wrote: > Hi, > > Thanks for your answer. Where is the guide on how to use it? I mean how to > create a flow with NAT? > > ovs-ofctl doesn’t explain anything. > It does. Since the feature only exists on OVS mas

Re: [ovs-discuss] Poor GRE performance - maybe due to using ip_gre kernel module ?

2016-07-05 Thread Alexander Duyck
On Mon, Jul 4, 2016 at 1:34 PM, D3c3 Balus wrote: > Hello, > > I’m using 2 Ubuntu Xenial 16.04 LTS with the following: > - kernel: 4.4.0-28-generic > - OVS version: 2.5.0 (installed from ubuntu packages: openvswitch-common & > openvswitch-switch) > > I’m configuring a GRE tunnel between OVS br

Re: [ovs-discuss] [ovs-dev] ovs+dpdk hang? (was: Re: c)

2016-07-05 Thread Kavanagh, Mark B
> >Thanks Mark and Ben for looking into this. > >Attached please find the script I use to set up the OVS-DPDK. If both DPDK and >OVS are re- >built, it works fine. However, if DPDK and OVS are not rebuilt, then it will >cause the >problem. Hi Charlie, I found some issues with this script: su

Re: [ovs-discuss] How to use OVN without sandbox?

2016-07-05 Thread Taekho Nam
Thank you so much. These documents are required for my research area. I'm very grateful, Russell. Best regards, Taekho Nam. On Tue, Jul 5, 2016 at 11:57 PM, Russell Bryant wrote: > > > On Tue, Jul 5, 2016 at 10:21 AM, Taekho Nam wrote: > >> Hello, I'm a student studying about OVN. >> >> I al

Re: [ovs-discuss] How to use OVN without sandbox?

2016-07-05 Thread Russell Bryant
On Tue, Jul 5, 2016 at 10:21 AM, Taekho Nam wrote: > Hello, I'm a student studying about OVN. > > I already completed all kinds of tutorials in github. > (https://github.com/openvswitch/ovs/tree/master/tutorial) > > But environment and configuration for each tutorial are made in sandbox > automat

Re: [ovs-discuss] download patches nat support?

2016-07-05 Thread Cristina Palomo Regidor
Hi, Thanks for your answer. Where is the guide on how to use it? I mean how to create a flow with NAT? ovs-ofctl doesn’t explain anything. Thanks and BR/ From: Guru Shetty [mailto:g...@ovn.org] Sent: martes, 05 de julio de 2016 16:16 To: Cristina Palomo Regidor Cc: discuss@openvswitch.org Sub

Re: [ovs-discuss] [ovs-dev] ovs+dpdk hang? (was: Re: c)

2016-07-05 Thread Charlie Li
Thanks Mark and Ben for looking into this. Attached please find the script I use to set up the OVS-DPDK. If both DPDK and OVS are re-built, it works fine. However, if DPDK and OVS are not rebuilt, then it will cause the problem. The OS is Fedora Server 23 with updated kernel (4.5.7-200.fc23.x86_6

[ovs-discuss] How to use OVN without sandbox?

2016-07-05 Thread Taekho Nam
Hello, I'm a student studying about OVN. I already completed all kinds of tutorials in github. (https://github.com/openvswitch/ovs/tree/master/tutorial) But environment and configuration for each tutorial are made in sandbox automatically. Now I want to make environment and set configuration for

Re: [ovs-discuss] download patches nat support?

2016-07-05 Thread Guru Shetty
On 5 July 2016 at 01:30, Cristina Palomo Regidor < cristina.palomo.regi...@ericsson.com> wrote: > Hello, > > I would like to ask where can I download the patches that make it work ovs > with nat as described in below article. > OVS kernel module that comes with Linux kernel 4.6 has NAT support. T

Re: [ovs-discuss] Poor GRE performance - maybe due to using ip_gre kernel module ?

2016-07-05 Thread D3c3 Balus
Small update: I have installed the latest OVS from git master (following this https://github.com/openvswitch/ovs/blob/master/INSTALL.Debian.md - option 2: build packages -> then installed openvswitch-datapath-dkms). After incr

Re: [ovs-discuss] [ovs-dev] ovs+dpdk hang? (was: Re: c)

2016-07-05 Thread Kavanagh, Mark B
> >The logs show that ovs-vswitchd failing to log anything after it >receives the initial configuration from the database. This is probably >a bug in the DPDK portion of OVS. OVS-DPDK folks, have you noticed >anything like this before? Can you take over the investigation? > I can take this Ben

Re: [ovs-discuss] How to enable dpdk interface for OVS+DPDK on RHEL?

2016-07-05 Thread Kapil Adhikesavalu
Hi Binghan, To add to that; you should follow the steps in https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md to install OVS + DPDK you can also refer, https://software.intel.com/en-us/articles/using-open-vswitch-with-dpdk-for-inter-vm-nfv-applications Thanks Kapil. On Tue, Jul 5,

[ovs-discuss] Tc rules not math specified qos rules when configure qos to linux bond port

2016-07-05 Thread Xiao Ma (xima2)
Hi, all When I configure the qos rules to one linux bond port which has been attached to openvswitch port, I find the tc rules are not what I configured. Fllow the steps bellow to reproduce it: 1) Use linux bond [root@host1 home]# cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver:

[ovs-discuss] download patches nat support?

2016-07-05 Thread Cristina Palomo Regidor
Hello, I would like to ask where can I download the patches that make it work ovs with nat as described in below article. Patches 3-6 make the openvswitch kernel module ready for the patch 7 that adds the NAT support by calling into netfilter NAT code from the openvswitch conntrack action. https

Re: [ovs-discuss] How to enable dpdk interface for OVS+DPDK on RHEL?

2016-07-05 Thread Levente Csikor
Hi, That manual is only for installing OVS and linking it to DPDK. However, you need to install DPDK on your own before installing OVS with DPDK. download DPDK from here: http://dpdk.org/download follow instructions for the installation procedure (not that difficult - less commands needed tha

[ovs-discuss] How to enable dpdk interface for OVS+DPDK on RHEL?

2016-07-05 Thread Binghan
Hi, I built OVS+DPDK from source. I use OVS 2.5.0 and DPDK 2.2.0, the build environment is RHEL 7.2. I try to follow this instruction, https://github.com/openvswitch/ovs/blob/master/INSTALL.Fedora.md However, it reports: *make rpm-fedora* *make: *** No rule to make target `rpm-fedora'. Stop.* So