[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    [ovs-discuss] how datapath get the entry from ofproto
From:       Xiaoye.Sun () rice ! edu (Xiaoye Sun)
Date:       2013-10-28 22:23:54
Message-ID: CAJnByzgiwkg8afT=fbhZx4pJHTxp7UNiObWuS3VhzDdOgDXxnQ () mail ! gmail ! com
[Download RAW message or body]

Hi all,

I want to add a new function in openvswitch so that some flows can always
be processed by userspace OpenFlow module (ofproto) instead of the kernel
module ( datapath).

To do this, More specifically, I want to add an entry in the flow table in
ofproto (OpenFlow userspace module). And this entry is used to process the
flows in userspace. However, when a packet is received by the kernel, the
kernel will only insert a entry for that packet with action=userspace, so
that the packet will be forwarded to userspace and will again match the
flow table in userspace (OpenFlow flow table). the userspace will then
process the packet according to the action in the matched entry,

My question is:
1. which parts of the ovs source code convert the OpenFlow flow entry to
datapath entry (facet?)?
2. which function in ofproto process the userspace upcall from kernel?

Thanks,
Xiaoye

-- 
Xiaoye (Steven) Sun, Ph.D. Student
Department of Electrical and Computer Engineering (ECE) & Department of
Computer Science (CS)
George R. Brown School of Engineering
Rice University, Houston, Texas, USA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20131028/a85aed40/attachment.htm>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic