What operating system and platform are you porting it to?  The ofproto provider 
pushes flows that have wildcards, and are very similar to OpenFlow flows.  The 
dpif provider only pushes exact-match flows.  If you have access to something 
like a TCAM that supports priorities and wildcards, then implementing an 
ofproto provider would be the way to go.  If this is pure software, then you 
probably want to implement a dpif, since you can do the flow lookups with a 
hash function, which is much faster in software.  Most of this should be 
explained in the PORTING file, so you may want to take another look at it.

--Justin


On Mar 7, 2013, at 11:09 PM, 王国栋 <martin23...@gmail.com> wrote:

> i have some question about PORTING file. there is a graph in this file as 
> follow:
> <image.png>
> now i am willing to port the source code to a network processor ,which is 
> MIPS arch. my goal is implement the kernel module in the platform.but i still 
> cannot figure out a clear procedure about it. which part should i change? and 
> the difference between ofproto provider and dpif provider is the challenge, 
> can you tell me about it?
> thank you in advance!
> 
> regards,
> 
> martin
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to