On Thu, Jul 17, 2014 at 12:59:31PM +0000, Eyal Nissim wrote: > I would like Vswitch to control a network processor, in my case I'd like to > perform synchronous configuration via vswitchd > This means that when a remote controller adds a new flow for example, the > flow will be written by > Vswitchd thread to the Network processor > (To my understanding, according to previous answers in the forum, currently > the configuration is done only when data packets arrive > at the upcall thread) > Is it logical to perform this mission from "rule_insert" function? > (ofproto->ofproto_class->rule_insert) , or is there a better place?
We mostly talk about the OVS all-software switch on ovs-discuss, since that's what most users are using. But if you're actually passing flows along to a network processor, then you might want to hook in at a higher level, by implementing an ofproto provider instead of a dpif provider. Please read the PORTING file at the top level of the source tree to understand the tradeoffs. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss