[ovs-dev] openvswitch 1.10 install error

2015-02-24 Thread AMER
Hello, while upgrading my openvswitch to 1.10 I faced this error: ERROR: Module openvswitch does not exist in /proc/modules May you tell me how to sort it I am using mininet v2.0 Best regards, Eng Amer Alghadhban COE SANS-GCFW CEH, SCNP, CCNA

Re: [ovs-dev] [FreeBSD fix] netdev-bsd: Do not change the name of tap device.

2015-02-24 Thread Alex Wang
Sorry for the spam, I'm about to drop the patch, From the manual, https://www.freebsd.org/cgi/man.cgi?format=html&query=tap(4) It says that the tap devices "persist until if_tap.ko module is unloaded, or until removed with "ifconfig destroy". And that's why I encountered the ENODEV error when 'k

[ovs-dev] [PATCH] OpenFlow 1.5 is final, so change OF1.5 draft references to just say OF1.5.

2015-02-24 Thread Ben Pfaff
Reported-by: Jean Tourrilhes Signed-off-by: Ben Pfaff --- NEWS | 8 lib/meta-flow.h | 4 ++-- lib/ofp-actions.c| 4 ++-- utilities/ovs-ofctl.8.in | 8 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/NEWS b/NEWS index 57ab8b6

Re: [ovs-dev] [ovs-discuss] query related to GRE encapsulation

2015-02-24 Thread Chetan Bali
Hi Ben, Checked out the function format_odp_key_attr(), it has the correct parameters in form of struct ds->string. This string shows correct set of tunnelling params. But we need to do parsing in dpif class. Can you suggest how can we do this? Looks like we aren't doing the correct netlink par

[ovs-dev] N WEAVESSLAGGD

2015-02-24 Thread careers
Message could not be delivered ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] delivery failed

2015-02-24 Thread Returned mail
The original message was received at Wed, 25 Feb 2015 11:27:50 +0700 from 28.125.76.159 - The following addresses had permanent fatal errors - dev@openvswitch.org ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinf

[ovs-dev] Returned mail: Data format error

2015-02-24 Thread MAILER-DAEMON
Dear user dev@openvswitch.org, Your account was used to send a large amount of spam messages during the recent week. Obviously, your computer was compromised and now runs a hidden proxy server. Please follow instructions in order to keep your computer safe. Best wishes, The openvswitch.org team

Re: [ovs-dev] [PATCHv3] lib: upgrade to DPDK v1.8.0

2015-02-24 Thread Pravin Shelar
On Tue, Feb 24, 2015 at 11:29 AM, Kavanagh, Mark B wrote: >> On 02/17/2015 11:20 PM, Mark Kavanagh wrote: >> > DPDK v1.8.0 makes significant changes to struct rte_mbuf, including >> > removal of the 'pkt' and 'data' fields. The latter, formally a >> > pointer, is now calculated via an offset from

[ovs-dev] [PATCH 1/7] ofproto-dpif-xlate: Don't translate action set when dropping.

2015-02-24 Thread Jarno Rajahalme
Translate action set only if not dropping the packet. Signed-off-by: Jarno Rajahalme --- ofproto/ofproto-dpif-xlate.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c index 5b9f1c8..a3a0e4d 100644 --- a/ofp

[ovs-dev] [PATCH 3/7] ofproto-dpif-xlate: Free recirculation ID in an error case.

2015-02-24 Thread Jarno Rajahalme
Signed-off-by: Jarno Rajahalme --- ofproto/ofproto-dpif-xlate.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c index a3a0e4d..1133a06 100644 --- a/ofproto/ofproto-dpif-xlate.c +++ b/ofproto/ofproto-dpif-xlate.c @@ -3293,6 +329

Re: [ovs-dev] [PATCH 7/7] ofproto-dpif: Restore metadata and registers on recirculation.

2015-02-24 Thread Jarno Rajahalme
> On Feb 24, 2015, at 3:42 PM, Jarno Rajahalme wrote: > > Signed-off-by: Jarno Rajahalme >Summary: Sorry for this garbage line. Jarno ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/d

[ovs-dev] [PATCH 6/7] ofproto-dpif-upcall: Create ukey only for miss upcalls.

2015-02-24 Thread Jarno Rajahalme
There is no point trying to create ukeys for non-miss upcalls, such as upcalls due to an explicit userspace actions. Signed-off-by: Jarno Rajahalme --- ofproto/ofproto-dpif-upcall.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/

[ovs-dev] [PATCH 5/7] ofproto-dpif-xlate: Fix indentation.

2015-02-24 Thread Jarno Rajahalme
Signed-off-by: Jarno Rajahalme --- ofproto/ofproto-dpif-xlate.c | 48 +- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c index 3f866ce..718c494 100644 --- a/ofproto/ofproto-dpif-x

[ovs-dev] [PATCH 4/7] ofproto-dpif-xlate: Only generate recirculation flows when have a packet.

2015-02-24 Thread Jarno Rajahalme
Traces should not modify the flow table without the a packet or "-generate" option. This patch also adds further testing to verify that MPLS recirculation works. Signed-off-by: Jarno Rajahalme --- ofproto/ofproto-dpif-xlate.c | 59 -- tests/mpls-xlate.a

[ovs-dev] [PATCH 2/7] odp-util: Fix scanning of recirc_id.

2015-02-24 Thread Jarno Rajahalme
Recirculation id was scanned without a mask, which led to it being ignored. Signed-off-by: Jarno Rajahalme --- lib/odp-util.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/odp-util.c b/lib/odp-util.c index 7c85ece..dc1e7dc 100644 --- a/lib/odp-util.c +++ b/lib/

[ovs-dev] [FreeBSD fix] netdev-bsd: Do not change the name of tap device.

2015-02-24 Thread Alex Wang
In FreeBSD, the 'SIOCSIFNAME' is not a supported ioctl call for tap device. However, the current OVS code uses it to rename the 'internal' interface in dpif-netdev datapath and causes 'ENODEV' error. This commit fixes it by removing the rename and just using the default tap device name. Signed-o

Re: [ovs-dev] Is patchwork.openvswitch.org dead?

2015-02-24 Thread Ben Pfaff
On Tue, Feb 24, 2015 at 03:44:33PM -0500, Mussar, Gary wrote: > I looks like there hasn't been any updates on > patchwork.openvswitch.org since Oct 23, 2014 and the patches that > are there have not been acted on since then. I have seen patches on > the mailing list so there are patches floating ab

[ovs-dev] Is patchwork.openvswitch.org dead?

2015-02-24 Thread Mussar, Gary
I looks like there hasn't been any updates on patchwork.openvswitch.org since Oct 23, 2014 and the patches that are there have not been acted on since then. I have seen patches on the mailing list so there are patches floating about. Is there some other mechanism to track these patches? Is some

Re: [ovs-dev] [PATCHv3] lib: upgrade to DPDK v1.8.0

2015-02-24 Thread Kavanagh, Mark B
> On 02/17/2015 11:20 PM, Mark Kavanagh wrote: > > DPDK v1.8.0 makes significant changes to struct rte_mbuf, including > > removal of the 'pkt' and 'data' fields. The latter, formally a > > pointer, is now calculated via an offset from the start of the > > segment buffer. These fields are reference

Re: [ovs-dev] [v2 2/2] ovsdb: Raise the jsonrpc server session limit

2015-02-24 Thread Andy Zhou
Pushed, added comment about 330 being a random choice. On Tue, Feb 24, 2015 at 10:12 AM, Andy Zhou wrote: > I missed your comment on v1. I agree. Will add a comment. > > On Tue, Feb 24, 2015 at 10:10 AM, Justin Pettit wrote: >> No, but since it's a random number, I think it would be good to ex

Re: [ovs-dev] [v2 1/2] ovsdb: Warn about reaching max session limit

2015-02-24 Thread Andy Zhou
Thanks for review. Pushed to master with the style change Russell suggested. On Tue, Feb 24, 2015 at 10:21 AM, Ben Pfaff wrote: > On Tue, Feb 24, 2015 at 09:58:28AM -0800, Andy Zhou wrote: >> Without the log message, it was not obvious why ovsdb-server no longer >> accepts new connections when t

Re: [ovs-dev] [PATCH v3] [RFC] ovn: Start work on design documentation.

2015-02-24 Thread Ben Pfaff
On Tue, Feb 24, 2015 at 06:19:55PM +0100, Russell Bryant wrote: > On 02/24/2015 05:47 PM, Ben Pfaff wrote: > > On Tue, Feb 24, 2015 at 05:46:04PM +0100, Russell Bryant wrote: > >> On 02/24/2015 05:43 PM, Ben Pfaff wrote: > >>> On Tue, Feb 24, 2015 at 05:37:53PM +0100, Russell Bryant wrote: > O

Re: [ovs-dev] [ovs-discuss] query related to GRE encapsulation

2015-02-24 Thread Ben Pfaff
Have you looked at the code in odp-util.c that prints these structures, e.g. format_odp_key_attr()? On Tue, Feb 24, 2015 at 05:00:31PM +, Chetan Bali wrote: > Hi Ben, > > Thanks for the quick response. Please find the code snippet below: > > This below function is called from flow_put in dpi

Re: [ovs-dev] [v2 1/2] ovsdb: Warn about reaching max session limit

2015-02-24 Thread Ben Pfaff
On Tue, Feb 24, 2015 at 09:58:28AM -0800, Andy Zhou wrote: > Without the log message, it was not obvious why ovsdb-server no longer > accepts new connections when the session limit was reached. This patch > adds a log message to make it obvious. > > Signed-off-by: Andy Zhou Acked-by: Ben Pfaff

Re: [ovs-dev] [v2 1/2] ovsdb: Warn about reaching max session limit

2015-02-24 Thread Russell Bryant
On 02/24/2015 06:58 PM, Andy Zhou wrote: > Without the log message, it was not obvious why ovsdb-server no longer > accepts new connections when the session limit was reached. This patch > adds a log message to make it obvious. > > Signed-off-by: Andy Zhou > > -- > v1->v2: >make sure ovs

Re: [ovs-dev] [v2 2/2] ovsdb: Raise the jsonrpc server session limit

2015-02-24 Thread Andy Zhou
I missed your comment on v1. I agree. Will add a comment. On Tue, Feb 24, 2015 at 10:10 AM, Justin Pettit wrote: > No, but since it's a random number, I think it would be good to explain why > it was chosen in the source code; otherwise, it looks meaningful. > > --Justin > > >> On Feb 24, 2015,

Re: [ovs-dev] [v2 2/2] ovsdb: Raise the jsonrpc server session limit

2015-02-24 Thread Justin Pettit
No, but since it's a random number, I think it would be good to explain why it was chosen in the source code; otherwise, it looks meaningful. --Justin > On Feb 24, 2015, at 10:08 AM, Andy Zhou wrote: > > It is a random number. Since the goal is to scale from tens of > connections to hundreds

Re: [ovs-dev] [v2 2/2] ovsdb: Raise the jsonrpc server session limit

2015-02-24 Thread Andy Zhou
It is a random number. Since the goal is to scale from tens of connections to hundreds of connection, 330 seems like a good first step. Is there another number you'd prefer? On Tue, Feb 24, 2015 at 10:01 AM, Justin Pettit wrote: > Can you comment on why 330 was chosen? > > --Justin > > >> On Fe

Re: [ovs-dev] [PATCH 1/2] ovsdb: Warn about reaching max session limit

2015-02-24 Thread Andy Zhou
Thanks Russell and Ben for the quick review. I've sent out v2 that removes this unintended logic change. On Tue, Feb 24, 2015 at 8:34 AM, Ben Pfaff wrote: > On Tue, Feb 24, 2015 at 01:36:20PM +0100, Russell Bryant wrote: >> On 02/24/2015 08:43 AM, Andy Zhou wrote: >> > Without the log message, it

Re: [ovs-dev] [v2 2/2] ovsdb: Raise the jsonrpc server session limit

2015-02-24 Thread Justin Pettit
Can you comment on why 330 was chosen? --Justin > On Feb 24, 2015, at 9:58 AM, Andy Zhou wrote: > > Raise the connection limit to allow larger number of concurrent > ovsdb-server connections. Note, ovsdb-server may not perform well > at the new limit. It is rather a prelude to further scaling

[ovs-dev] [v2 2/2] ovsdb: Raise the jsonrpc server session limit

