Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-23 Thread Guru Shetty
Yes. On 23 July 2018 at 13:43, Sandeep Adapala wrote: > So you are saying just do the overlay part in this doc ? > http://docs.openvswitch.org/en/latest/howto/docker/#the-overlay-mode > > On Mon, Jul 23, 2018 at 4:35 PM, Guru Shetty wrote: > >> May I suggest that you get OVN working with

Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-23 Thread Sandeep Adapala
I have configured the grub as GRUB_CMDLINE_LINUX_DEFAULT="default_hugepagesz=1G hugepagesz=1G hugepages=16 hugepagesz=2M hugepages=2048 iommu=pt intel_iommu=on" I didn't isolate any cores so if I want to use core 2 or 3 what will be the dpdk-lcore-mask and pod-cpu-mask? On Mon, Jul 23, 2018

Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-23 Thread Sandeep Adapala
So you are saying just do the overlay part in this doc ? http://docs.openvswitch.org/en/latest/howto/docker/#the-overlay-mode On Mon, Jul 23, 2018 at 4:35 PM, Guru Shetty wrote: > May I suggest that you get OVN working with containers without DPDK first? > Once you are confident about what

Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-23 Thread Guru Shetty
May I suggest that you get OVN working with containers without DPDK first? Once you are confident about what needs to be done for OVN, you can concentrate more on DPDK. On 23 July 2018 at 13:15, Sandeep Adapala wrote: > I have configured the grub as > >

Re: [ovs-dev] [PATCH 06/11] ovn-nbctl: Don't die in parse_direction().

2018-07-23 Thread Ben Pfaff
On Tue, Jul 17, 2018 at 03:34:10PM +0200, Jakub Sitnicki wrote: > Let the caller handle the error. This prepares us for reporting errors > in daemon mode. > > Signed-off-by: Jakub Sitnicki I got a lot of "possibly uninitialized" warnings from GCC for this one: ../ovn/utilities/ovn-nbctl.c:

Re: [ovs-dev] [PATCH 08/11] ovn-nbctl: Propagate error thru the context.

2018-07-23 Thread Ben Pfaff
On Tue, Jul 17, 2018 at 03:34:12PM +0200, Jakub Sitnicki wrote: > Instead of dying let the main loop handle the error. > This will allow us to report errors when running in daemon mode. > > This is a result of applying the following semantic patch: > > @@ > identifier F; > identifier C; >

Re: [ovs-dev] [PATCH 10/11] ovn-nbctl: Remove pointless "return; " at ends of functions.

2018-07-23 Thread Ben Pfaff
On Tue, Jul 17, 2018 at 03:34:14PM +0200, Jakub Sitnicki wrote: > Fix fall-out from applying a semantic patch that converts ctl_fatal() > calls to use ctl_error(). > > Signed-off-by: Jakub Sitnicki Oh, you fixed that up later ;-). Ha, I'll revert it to your way instead, never mind.

Re: [ovs-dev] [PATCH v5 08/14] dp-packet: Handle multi-seg mbufs in resize__().

2018-07-23 Thread Darrell Ball
On Fri, Jul 20, 2018 at 10:09 AM, Lam, Tiago wrote: > On 18/07/2018 23:53, Darrell Ball wrote: > > sorry, several distractions delayed response. > > > > On Mon, Jul 16, 2018 at 1:37 AM, Lam, Tiago > > wrote: > > > > On 13/07/2018 18:54, Darrell Ball wrote: > >

[ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-23 Thread Sandeep Adapala
Hello All, I am trying to use this doc to setup the containers using OVS-DPDK ( https://software.intel.com/en-us/articles/using-docker-containers-with-open-vswitch-and-dpdk-on-ubuntu-1710) but when I try to configure the ovs on overlay mode I am little confused on this configuration. I don't have

Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-23 Thread Sandeep Adapala
I have tried that already Guru but I got the same error always. Let me ask one more question. What do I need to configure here? sudo ovs-vsctl -no-wait set Open_vSwitch . other_config:dpdk-lcore-mask= 0xfbe. sudo ovs-vsctl -no-wait set Open_vSwitch . other_config:dpdk-socket-mem="

[ovs-dev] [PATCH] netlink-conntrack: undef the correct macro

2018-07-23 Thread Aaron Conole
Fixes: 6830a0c0e6bf ("netlink-conntrack: New module.") Cc: Daniele Di Proietto Signed-off-by: Aaron Conole --- lib/netlink-conntrack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/netlink-conntrack.c b/lib/netlink-conntrack.c index e5a5fc118..42be1d9ce 100644 ---

Re: [ovs-dev] [PATCH] netlink-conntrack: undef the correct macro

2018-07-23 Thread Yi-Hung Wei
On Mon, Jul 23, 2018 at 1:40 PM, Aaron Conole wrote: > Fixes: 6830a0c0e6bf ("netlink-conntrack: New module.") > Cc: Daniele Di Proietto > Signed-off-by: Aaron Conole > --- > lib/netlink-conntrack.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/netlink-conntrack.c

Re: [ovs-dev] [PATCH 08/11] ovn-nbctl: Propagate error thru the context.

2018-07-23 Thread Ben Pfaff
On Tue, Jul 17, 2018 at 03:34:12PM +0200, Jakub Sitnicki wrote: > Instead of dying let the main loop handle the error. > This will allow us to report errors when running in daemon mode. > > This is a result of applying the following semantic patch: > > @@ > identifier F; > identifier C; >

Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-23 Thread Guru Shetty
1. Use the same IP address for both CENTRAL_IP and LOCAL_IP. And this should be the IP of your host. 2. ENCAP_TYPE="geneve". On 23 July 2018 at 12:41, Sandeep Adapala wrote: > Hello All, > > I am trying to use this doc to setup the containers using OVS-DPDK ( >

Re: [ovs-dev] [PATCH v5 08/14] dp-packet: Handle multi-seg mbufs in resize__().

2018-07-23 Thread Darrell Ball
On Fri, Jul 20, 2018 at 10:10 AM, Lam, Tiago wrote: > On 19/07/2018 00:02, Darrell Ball wrote: > > > > > > On Tue, Jul 17, 2018 at 12:59 AM, Lam, Tiago > > wrote: > > > > On 16/07/2018 09:37, Lam, Tiago wrote: > > > On 13/07/2018 18:54, Darrell Ball wrote: >

[ovs-dev] [PATCHv2] netdev-dpdk: Fix failure to configure flow control at netdev-init.

2018-07-23 Thread Sugesh Chandran
Configuring flow control at ixgbe netdev-init is throwing error in port start. For eg: without this fix, user cannot configure flow control on ixgbe dpdk port as below, " ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk \ options:dpdk-devargs=:05:00.1

Re: [ovs-dev] [PATCH] compat: Initialize IPv4 reassembly secret timer

2018-07-23 Thread Yi-Hung Wei
>>> --- a/datapath/linux/compat/ip_fragment.c >>> +++ b/datapath/linux/compat/ip_fragment.c >>> @@ -812,6 +812,9 @@ int __init rpl_ipfrag_init(void) >>> #ifdef HAVE_INET_FRAGS_WITH_FRAGS_WORK >>> ip4_frags.frags_cache_name = ip_frag_cache_name; >>> #endif >>> +#if RHEL_RELEASE_CODE <

Re: [ovs-dev] [PATCH v5 00/21] Daemon mode for ovn-nbctl

2018-07-23 Thread Ben Pfaff
On Thu, Jul 19, 2018 at 03:51:05PM +0200, Jakub Sitnicki wrote: > This series extends ovn-nbctl tool with support for the daemon mode, where > ovn-nbctl acts a long-lived process that accepts commands over a UNIX socket. > The daemon can be started the same way as any other OVS/OVN server: > >

Re: [ovs-dev] [PATCH] ofproto: Return error codes for Rule insertions

2018-07-23 Thread Aravind Prasad
> Currently, rule_insert() API does not have return value. There are some possible > scenarios where rule insertions can fail at run-time even though the static > checks during rule_construct() had passed previously. > Some possible scenarios for failure of rule insertions: > **) Rule insertions

[ovs-dev] GRE over IPsec tunnel

2018-07-23 Thread Alvaro Jimenez
Hi everyone, Does anyone know how to set up a GRE over IPsec tunnel? I found this command: ovs-vsctl add-port br0 gre1 ovs-vsctl set interface gre1 type=ipsec_gre \ options:remote_ip= \ options:pmtud=false \ options:psk=test \ options:certificate=cert.pem Do i have to create a GRE tunnel with

[ovs-dev] Contribution

2018-07-23 Thread kumaraparameshwaran rathinavel
Hi All, I would like to start contributing to Open-vSwitch. Is there any file that maintains TODO list or the bugs to be resolved. Would like to start by looking into that. Thanking You, Param ___ dev mailing list d...@openvswitch.org

[ovs-dev] [PATCH] ofproto-dpif: Fix typo in registered command

2018-07-23 Thread Alin Gabriel Serdean
Also split line at 79 characters. Found by inspection. Signed-off-by: Alin Gabriel Serdean --- ofproto/ofproto-dpif.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index ad1e8af43..d0d564de1 100644 ---