Re: [ovs-dev] Regarding your Ethernet address wildcard match patch

2012-05-16 Thread YIMIN CHEN
ds coincide where it is convenient and not otherwise. > > I don't understand why you're asking these questions.  Joe is clearly on > the right track with his patches. > > On Thu, May 17, 2012 at 12:58:02PM +0800, YIMIN CHEN wrote: >> Hi Ben, >> >> I am new to t

Re: [ovs-dev] Regarding your Ethernet address wildcard match patch

2012-05-16 Thread YIMIN CHEN
, Ben Pfaff wrote: > The place that Joe put it, in struct flow_wildcards. > > On Thu, May 17, 2012 at 12:47:26PM +0800, YIMIN CHEN wrote: >> Hi Ben, >> >> I was following the way IP mask is passing the wildcard down to dp. We >> need several bits to represent the ma

Re: [ovs-dev] Regarding your Ethernet address wildcard match patch

2012-05-16 Thread YIMIN CHEN
, Ben Pfaff wrote: > On Thu, May 17, 2012 at 11:08:33AM +0800, YIMIN CHEN wrote: >> 2) do we also need to change the OFPFW_DL_SRC in ofp_flow_wildcards to >> OFPFW_DL_SRC_MASK? This will move DL_TYPE by many bits, and I am >> wondering whether this is the right way to do. >

[ovs-dev] Regarding your Ethernet address wildcard match patch

2012-05-16 Thread YIMIN CHEN
Hi Joe, I was looking at ways to implement mac address wildcard match and read your patch on the ovs-dev. I have some questions regarding the changes could you please clarify for me? 1) I see util. functions to compare the masks and code to zero the masks. I didn't find the code using the mask to

[ovs-dev] Wireshark already have openflow decoder installed?

2012-05-09 Thread YIMIN CHEN
Hi, I am trying to use wireshark to watch messages b/w ovs and nox. Reading the openflow tutorial "The VM image includes the OpenFlow Wireshark dissector pre-installed. ". Does it only comes with VM image? I am developing nox and ovs on ubuntu 10.04 LTS. Is this system too old to have wireshark wi

Re: [ovs-dev] questions about ovs commands

2012-05-08 Thread YIMIN CHEN
I found my answer in /etc/ifup file. Thanks! Yimin On Wed, May 9, 2012 at 10:28 AM, YIMIN CHEN wrote: > Hi, > > I am looking at ovs utilities to dump the flow tables. > > Found ovs-ofctl, which takes switch as input. What should I put as > switch? The ovs switch name? Where c

[ovs-dev] questions about ovs commands

2012-05-08 Thread YIMIN CHEN
Hi, I am looking at ovs utilities to dump the flow tables. Found ovs-ofctl, which takes switch as input. What should I put as switch? The ovs switch name? Where can I see the names? I have tried ovs-vsctl list-br, which gives me error: jason1@jason1:~/ovs/openvswitch/openvswitch-1.1.0pre2$ ovs-

Re: [ovs-dev] Is there a way to have a flow perform tbl_lookup twice?

2012-05-07 Thread YIMIN CHEN
Thank you! Yimin On Tue, May 8, 2012 at 9:29 AM, Jesse Gross wrote: > datapath/vport-gre.c > > On Mon, May 7, 2012 at 6:21 PM, YIMIN CHEN wrote: >> Hi Ben, >> >> Thank you for your reply! I am newbie to openflow development, please >> pardon me if my p

Re: [ovs-dev] Is there a way to have a flow perform tbl_lookup twice?

2012-05-07 Thread YIMIN CHEN
hanging your description and your requirements. > > On Mon, May 07, 2012 at 08:55:36AM +0800, YIMIN CHEN wrote: >> I didn't quite yet understand why resubmit does not work for my case. >> It could be the same flow table, I just need to search it twice: >> -- once befo

Re: [ovs-dev] Is there a way to have a flow perform tbl_lookup twice?

2012-05-06 Thread YIMIN CHEN
, with the destination IP of decap'ed packet. This does not work? Thanks! On Sat, May 5, 2012 at 3:40 AM, Ben Pfaff wrote: > The difference is that Yimin Chen wants to process the packet through > two flow tables, one before and one after decap.  With the normal way > that gre

Re: [ovs-dev] Is there a way to have a flow perform tbl_lookup twice?

2012-05-03 Thread YIMIN CHEN
You can read PORTING in the root of the tree. > > It would be best if you'd explain your goal first, instead of doing a > deep dive into implementation details. > > On Fri, May 04, 2012 at 09:20:38AM +0800, YIMIN CHEN wrote: >> Hi Ben, >> >> Thank you for the d

Re: [ovs-dev] Is there a way to have a flow perform tbl_lookup twice?

2012-05-03 Thread YIMIN CHEN
on to any  other  actions >                     in this flow entry. > >                     Recursive  resubmit actions are obeyed up to an implemen‐ >                     tation-defined maximum depth.   Open  vSwitch  1.0.1  and >                     earlier  did  not  support recursion; Open vS

Re: [ovs-dev] Is there a way to have a flow perform tbl_lookup twice?

2012-05-02 Thread YIMIN CHEN
2, 2012 at 6:54 PM, YIMIN CHEN wrote: >> Hi Ben, >> >> Thank you for  your reply! I saw there is some code about resubmit >> Nicira extension action, but that seems to be in userspace ofproto.c, >> not in datapath, so I didn't know that is related. Could you he

Re: [ovs-dev] Is there a way to have a flow perform tbl_lookup twice?

2012-05-02 Thread YIMIN CHEN
12:40 PM, Ben Pfaff wrote: > On Wed, May 02, 2012 at 10:53:10AM +0800, YIMIN CHEN wrote: >> I am looking at ovs dp code, and is looking at a correct way for a >> flow to traverse the table twice. The goal is like this: >> >> flow lookup => tbl_lookup() >> perform a

[ovs-dev] Is there a way to have a flow perform tbl_lookup twice?

2012-05-01 Thread YIMIN CHEN
Hi, I am looking at ovs dp code, and is looking at a correct way for a flow to traverse the table twice. The goal is like this: flow lookup => tbl_lookup() perform actions => execute_actions() which changes the packet flow lookup using the new packet => tbl_lookup() perform actions on the new pac