2015-02-24 Thread Andy Zhou
Raise the connection limit to allow larger number of concurrent ovsdb-server connections. Note, ovsdb-server may not perform well at the new limit. It is rather a prelude to further scaling tests and optimizations. Signed-off-by: Andy Zhou --- This limit is currently hard coded. Should we make i

[ovs-dev] [v2 1/2] ovsdb: Warn about reaching max session limit

2015-02-24 Thread Andy Zhou
Without the log message, it was not obvious why ovsdb-server no longer accepts new connections when the session limit was reached. This patch adds a log message to make it obvious. Signed-off-by: Andy Zhou -- v1->v2: make sure ovsdb_jsonrpc_session_run_all() is always called. --- ovsdb/j

Re: [ovs-dev] [PATCH v3] [RFC] ovn: Start work on design documentation.

2015-02-24 Thread Russell Bryant
On 02/24/2015 05:47 PM, Ben Pfaff wrote: > On Tue, Feb 24, 2015 at 05:46:04PM +0100, Russell Bryant wrote: >> On 02/24/2015 05:43 PM, Ben Pfaff wrote: >>> On Tue, Feb 24, 2015 at 05:37:53PM +0100, Russell Bryant wrote: On 02/20/2015 07:19 AM, Ben Pfaff wrote: > This commit adds preliminary

Re: [ovs-dev] [PATCH 2/2] ovsdb: Raise the jsonrpc server session limit

2015-02-24 Thread Justin Pettit
> On Feb 24, 2015, at 8:38 AM, Ben Pfaff wrote: > > On Mon, Feb 23, 2015 at 11:43:37PM -0800, Andy Zhou wrote: >> Raise the connection limit to allow larger number of concurrent >> ovsdb-server connections. Note, ovsdb-server may not perform well >> at the new limit. It is rather a prelude to fu

Re: [ovs-dev] [ovs-discuss] query related to GRE encapsulation

