[ovs-discuss] emergency question about openvswitch code

Justin Pettit jpettit at nicira.com
Mon May 25 17:31:13 UTC 2015


> On May 25, 2015, at 5:10 AM, saeidehdeldar <s03.deldar at gmail.com> wrote:
> 
> dear sir
>> I am Saeideh Deldar a student at the Amirkabir polytechnic university,Tehran,Iran.
>> I want to Implementation our paper('A Flow Entry management scheme for reducing controller overhead'). I'm asking for your help.
>> what controller you use?
>> explain about code openvswitch and function in ofproto.c & ofproto-dpif.c?!

I don't have time to get into all the details, but I've attached some slides from a presentation I did a few years ago that describe the architecture and how the main components fit together.  The main take away is:

	- ofproto implements an OpenFlow switch and provides an interface for software and hardware switches
	- ofproto-dpif is an instance of an ofproto, and it provides an interface for software switches that don't have TCAMs and need flows that can be efficiently looked up in software

In the presentation, I refer to dpif as exploding entries into exact match.  This was before megaflows, so it now explodes them into megaflows, which allow some wildcarding.  If you want to get into the nit-gritty of that, I'd recommend looking at our NSDI paper:

	http://openvswitch.org/support/papers/nsdi2015.pdf

I hope that helps.

--Justin


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OVS Dev.pdf
Type: application/pdf
Size: 182170 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150525/34e1844c/attachment-0002.pdf>
-------------- next part --------------





More information about the discuss mailing list