[ovs-discuss] Problem with compiling Openvswitch and DPDK

2016-08-25 Thread Amrane Ait Zeouay
Hi, I tried to compile openvswitch with DPDK but i got an error, i followed the instuctions in the link https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md but I got a list of errors, the first one is lib/netdev-dpdk.c:708:5: error: too few arguments to function 'rte_vhost_driver_regist

Re: [ovs-discuss] datapath's flow

2016-08-24 Thread Amrane Ait Zeouay
Can you give me a git link for adding a new field in datapath please On 25 Aug 2016 00:03, "Joe Stringer" wrote: > On 24 August 2016 at 00:20, Amrane Ait Zeouay > wrote: > > Hi, > > > > I want to know which function in datapath that receive the flow from > &

[ovs-discuss] datapath's flow

2016-08-24 Thread Amrane Ait Zeouay
Hi, I want to know which function in datapath that receive the flow from userspace, and how it cast it to the flow key in datapath, also which function send the flow in userspace to the datapath ? because i have a field in struct flow and i want to send it to the datapath I already added the fiel

[ovs-discuss] Adding new field

2016-08-22 Thread Amrane Ait Zeouay
Hi, I added a new field in the flow rule but only in userspace. But i didn't find how to add it in datapath because this field is not related to the flow structure (it's not related to the packet like priority) so can you tell me which files do i need to modify or give me a git link of a new field

Re: [ovs-discuss] Wildcard and exact match

2016-08-19 Thread Amrane Ait Zeouay
bits as 0s. > > > > On Fri, Aug 19, 2016 at 10:09:31AM -0700, Justin Pettit wrote: > >> The ovs-ofctl man page has examples. However, here's another: > "dl_dst=01:02:03:ff:ff:ff/ff:ff:ff:00:00:00" matches any destination mac > address that begins with "

Re: [ovs-discuss] Wildcard and exact match

2016-08-19 Thread Amrane Ait Zeouay
address that begins with "01:02:03". > > --Justin > > > > On Aug 19, 2016, at 10:06 AM, Amrane Ait Zeouay > wrote: > > > > So how can you give me an example of wildcarded match. > > > > On 19 Aug 2016 19:04, "Justin Pettit" wrote: > > &

Re: [ovs-discuss] Wildcard and exact match

2016-08-19 Thread Amrane Ait Zeouay
So how can you give me an example of wildcarded match. On 19 Aug 2016 19:04, "Justin Pettit" wrote: > > > On Aug 19, 2016, at 9:59 AM, Amrane Ait Zeouay > wrote: > > > > Thank you for your reply, just the last question. How can i add a > wildcarded ma

Re: [ovs-discuss] Wildcard and exact match

2016-08-19 Thread Amrane Ait Zeouay
stin > > > > On Aug 19, 2016, at 9:55 AM, Amrane Ait Zeouay > wrote: > > > > Yeah. So i want to know if two rules one exact match and the other has > wildcarded match and they have the same priority. So which one will be > choosed ? And how can i add a wildcarde

Re: [ovs-discuss] Wildcard and exact match

2016-08-19 Thread Amrane Ait Zeouay
Yeah. So i want to know if two rules one exact match and the other has wildcarded match and they have the same priority. So which one will be choosed ? And how can i add a wildcarded match On 19 Aug 2016 18:50, "Justin Pettit" wrote: > > > On Aug 19, 2016, at 9:47 AM, Amrane

[ovs-discuss] Wildcard and exact match

2016-08-19 Thread Amrane Ait Zeouay
Hi, I want to know how to add a wildcarded flow in Ovs and how the OVS treat exact match and wildcarded match? If we have two rules, one has the exact match and the other one is has a wildcarded match , so which one the OVS will choose ? And why? And how the wildcarded match are treated ? Thank y

Re: [ovs-discuss] Finding a rule

2016-08-11 Thread Amrane Ait Zeouay
ou 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 to understand how the function classifier_lookup__() works. > >

Re: [ovs-discuss] Finding a rule

2016-08-11 Thread Amrane Ait Zeouay
7;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 find the

Re: [ovs-discuss] Finding a rule

2016-08-11 Thread Amrane Ait Zeouay
ff" wrote: > 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.

[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

Re: [ovs-discuss] Revalidator

2016-08-10 Thread Amrane Ait Zeouay
ion because there is no packet for revalidate. Thank you and have a nice day, Best regards, 2016-08-10 21:55 GMT+02:00 Ben Pfaff : > On Wed, Aug 10, 2016 at 12:28:00PM -0700, Joe Stringer wrote: > > On 10 August 2016 at 09:49, Ben Pfaff wrote: > > > On Wed, Aug 10, 2016 at 11:

[ovs-discuss] Revalidator

2016-08-10 Thread Amrane Ait Zeouay
Hi, I'm working on OvS 2.5.0, and I want to know the interest of using revalidator, what I know it revalidates the flow in dathapath or something like that, and i want to know if in the process of revalidation is there the packet (dp_packet) or not ? Thank you, Best regards _

[ovs-discuss] looking for a rule

2016-08-09 Thread Amrane Ait Zeouay
Hi, Can someone please explain to me how the function find_match_wc() in file lib/classifier.c works ? because I did some modification so that OvS can looks for a specific fields and I did it in the condition "if (!cmap_node_next(inode))" but sometimes the OvS goes to the other conditions. Thank

Re: [ovs-discuss] disable datapath

2016-08-08 Thread Amrane Ait Zeouay
les/conference/nsdi15/ > nsdi15-paper-pfaff.pdf > > > > The other option you could consider is to use OVS with DPDK where all the > datapath is at the userspace level. > > > > HTH > > Antonio > > > > *From:* discuss [mailto:discuss-boun...@open

[ovs-discuss] disable datapath

2016-08-08 Thread Amrane Ait Zeouay
Hi, Is there a way to send packets to userspace and stopping userspace from sending flows to datapath, because i want all my packets to be treated in userspace, because when i send the first packet it goes to userspace and after that it doesn't. so can you help me. Thank you and have a nice say,

Re: [ovs-discuss] [CudaMailTagged] Datapath

2016-08-05 Thread Amrane Ait Zeouay
0 Ben Pfaff : > On Wed, Jul 20, 2016 at 12:57:53PM +0200, Amrane Ait Zeouay wrote: > > I'm working on Ovs 2.5.0, I did some modification for userspace I didn't > > touch the datapath yet, so I want to know if i can make datapath to send > > all the packets to userspac

[ovs-discuss] Adding a field to the flow in datapath

2016-07-27 Thread Amrane Ait Zeouay
field in datapath. Thank you, Best regards. Amrane AIT ZEOUAY ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

[ovs-discuss] [CudaMailTagged] Datapath

2016-07-20 Thread Amrane Ait Zeouay
f them are treated by datapath because it receive the rule from userspace, so is there a way to do it ? because in OVS 2.3.1 i didn't had this problem. Thank you, Best regards. -- Amrane Ait Zeouay Engineer Student in The Development of Software and Systems University of Western Brittany Te

[ovs-discuss] [CudaMailTagged] rules in the flow table

2016-06-30 Thread Amrane Ait Zeouay
? Thank you, Best regards. -- Amrane Ait Zeouay Engineer Student in The Development of Software and Systems University of Western Brittany Tel: +33 7 62 25 56 03 <+33+7+62+25+56+03> ___ discuss mailing list discuss@openvswitch.or

[ovs-discuss] [CudaMailTagged] Flow in Datapath

2016-06-20 Thread Amrane Ait Zeouay
Hi, I added a new header in the flow tables, and it's not related to the packet (it's acting like priority). And now i wanted to add that header in datapath's flow table, but i didn't find anything about it, so how can i do it ? Thank you. Best regards. -- Amrane Ait Zeou

[ovs-discuss] [CudaMailTagged] [openvswitch 2.3.1] testsuite

2016-03-09 Thread Amrane Ait Zeouay
821 1470 failed -- Amrane Ait Zeouay Engineer Student in The Development of Software and Systems University of Western Brittany Tel: +33 6 23 82 61 30 <+33+6+23+82+61+30> ___ discuss mailing list discuss@openvswitch.org http://openvswit