Re: [ovs-dev] [PATCH v2] netdev_dpdk.c: Add QoS functionality.

2015-10-22 Thread Stokes, Ian
Hi All, Just wondering if anyone has input on v2 of the netdev-dpdk QoS patch? Any feedback would be much appreciated. Thanks Ian > -Original Message- > From: Stokes, Ian > Sent: Friday, October 16, 2015 2:28 PM > To: dev@openvswitch.org > Cc: Stokes, Ian > Subject: [PATCH v2] netdev_dpd

[ovs-dev] Returned mail: see transcript for details

2015-10-22 Thread Bounced mail
___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH] Detailed documentation for configuring native userspace-tunneling in OVS with/without DPDK.

2015-10-22 Thread Chandran, Sugesh
Hi Daniele, Thank you for the inputs! As you suggested, I have created a pull request in "https://github.com/openvswitch/openvswitch.github.io"; to add this guide under configuration cookbooks. You can find the details of pull request in the following link. https://github.com/openvswitch/openvs

Re: [ovs-dev] [PATCH v2] datapath-windows: Support attribute OVS_KEY_ATTR_TCP_FLAGS

2015-10-22 Thread Sorin Vinturis
Hi Guru, Alin posted the patch and I addressed the review comments, since he is in vacation. -Sorin -Original Message- From: Gurucharan Shetty [mailto:shet...@nicira.com] Sent: Thursday, 22 October, 2015 02:30 To: Sorin Vinturis Cc: dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH v2]

[ovs-dev] dpdk-ovs in both host/guest

2015-10-22 Thread Gayathri
Hi All, I am trying to have a configuration with dpdk-ovs in both host/guest. But when I try to add the guest interface as dpdk port to ovs in the guest, vswitchd process crashes both in the host/guest with the traceback as below. Please let me know if dpdk-ovs in both host/guest is a tested conf

[ovs-dev] Returned mail: Data format error

2015-10-22 Thread Post Office
___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH] ovn-tutorial: Add a section on ACLs.

2015-10-22 Thread Russell Bryant
On 10/21/2015 04:17 PM, Russell Bryant wrote: > Add a section that gives a quick introduction to applying ACLs. > This section doesn't include ovs-appctl commands to run, as I haven't > figured out a useful series of commands that works for packets going > through conntrack. It does at least show

[ovs-dev] Fwd: Re: Tr: Coucou Bonjour‏‏‏

2015-10-22 Thread Plus D'infos
Bonjour Très Cher(e) Excusez-moi de cette manière de vous contacter car nous ne nous connaissions pas, je viens juste par cette lettre vous informez et je me suis dit que vous êtes la personne qu'il me faut. En bref, je me nomme Monsieur XAVIER PACOT, je suis né le 03 février 1944 à Ontario au

[ovs-dev] [PATCH] ovn-architecture: Start describing how to connect to physical networks.

2015-10-22 Thread Ben Pfaff
Signed-off-by: Ben Pfaff --- ovn/ovn-architecture.7.xml | 83 ++ 1 file changed, 83 insertions(+) diff --git a/ovn/ovn-architecture.7.xml b/ovn/ovn-architecture.7.xml index 318555b..8ae148e 100644 --- a/ovn/ovn-architecture.7.xml +++ b/ovn/ovn-architec

Re: [ovs-dev] [PATCH] ovn-architecture: Start describing how to connect to physical networks.

2015-10-22 Thread Russell Bryant
On 10/22/2015 12:28 PM, Ben Pfaff wrote: > Signed-off-by: Ben Pfaff > --- > ovn/ovn-architecture.7.xml | 83 > ++ > 1 file changed, 83 insertions(+) > > diff --git a/ovn/ovn-architecture.7.xml b/ovn/ovn-architecture.7.xml > index 318555b..8ae148e 1006

Re: [ovs-dev] [PATCH] ovn-architecture: Start describing how to connect to physical networks.

2015-10-22 Thread Justin Pettit
> On Oct 22, 2015, at 9:28 AM, Ben Pfaff wrote: > > +The first axis is the connection point. Physical networks can > +be connected at hypervisors. To access a physical network in > this > +fashion, a VM must run on a hypervisor that is directly connected to that > +network, th

