Re: [ovs-dev] dev Digest, Vol 88, Issue 113

2016-11-16 Thread Vishv Deepak
Hi All, I am installing openvswitch-2.6.0 from souce code on my local machine: [root@ovs-switch openvswitch-2.6.0]# uname -a Linux ovs-switch 3.10.0-327.28.3.el7.x86_64 #1 SMP Fri Aug 12 13:21:05 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux [root@ovs-switch openvswitch-2.6.0]# cat

Re: [ovs-dev] [PATCH v3 2/2] ovn-northd: Force SNAT for multiple gateway routers.

2016-11-16 Thread Mickey Spiegel
On Sun, Nov 13, 2016 at 11:15 PM, Gurucharan Shetty wrote: > When multiple gateway routers exist, a packet can > enter any gateway router. Once the packet reaches its > destination, its reverse direction should be via the > same gateway router. This is achieved by doing a SNAT >

Re: [ovs-dev] [PATCH] netdev: Count ports within mutex.

2016-11-16 Thread Joe Stringer
On 15 November 2016 at 16:37, Ben Pfaff wrote: > On Tue, Nov 15, 2016 at 04:15:04PM -0800, Joe Stringer wrote: >> netdev_get_vports() previously counted the number of ports outside the >> mutex, allocated enough memory for that number, then grabbed the mutex >> to iterate through

Re: [ovs-dev] [PATCHv2] lib: Use nl_attr_get_odp_port().

2016-11-16 Thread Joe Stringer
On 16 November 2016 at 04:24, Simon Horman wrote: > On Mon, Nov 14, 2016 at 01:29:05PM -0800, Joe Stringer wrote: >> This helper is a little tidier than the alternative. Use it treewide. >> >> Signed-off-by: Joe Stringer > > Acked-by: Simon Horman

Re: [ovs-dev] [PATCH] netdev: Fix sockaddr cast warning.

2016-11-16 Thread Pravin Shelar
On Wed, Nov 16, 2016 at 5:25 AM, Thadeu Lima de Souza Cascardo wrote: > On Tue, Nov 15, 2016 at 09:15:26PM -0800, Pravin B Shelar wrote: >> Following warning was reported by Travis:- >> >> lib/netdev.c:1916:19: error: cast from 'struct sockaddr *' to 'struct >> sockaddr_in *'

Re: [ovs-dev] [PATCH ovs V1 2/9] dpif-hw-acc: Add tc interface

2016-11-16 Thread Joe Stringer
On 16 November 2016 at 08:22, Paul Blakey wrote: > Hi Joe, > > Thanks for your comprehensive feedback (on this and other patches), I've > added some inline comments. > > As for coding style / duplicate code / checkpatch / name changes / etc > comments, we already started

[ovs-dev] Seguridad Informática - infraestructura tecnológica

2016-11-16 Thread Ciberataques - Prevención y Manejo
Disminuya riesgos, proteja su información Seguridad Informática: Prevención y Manejo de Ciberataques 29 de Noviembre - Zona Reforma (Ciudad de México) - 9:00 a 20:00 hrs. Imparte: Ing. Felipe Caudillo Martínez. El valor de la información es de suma importancia en toda estructura

Re: [ovs-dev] [PATCH] rhel: Environment file option for northd service

2016-11-16 Thread Russell Bryant
On Wed, Nov 16, 2016 at 4:02 AM, Babu Shanmugam wrote: > > > On Wednesday 16 November 2016 11:45 AM, Babu Shanmugam wrote: > > > > On Tuesday 15 November 2016 08:11 PM, Russell Bryant wrote: > > > > On Tue, Nov 15, 2016 at 6:19 AM, wrote: > >> From:

Re: [ovs-dev] [PATCH] sflow: Expose ethernet and vlan stats via sFlow

2016-11-16 Thread Neil McKee
If there is only one VLAN then the numbers are redundant - already exported in the struct if_counters. The vlan_counters structure was never intended to be exported by an interface. It was designed for the (rarely used) vlan datasource -- that's why the counters in it are not directional. So I

Re: [ovs-dev] [PATCH] netdev: Fix sockaddr cast warning.

2016-11-16 Thread Thadeu Lima de Souza Cascardo
On Tue, Nov 15, 2016 at 09:15:26PM -0800, Pravin B Shelar wrote: > Following warning was reported by Travis:- > > lib/netdev.c:1916:19: error: cast from 'struct sockaddr *' to 'struct > sockaddr_in *' increases required alignment from 2 to 4 > [-Werror,-Wcast-align] > sin = (struct

Re: [ovs-dev] [PATCH] sflow: Expose ethernet and vlan stats via sFlow

2016-11-16 Thread Robert Wojciechowicz
On Tue, Nov 15, 2016 at 11:13:10PM -0700, Neil McKee wrote: > Hi Robert, > > (3) adding vlan counters for every vlan that an interface belongs to -- I > not sure about this one. What if an interface is on a whole set of vlans? > This vlan counters structure has hardly ever been used.

Re: [ovs-dev] FW: OVS 2.6.1 DPDK 16.07 issue: pthread_mutex_lock failed (Resource deadlock avoided) in

2016-11-16 Thread Yang, Yi Y
Daniele, thank you, I checked vxlan port again, it is ok, I was using vxlan-gpe port for test, because vxlan-gpe port is l3 port and hasn’t MAC address, that is a doubtable point, I’ll continue to debug it. From: Daniele Di Proietto [mailto:diproiet...@ovn.org] Sent: Wednesday, November 16,

Re: [ovs-dev] [PATCHv2] lib: Use nl_attr_get_odp_port().

2016-11-16 Thread Simon Horman
On Mon, Nov 14, 2016 at 01:29:05PM -0800, Joe Stringer wrote: > This helper is a little tidier than the alternative. Use it treewide. > > Signed-off-by: Joe Stringer Acked-by: Simon Horman ___ dev mailing

Re: [ovs-dev] [PATCH 1/1] : Add Clear statistics support at interface level

2016-11-16 Thread ravali.burra
Hi Aaron, As you suggested I have attached the patch. Please find the attached patch and let me know your comments.. -Original Message- From: Aaron Conole [mailto:acon...@redhat.com] Sent: Monday, November 14, 2016 9:15 PM To: Ravali Burra Cc:

[ovs-dev] [PATCH v6 4/4] ovn: Add ovndb servers ocf script in debian packager

2016-11-16 Thread Babu Shanmugam
The OCF script will be present in the ovn-common package and installed in the openvswitch scripts folder and a symbolic link to this file will be created in the OCF resources folder. The OCF resource agent name for this resource is ocf:ovn:ovndb-servers Signed-off-by: Babu Shanmugam

[ovs-dev] [PATCH v6 2/4] ovn: OCF script for OVN OVSDB servers

2016-11-16 Thread Babu Shanmugam
Co-authored-by: Numan Siddique Signed-off-by: Numan Siddique Co-authored-by: Andrew Beekhof Signed-off-by: Andrew Beekhof Signed-off-by: Babu Shanmugam --- IntegrationGuide.rst

[ovs-dev] [PATCH v6 0/4] High availability support for OVN DB servers using pacemaker

2016-11-16 Thread Babu Shanmugam
v5 -> v6: - Added more text to the man page of ovn-ctl and some more information to the integration guide. This patch contains changes required to run a pacemaker resource agent to manage OVN db servers in active/standby mode in a HA cluster. Babu Shanmugam (4): ovn: ovn-ctl support for

Re: [ovs-dev] [PATCH] rhel: Environment file option for northd service

2016-11-16 Thread Babu Shanmugam
On Wednesday 16 November 2016 11:45 AM, Babu Shanmugam wrote: On Tuesday 15 November 2016 08:11 PM, Russell Bryant wrote: On Tue, Nov 15, 2016 at 6:19 AM, > wrote: From: Babu Shanmugam