Re: [ovs-dev] [PATCH] classifier: Fix race condition leading to NULL dereference.

2016-04-16 Thread Ben Pfaff
On Sat, Apr 16, 2016 at 09:28:40PM -0700, Jarno Rajahalme wrote: > Addition of table versioning exposed struct cls_rule member > 'cls_match' to RCU readers and made it possible for > 'cls_match' become NULL while being accessed by an RCU reader, but we failed > to check for this condition. This ma

[ovs-dev] [PATCH] classifier: Fix race condition leading to NULL dereference.

2016-04-16 Thread Jarno Rajahalme
Addition of table versioning exposed struct cls_rule member 'cls_match' to RCU readers and made it possible for 'cls_match' become NULL while being accessed by an RCU reader, but we failed to check for this condition. This may have resulted in NULL pointer dereference and ovs-vswitchd crash. Fix

[ovs-dev] Returned mail: Data format error

2016-04-16 Thread lark
Dear user dev@openvswitch.org, Your e-mail account has been used to send a huge amount of spam messages during the last week. Most likely your computer had been infected by a recent virus and now contains a trojaned proxy server. We recommend you to follow our instruction in the attached text f

[ovs-dev] [PATCH 1/2] doc: Refactor DPDK install documentation

2016-04-16 Thread Bhanuprakash Bodireddy
Refactor the INSTALL.DPDK in to two documents named INSTALL.DPDK and INSTALL.DPDK-ADVANCED. While INSTALL.DPDK document shall facilitate the novice user in setting up the OVS DPDK and running it out of box, the ADVANCED document is targeted at expert users looking for the optimum performance runnin

[ovs-dev] [PATCH v2 0/2] doc: Refactor DPDK install guide

2016-04-16 Thread Bhanuprakash Bodireddy
This patchset refactors the present INSTALL.DPDK.md guide. The INSTALL guide is split in to two documents named INSTALL.DPDK and INSTALL.DPDK-ADVANCED. The former document is simplified with emphasis on installation, basic testcases and targets novice users. Sections on system configuration, perfo

[ovs-dev] [PATCH 2/2] doc: Refactor DPDK install guide, add ADVANCED doc

2016-04-16 Thread Bhanuprakash Bodireddy
Add INSTALL.DPDK-ADVANCED document that is forked off from original INSTALL.DPDK guide. This document is targeted at users looking for optimum performance on OVS using dpdk datapath. Signed-off-by: Bhanuprakash Bodireddy --- INSTALL.DPDK-ADVANCED.md | 804

[ovs-dev] [PATCH] datapath-windows: Sample action support.

2016-04-16 Thread Sorin Vinturis
This patch adds support for sampling to the OVS extension. The following flow was used for generating sample actions: ovs-ofctl add-flow tcp:127.0.0.1: "actions=sample( probability=12345,collector_set_id=23456,obs_domain_id=34567, obs_point_id=45678)" Signed-off-by: Sorin Vinturis

Re: [ovs-dev] [PATCH] ovn: Fix the port secuirty test failure by adding a sleep of 2 sec.

2016-04-16 Thread Ben Pfaff
On Sat, Apr 16, 2016 at 04:42:18PM +0530, Numan Siddique wrote: > Added a sleep of 2 seconds before generating a test packet in ovn.at > so that ovn-northd reads the northbound db changes and updates the > southbound db. > > Signed-off-by: Numan Siddique Applied, thanks!

Re: [ovs-dev] [PATCH v2] ovn-northd: Handle IPv4 addresses with prefixes in lport port security

2016-04-16 Thread Ben Pfaff
On Sat, Apr 16, 2016 at 03:07:23PM +0530, Numan Siddique wrote: > On Fri, Apr 15, 2016 at 9:19 PM, Russell Bryant wrote: > > > > > > > On Thu, Apr 14, 2016 at 5:22 PM, Ben Pfaff wrote: > > > >> On Fri, Apr 08, 2016 at 11:21:16PM +0530, Numan Siddique wrote: > >> > Initial implementation of port

[ovs-dev] [PATCH] ovn: Fix the port secuirty test failure by adding a sleep of 2 sec.

2016-04-16 Thread Numan Siddique
Added a sleep of 2 seconds before generating a test packet in ovn.at so that ovn-northd reads the northbound db changes and updates the southbound db. Signed-off-by: Numan Siddique --- tests/ovn.at | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ovn.at b/tests/ovn.at index 30ca127..6

Re: [ovs-dev] [PATCH v2] ovn-northd: Handle IPv4 addresses with prefixes in lport port security

2016-04-16 Thread Numan Siddique
On Fri, Apr 15, 2016 at 9:19 PM, Russell Bryant wrote: > > > On Thu, Apr 14, 2016 at 5:22 PM, Ben Pfaff wrote: > >> On Fri, Apr 08, 2016 at 11:21:16PM +0530, Numan Siddique wrote: >> > Initial implementation of port security, missed out this feature. >> > >> > Reported-by: Na Zhu >> > Reported-

Re: [ovs-dev] Open Source Code for NSH.

2016-04-16 Thread Vikram Choudhary
Hi Mano, You can refer to: https://github.com/yyang13/ovs_nsh_patches https://github.com/openstack/fuel-plugin-ovs/tree/master/ovs-nsh/patches http://artifacts.opnfv.org/sfc/docs/design/architecture.html#ovs-nsh-patch-workaround Hope this helps. Thanks Vikram On Sat, Apr 16, 2016 at 12:08 PM,

[ovs-dev] Reply: ovs + dpdk vhost-user match flows but cannot execute actions

2016-04-16 Thread lifuqiong
Hi Mauricio: I changed my qemu version from 2.2.1 to 2.5.0 and the vms can communication with each other. But the VM cannot ping PC in the outside network. They in a same subnet. PC(192.168.0.103/24) ping vm(192.168.0.90); vm’s host’s dpdk NIC and PC are in a L2 switch. And DPDK N