[ovs-dev] OVS porting

Ben Pfaff blp at nicira.com
Tue Feb 17 19:29:47 UTC 2015


Please don't drop the list.

What do you mean by "create the connect"?  Maybe you just need to add
another call to ofproto_class_register() in ofproto_init().

On Tue, Feb 17, 2015 at 08:03:34AM +0000, Abhijit Bhadra wrote:
> Ok,
> I understand that. Any pointer on how to implement an ofproto driver, I have my own switching software/tables/Ethernet driver to do the needful. Only thing I need to know is how to create the connect between ofproto and the underlying driver. Is there any sample or reference I can look into?
> Regards,
> Abhijit
> 
> 
> 
> -----Original Message-----
> From: Ben Pfaff [mailto:blp at nicira.com] 
> Sent: Monday, February 16, 2015 11:28 PM
> To: Abhijit Bhadra
> Cc: dev at openvswitch.org
> Subject: Re: [ovs-dev] OVS porting
> 
> On Mon, Feb 16, 2015 at 09:40:49AM +0000, Abhijit Bhadra wrote:
> > I am trying to port the latest OVS into our code. We used to run a
> > much earlier version of code which used WDP(wildcard), now I think it
> > needs to be replaced by ofproto class. I would like get some pointers
> > regarding that.
> >
> > Like for example, what should be a suitable replacement for
> > wdp_flow_put struct etc.? Is there any porting guide regarding this?
> 
> wdp.  Wow.  The last commit to that branch was almost 4 years ago, and
> that was only for a merge and a couple of bug fixes; the bulk of the
> code was written about 5 years ago.  So this question is something like
> "I've got a driver for Linux 2.6.34, do you have a porting guide to get
> it up to 3.19?"
> 
> The simple answer is "no".  The slightly longer answer is that the new
> ofproto interface does more work in common code, so probably a good
> place to start is by deleting code from the wdp implementation that is
> no longer needed.



More information about the dev mailing list