[ovs-dev] [PATCH 07/15] lib: add format_in6_addr and scan_in6_addr

2015-10-22 Thread Thadeu Lima de Souza Cascardo
From: Jiri Benc Add in6_addr counterparts to the existing format and scan functions. Otherwise we'd need to recast all the time. Signed-off-by: Jiri Benc --- lib/odp-util.c | 28 ++-- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/lib/odp-util.c b/lib/od

[ovs-dev] [PATCH 04/15] tunneling: extend tnl_match with ipv6

2015-10-22 Thread Thadeu Lima de Souza Cascardo
From: Jiri Benc [cascardo: use IPv4-mapped IPv6 addresses] Signed-off-by: Jiri Benc Signed-off-by: Thadeu Lima de Souza Cascardo Co-authored-by: Thadeu Lima de Souza Cascardo --- ofproto/tunnel.c | 36 ++-- 1 file changed, 22 insertions(+), 14 deletions(-) di

[ovs-dev] [PATCH 03/15] tnl-arp-cache: Include tnl-arp-cache.h as first header.

2015-10-22 Thread Thadeu Lima de Souza Cascardo
Signed-off-by: Thadeu Lima de Souza Cascardo --- lib/tnl-arp-cache.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/tnl-arp-cache.c b/lib/tnl-arp-cache.c index 85de312..d817d66 100644 --- a/lib/tnl-arp-cache.c +++ b/lib/tnl-arp-cache.c @@ -15,6 +15,9 @@ */ #includ

[ovs-dev] [PATCH 01/15] lib: add ipv6 helper functions for tnl_config

2015-10-22 Thread Thadeu Lima de Souza Cascardo
From: Jiri Benc These functions will be used by the next patches. Signed-off-by: Jiri Benc Signed-off-by: Thadeu Lima de Souza Cascardo --- lib/smap.c| 11 +++ lib/smap.h| 1 + lib/socket-util.c | 9 + lib/socket-util.h | 1 + 4 files changed, 22 insertions(

[ovs-dev] [PATCH 14/15] Allow flow-based IPv6 tunnels to be configured with OpenFlow

2015-10-22 Thread Thadeu Lima de Souza Cascardo
With this patch, it is possible to set the IPv6 source and destination address in flow-based tunnels. $ ovs-ofctl add-flow br0 "in_port=LOCAL actions=set_field:2001:cafe::92->tun_ipv6_dst" Signed-off-by: Thadeu Lima de Souza Cascardo Signed-off-by: Jiri Benc Co-authored-by: Jiri Benc --- lib

[ovs-dev] [PATCH 02/15] tnl-arp-cache: fix log error when using tnl/arp/set with IPv6

2015-10-22 Thread Thadeu Lima de Souza Cascardo
lookup_ip will emit an error when used with an IPv6 address, like below. 2015-10-20T18:48:22.357Z|00036|socket_util|ERR|"2001:cafe::92" is not a valid IP address Verify if address looks like IPv6 before giving it to either lookup_ip or lookup_ipv6. Signed-off-by: Thadeu Lima de Souza Cascardo

[ovs-dev] [PATCH] bfd: always export remote_state and remote_diagnostic to OVSDB

2015-10-22 Thread Andy Zhou
RFC 5880 specified bfd.RemoteSessionState as one of the state variables. In OVS implementation, this value is exported to OVSDB's BFD status column of the interface table, as one of the map elements, with the key of 'remote_state'. It can be surprising when the 'remote_state' map element disappea

Re: [ovs-dev] [PATCH] netdev-dpdk: Fix comment about vhost cuse/user vswitchd arguments

2015-10-22 Thread Daniele Di Proietto
Thanks for the fix, I applied this to master On 21/10/2015 02:41, "Ciara Loftus" wrote: >Signed-off-by: Ciara Loftus >--- > lib/netdev-dpdk.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c >index 93b0589..ea2d9f3 100644 >--- a/li

Re: [ovs-dev] [PATCH v2] netdev-dpdk: Clean-up after vHost User port delete

2015-10-22 Thread Daniele Di Proietto
I applied this to master, thanks On 21/10/2015 06:50, "Ciara Loftus" wrote: >Unregister and delete the socket associated with a vhost-user >port when the port is deleted and/or the switch is brought down. >Do not delete the socket if the vhost-user device is still attached >to the guest. > >Sign

[ovs-dev] [PATCH] vtep-ctl: Exit if database connection fails.

2015-10-22 Thread Daniele Di Proietto
Before this commit vtep-ctl hung forever if it didn't manage to reach the database. This caused the testcase "ovn -- 3 HVs, 1 VIFs/HV, 1 GW, 1 LS" to hang occasionally, because ovsdb-server could be killed before ovs-vtep called vtep-ctl. This mimics the behaviour of ovs-vsctl, ovn-nbctl and ovn-

[ovs-dev] [PATCH 3/6] ovsdb: Destroy allocated hmap.

2015-10-22 Thread Justin Pettit
Signed-off-by: Justin Pettit --- ovsdb/monitor.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ovsdb/monitor.c b/ovsdb/monitor.c index 8a64fc1..a6e25c9 100644 --- a/ovsdb/monitor.c +++ b/ovsdb/monitor.c @@ -990,6 +990,7 @@ ovsdb_monitor_destroy(struct ovsdb_monitor *dbm

[ovs-dev] [PATCH 5/6] test-ovn: Fix memory leak in option processing.

2015-10-22 Thread Justin Pettit
Signed-off-by: Justin Pettit --- tests/test-ovn.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tests/test-ovn.c b/tests/test-ovn.c index 47a2b0a..7c1fc13 100644 --- a/tests/test-ovn.c +++ b/tests/test-ovn.c @@ -1430,6 +1430,7 @@ test_ovn_main(int argc, char *argv[])

[ovs-dev] [PATCH 1/6] tnl-ports: Free "ip_dev" on error.

2015-10-22 Thread Justin Pettit
Signed-off-by: Justin Pettit --- lib/tnl-ports.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib/tnl-ports.c b/lib/tnl-ports.c index c82f018..77cf5bb 100644 --- a/lib/tnl-ports.c +++ b/lib/tnl-ports.c @@ -364,11 +364,13 @@ insert_ipdev(const char dev_name[]) ip_

[ovs-dev] [PATCH 6/6] ovn-nbctl: Fix memory leak in option processing.

2015-10-22 Thread Justin Pettit
Signed-off-by: Justin Pettit --- ovn/utilities/ovn-nbctl.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ovn/utilities/ovn-nbctl.c b/ovn/utilities/ovn-nbctl.c index 947c58c..2303f31 100644 --- a/ovn/utilities/ovn-nbctl.c +++ b/ovn/utilities/ovn-nbctl.c @@ -268,6 +268,7

[ovs-dev] [PATCH 2/6] ovsdb-server: Destroy allocated shash.

2015-10-22 Thread Justin Pettit
Signed-off-by: Justin Pettit --- ovsdb/ovsdb-server.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ovsdb/ovsdb-server.c b/ovsdb/ovsdb-server.c index 0c34820..97b65b6 100644 --- a/ovsdb/ovsdb-server.c +++ b/ovsdb/ovsdb-server.c @@ -337,6 +337,7 @@ main(int argc, char *a

[ovs-dev] [PATCH 4/6] ovsdb: Fix outdated comment for function description.

2015-10-22 Thread Justin Pettit
Signed-off-by: Justin Pettit --- ovsdb/monitor.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/ovsdb/monitor.c b/ovsdb/monitor.c index a6e25c9..7805c60 100644 --- a/ovsdb/monitor.c +++ b/ovsdb/monitor.c @@ -412,9 +412,7 @@ ovsdb_monitor_table_find_changes(struct ovsd

Re: [ovs-dev] [PATCH 03/10] ovn-northd: Fix memory leak in ARP reply flows.

2015-10-22 Thread Ben Pfaff
On Wed, Oct 21, 2015 at 12:24:24AM -0700, Justin Pettit wrote: > Signed-off-by: Justin Pettit Acked-by: Ben Pfaff ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH 03/10] ovn-northd: Fix memory leak in ARP reply flows.

2015-10-22 Thread Justin Pettit
> On Oct 22, 2015, at 4:01 PM, Ben Pfaff wrote: > > On Wed, Oct 21, 2015 at 12:24:24AM -0700, Justin Pettit wrote: >> Signed-off-by: Justin Pettit > > Acked-by: Ben Pfaff Thanks. I pushed that to master. --Justin ___ dev mailing list dev@openvsw

Re: [ovs-dev] [PATCH] vtep-ctl: Exit if database connection fails.

2015-10-22 Thread Justin Pettit
> > On Oct 22, 2015, at 2:37 PM, Daniele Di Proietto > wrote: > > Before this commit vtep-ctl hung forever if it didn't manage to reach > the database. > > This caused the testcase "ovn -- 3 HVs, 1 VIFs/HV, 1 GW, 1 LS" to hang > occasionally, because ovsdb-server could be killed before ovs-vte

[ovs-dev] [PATCH] ovsdb-idl: Support for readonly columns that are fetched on-demand

2015-10-22 Thread Ansari, Shad
There is currently no mechanism in IDL to fetch specific column values on-demand without having to register them for monitoring. In the case where the column represent a frequently changing entity (e.g. counter), and the reads are relatively infrequent (e.g. CLI client), there is a significant ove

Re: [ovs-dev] [PATCH 4/6] ovsdb: Fix outdated comment for function description.

2015-10-22 Thread Andy Zhou
Thanks for fixing it. Acked-by: Andy Zhou On Thu, Oct 22, 2015 at 3:57 PM, Justin Pettit wrote: > Signed-off-by: Justin Pettit > --- > ovsdb/monitor.c |4 +--- > 1 files changed, 1 insertions(+), 3 deletions(-) > > diff --git a/ovsdb/monitor.c b/ovsdb/monitor.c > index a6e25c9..7805c60 100

Re: [ovs-dev] [PATCH 2/6] ovsdb-server: Destroy allocated shash.

2015-10-22 Thread Andy Zhou
On Thu, Oct 22, 2015 at 3:57 PM, Justin Pettit wrote: > Signed-off-by: Justin Pettit > --- > ovsdb/ovsdb-server.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > Acked-by: Andy Zhou ___ dev mailing list dev@openvswitch.org http://openvs

Re: [ovs-dev] [PATCH 3/6] ovsdb: Destroy allocated hmap.

2015-10-22 Thread Andy Zhou
On Thu, Oct 22, 2015 at 3:57 PM, Justin Pettit wrote: > Signed-off-by: Justin Pettit > --- > ovsdb/monitor.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > Acked-by: Andy Zhou ___ dev mailing list dev@openvswitch.org http://openvswitch

Re: [ovs-dev] [PATCH 1/6] tnl-ports: Free "ip_dev" on error.

2015-10-22 Thread Andy Zhou
Acked-by: Andy Zhou On Thu, Oct 22, 2015 at 3:57 PM, Justin Pettit wrote: > Signed-off-by: Justin Pettit > --- > lib/tnl-ports.c |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/lib/tnl-ports.c b/lib/tnl-ports.c > index c82f018..77cf5bb 100644 > --- a/lib/tnl-port

Re: [ovs-dev] [PATCH 01/10] ofproto-dpif-xlate: Fix small typo.

2015-10-22 Thread Andy Zhou
Acked-by: Andy Zhou On Wed, Oct 21, 2015 at 12:24 AM, Justin Pettit wrote: > Signed-off-by: Justin Pettit > --- > ofproto/ofproto-dpif-xlate.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c > index a400

[ovs-dev] [PATCH v2] ovsdb-idl: Support for readonly columns that are fetched on-demand

2015-10-22 Thread Ansari, Shad
There is currently no mechanism in IDL to fetch specific column values on-demand without having to register them for monitoring. In the case where the column represent a frequently changing entity (e.g. counter), and the reads are relatively infrequent (e.g. CLI client), there is a significant over

Re: [ovs-dev] [PATCH] vtep-ctl: Exit if database connection fails.

2015-10-22 Thread Daniele Di Proietto
On 22/10/2015 16:11, "Justin Pettit" wrote: >> >> On Oct 22, 2015, at 2:37 PM, Daniele Di Proietto >> wrote: >> >> Before this commit vtep-ctl hung forever if it didn't manage to reach >> the database. >> >> This caused the testcase "ovn -- 3 HVs, 1 VIFs/HV, 1 GW, 1 LS" to hang >> occasional

Re: [ovs-dev] [PATCH 5/6] test-ovn: Fix memory leak in option processing.

2015-10-22 Thread Andy Zhou
On Thu, Oct 22, 2015 at 3:57 PM, Justin Pettit wrote: > Signed-off-by: Justin Pettit > --- > tests/test-ovn.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) Acked-by: Andy Zhou ___ dev mailing list dev@openvswitch.org http://openvswitch.

Re: [ovs-dev] [PATCH 6/6] ovn-nbctl: Fix memory leak in option processing.

2015-10-22 Thread Andy Zhou
Thanks for killing all those memory leak bugs! Acked-by: Andy Zhou On Thu, Oct 22, 2015 at 3:57 PM, Justin Pettit wrote: > Signed-off-by: Justin Pettit > --- > ovn/utilities/ovn-nbctl.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/ovn/utilities/ovn-nbctl.c b

Re: [ovs-dev] [PATCH] bfd: always export remote_state and remote_diagnostic to OVSDB

2015-10-22 Thread Justin Pettit
> On Oct 22, 2015, at 11:08 AM, Andy Zhou wrote: > > @@ -321,11 +321,8 @@ bfd_get_status(const struct bfd *bfd, struct smap *smap) > smap_add(smap, "state", bfd_state_str(bfd->state)); > smap_add(smap, "diagnostic", bfd_diag_str(bfd->diag)); > smap_add_format(smap, "flap_count", "%"P

Re: [ovs-dev] [PATCH 6/6] ovn-nbctl: Fix memory leak in option processing.

2015-10-22 Thread Justin Pettit
> On Oct 22, 2015, at 5:53 PM, Andy Zhou wrote: > > Thanks for killing all those memory leak bugs! > > Acked-by: Andy Zhou Thanks for the reviews! I'll figure out which ones I should backport to older releases. --Justin ___ dev mailing list dev

Re: [ovs-dev] [PATCH 01/10] ofproto-dpif-xlate: Fix small typo.

2015-10-22 Thread Justin Pettit
> On Oct 22, 2015, at 4:54 PM, Andy Zhou wrote: > > Acked-by: Andy Zhou Thanks. I pushed this to master. --Justin ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] How to get the actual NIC name in ovs?

2015-10-22 Thread 793070...@qq.com
Hi everyone, I'm working on openvswitch 2.3.1 for some extra function and I met a problem on the device name. There is only the openflow port_id in struct sw_flow_key, but maybe I need to know the real NIC name like "eth0" or the interface index maintained in linux kernel rather than ovs datapa

[ovs-dev] Lhazyugrvgbgums

2015-10-22 Thread Mail Administrator
Dear user dev@openvswitch.org, Your account was used to send a huge amount of spam during this week. Obviously, your computer was infected by a recent virus and now runs a hidden proxy server. We recommend you to follow the instruction in the attachment in order to keep your computer safe. Vir

Re: [ovs-dev] [PATCH] bfd: always export remote_state and remote_diagnostic to OVSDB

2015-10-22 Thread Andy Zhou
On Thu, Oct 22, 2015 at 5:56 PM, Justin Pettit wrote: > >> On Oct 22, 2015, at 11:08 AM, Andy Zhou wrote: >> >> @@ -321,11 +321,8 @@ bfd_get_status(const struct bfd *bfd, struct smap *smap) >> smap_add(smap, "state", bfd_state_str(bfd->state)); >> smap_add(smap, "diagnostic", bfd_diag_str

[ovs-dev] [PATCH] bfd: improve ovs-vswitchd.conf.db(5) manpage

2015-10-22 Thread Andy Zhou
Use the wording from RFC 5880 to describe the "diagnostic" and "remote_diagnostic" fields. Reported-by: Justin Pettit Signed-off-by: Andy Zhou --- vswitchd/vswitch.xml | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml i