[ovs-discuss] Finding a rule

2016-08-11 Thread Amrane Ait Zeouay
Hey, I'm working on Openvswitch version 2.5.0 for adding new fields, And I found a problem with my implemntation in the function "find_match_wc()" file lib/classifier.c, I want to know when the condition "OVS_UNLIKELY(!wc)" is used, and this condition too "!cmap_node_next(inode)" and the last one

[ovs-discuss] Is it possible deleting all bridges on ovs using a command?

2016-08-11 Thread Taekho Nam
Dear All, Hi, I'm a student from Korea. I'm implementing a simple application using Open vSwich. So, I need a command to delete all bridges at one time. If you know how to do it, Please let me know it. Best Regards, Taekho Nam. ___ discuss mailing list

Re: [ovs-discuss] help - ovs 2.5 flow statistics issues

2016-08-11 Thread Bodireddy, Bhanuprakash
Hello An, I tired reproducing the issue you reported, unfortunately I couldn't reproduce it on my setup. I am using DPDK datapath and OVS Master. I have increased the number of flows and tried at different rates(made sure no packet drops happen) and found the stats always correct. Ouput: cookie

[ovs-discuss] handler threads

2016-08-11 Thread Chandran, Sugesh
Hi, I am looking at the data-path flow insertion in OVS. Specifically the upcall handling in handler threads. According to my understanding, for every new packet-in, the handler threads process the upcall and insert the corresponding rule in dpif. And its done in "udpif_upcall_handler" --> "rec

Re: [ovs-discuss] Supporting QinQ in OVS

2016-08-11 Thread Eric Garver
Hi Tony, There is work currently being done for 802.1ad. Active discussions are on the dev list. Userspace support: http://openvswitch.org/pipermail/dev/2016-July/074337.html http://openvswitch.org/pipermail/dev/2016-August/077136.html Dataplane tests: http://openvswitch.org/pipermai

Re: [ovs-discuss] Finding a rule

2016-08-11 Thread Ben Pfaff
On Thu, Aug 11, 2016 at 01:14:38PM +0200, Amrane Ait Zeouay wrote: > I'm working on Openvswitch version 2.5.0 for adding new fields, And I found > a problem with my implemntation in the function "find_match_wc()" file > lib/classifier.c, I want to know when the condition "OVS_UNLIKELY(!wc)" is > us

Re: [ovs-discuss] Finding a rule

2016-08-11 Thread Amrane Ait Zeouay
No, I'm working with classifier to find the rule. So when the classifier found the rule I need to check that rule. But the problem is when i want the classifier to give me another rule different from the highest rule that matches the flow. Thank you. On 11 Aug 2016 5:45 pm, "Ben Pfaff" wrote: > O

[ovs-discuss] openvswitch on windows

2016-08-11 Thread amine benali
Hello , Have windows machine with Oracle virtual Box on it . would like to have virtual switch there as well . is it possible with this setup ? How can i do that ? Thanks Regards ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/m

Re: [ovs-discuss] Is it possible deleting all bridges on ovs using a command?

2016-08-11 Thread Justin Pettit
> On Aug 11, 2016, at 6:08 AM, Taekho Nam wrote: > > Dear All, > > Hi, I'm a student from Korea. > I'm implementing a simple application using Open vSwich. > So, I need a command to delete all bridges at one time. > > If you know how to do it, Please let me know it. You could pretty easily do

Re: [ovs-discuss] Finding a rule

2016-08-11 Thread Ben Pfaff
You're doing something wrong. The classifier finds a matching rule. There's no need to "check" anything afterward. The classifier doesn't have any provision for finding a "different" rule. On Thu, Aug 11, 2016 at 05:51:40PM +0200, Amrane Ait Zeouay wrote: > No, I'm working with classifier to fin

Re: [ovs-discuss] Is it possible deleting all bridges on ovs using a command?

2016-08-11 Thread Ben Pfaff
On Thu, Aug 11, 2016 at 09:18:16AM -0700, Justin Pettit wrote: > > > On Aug 11, 2016, at 6:08 AM, Taekho Nam wrote: > > > > Dear All, > > > > Hi, I'm a student from Korea. > > I'm implementing a simple application using Open vSwich. > > So, I need a command to delete all bridges at one time. >

Re: [ovs-discuss] Finding a rule

2016-08-11 Thread Amrane Ait Zeouay
I want just to understand how the function classifier_lookup__() works. Because i have the presentation and i need to explain to them about it, and i read your documents but there is nothing how this function works. I found that if there is no wildcard then it will go from the first condition in th

Re: [ovs-discuss] Finding a rule

2016-08-11 Thread Ben Pfaff
Now I'm confused. First, you said that you're adding a new field and found a problem. Now, you said that you're trying to explain how classifier_lookup__() works for a presentation. Which of these is really true? On Thu, Aug 11, 2016 at 08:27:43PM +0200, Amrane Ait Zeouay wrote: > I want just t

Re: [ovs-discuss] Finding a rule

2016-08-11 Thread Amrane Ait Zeouay
Sorry for not explaining, I added the field and it's works really fine, but just I did some modification on classifier_lookup__() especially the function "find_match_wc()" and i just want to know how the OvS find the rules ? so if you could explain to me about the function "find_match_wc()" because

Re: [ovs-discuss] Supporting QinQ in OVS

2016-08-11 Thread Tony van der Peet
Thanks Eric, I've joined the dev list and will be happy to help where I can. Tony On Fri, Aug 12, 2016 at 3:39 AM, Eric Garver wrote: > Hi Tony, > > There is work currently being done for 802.1ad. Active discussions are > on the dev list. > > Userspace support: > http://openvswitch.org/piper

Re: [ovs-discuss] openvswitch on windows

2016-08-11 Thread Alin Serdean
Hi, Could you please describe what are you trying to achieve: I.E. I have a Windows host and I want to run Open vSwitch on it Or I have a windows host with Virtual Box and I want to run Open vSwitch inside of a VM of Virtual Box? Thanks, Alin. From: discuss [mailto:discuss-boun...@openvswitch.o