2015-02-24 Thread Chetan Bali
Hi Ben, Thanks for the quick response. Please find the code snippet below: This below function is called from flow_put in dpif class code. uint8_t dpif_tunnel_parse_actions(s_action_t *action_list, const struct nlattr *actions, size_t actions_len, struct flow_tnl *tun_param) { if(OVS_LIKELY(NUL

Re: [ovs-dev] [PATCH v3] [RFC] ovn: Start work on design documentation.

2015-02-24 Thread Ben Pfaff
On Tue, Feb 24, 2015 at 05:46:04PM +0100, Russell Bryant wrote: > On 02/24/2015 05:43 PM, Ben Pfaff wrote: > > On Tue, Feb 24, 2015 at 05:37:53PM +0100, Russell Bryant wrote: > >> On 02/20/2015 07:19 AM, Ben Pfaff wrote: > >>> This commit adds preliminary design documentation for Open Virtual > >>

Re: [ovs-dev] [RFC 1/3] ovs-appctl-bashcomp: Keep naming consistency.

2015-02-24 Thread Ben Pfaff
On Mon, Feb 23, 2015 at 08:48:58AM -0800, Alex Wang wrote: > Before adding the completion script ovs-vsctl-bashcomp.bash for > ovs-vsctl command, this commit renames the ovs-command-compgen.bash > to ovs-appctl-bashcomp.bash to keep the script naming consistent. > > Signed-off-by: Alex Wang Acke

Re: [ovs-dev] [PATCH v3] [RFC] ovn: Start work on design documentation.

2015-02-24 Thread Russell Bryant
On 02/24/2015 05:43 PM, Ben Pfaff wrote: > On Tue, Feb 24, 2015 at 05:37:53PM +0100, Russell Bryant wrote: >> On 02/20/2015 07:19 AM, Ben Pfaff wrote: >>> This commit adds preliminary design documentation for Open Virtual Network, >>> or OVN, a new OVS-based project to add support for virtual netwo

Re: [ovs-dev] [ovs-discuss] query related to GRE encapsulation

2015-02-24 Thread Ben Pfaff
On Tue, Feb 24, 2015 at 01:33:29PM +, Chetan Bali wrote: > I am configuring gre-port in my ovs bridge, for establishing gre-tunnel > between 2 machines. I am trying to parse the tunnelling key params sent by > OVS while adding flow, when it sets action as OVS_ACTION_ATTR_SET. I am > parsing

Re: [ovs-dev] [PATCH v3] [RFC] ovn: Start work on design documentation.

2015-02-24 Thread Ben Pfaff
On Tue, Feb 24, 2015 at 05:37:53PM +0100, Russell Bryant wrote: > On 02/20/2015 07:19 AM, Ben Pfaff wrote: > > This commit adds preliminary design documentation for Open Virtual Network, > > or OVN, a new OVS-based project to add support for virtual networking to > > OVS, initially with OpenStack i

Re: [ovs-dev] [PATCH 2/2] ovsdb: Raise the jsonrpc server session limit

2015-02-24 Thread Ben Pfaff
On Mon, Feb 23, 2015 at 11:43:37PM -0800, Andy Zhou wrote: > Raise the connection limit to allow larger number of concurrent > ovsdb-server connections. Note, ovsdb-server may not perform well > at the new limit. It is rather a prelude to further scaling tests and > optimizations. > > Signed-off-b

Re: [ovs-dev] [PATCH v3] [RFC] ovn: Start work on design documentation.

2015-02-24 Thread Russell Bryant
On 02/20/2015 07:19 AM, Ben Pfaff wrote: > This commit adds preliminary design documentation for Open Virtual Network, > or OVN, a new OVS-based project to add support for virtual networking to > OVS, initially with OpenStack integration. I had another thought about the OpenStack integration. I d

Re: [ovs-dev] [PATCH 1/2] ovsdb: Warn about reaching max session limit

2015-02-24 Thread Ben Pfaff
On Tue, Feb 24, 2015 at 01:36:20PM +0100, Russell Bryant wrote: > On 02/24/2015 08:43 AM, Andy Zhou wrote: > > Without the log message, it was not obvious why ovsdb-server no longer > > accepts new connections when the session limit was reached. This patch > > adds a log message to make it obvious.

Re: [ovs-dev] [Qestion] netdev-dpdk: dpdk vhost ports

2015-02-24 Thread Marcel Apfelbaum
On 02/24/2015 05:13 PM, Loftus, Ciara wrote: Hi Marcel, On 02/23/2015 12:57 PM, Marcel Apfelbaum wrote: Hi, I CC-ed the developers that submitted the patch. Thanks again, Marcel Hi, Thank you for responding to my mail! Regarding patch: [ovs-dev] [PATCH RFC v6 1/1] netdev-dpdk: add dpdk

Re: [ovs-dev] [Qestion] netdev-dpdk: dpdk vhost ports

2015-02-24 Thread Loftus, Ciara
Hi Marcel, On 02/23/2015 12:57 PM, Marcel Apfelbaum wrote: > Hi, I CC-ed the developers that submitted the patch. Thanks again, Marcel > > Regarding patch: [ovs-dev] [PATCH RFC v6 1/1] netdev-dpdk: add dpdk > vhost ports > http://openvswitch.org/pipermail/dev/2015-January/050279.html > > What

Re: [ovs-dev] Passing 'CFLAGS' to 'configure' or 'make' kills performance - DPDK datapath

2015-02-24 Thread Finucane, Stephen
> Hi Stephen, > > The userspace fastpath backed by DPDK, more than other OVS components, > performs a lot worse when optimizations are disabled. We ended up > recommending "extreme" optimization flags in INSTALL.md ("-O3 > -march=native", ok if you don't need to run your build elsewhere). > > Tha

[ovs-dev] query related to GRE encapsulation

2015-02-24 Thread Chetan Bali
Hi, I am configuring gre-port in my ovs bridge, for establishing gre-tunnel between 2 machines. I am trying to parse the tunnelling key params sent by OVS while adding flow, when it sets action as OVS_ACTION_ATTR_SET. I am parsing the tun-key attributes in dpif-linux.c in exact manner as ovs do

Re: [ovs-dev] [PATCH 1/2] ovsdb: Warn about reaching max session limit

2015-02-24 Thread Russell Bryant
On 02/24/2015 08:43 AM, Andy Zhou wrote: > Without the log message, it was not obvious why ovsdb-server no longer > accepts new connections when the session limit was reached. This patch > adds a log message to make it obvious. > > Signed-off-by: Andy Zhou > --- > ovsdb/jsonrpc-server.c | 9