Hi Ben, Basically we are looking at procedure to load our dpif provider callbacks in '.so' file into ovs vswitchd by using mechanism like 'dlopen' or any other method.
Thereby we can load our callbacks dynamically and register with dp_register_provider(). Thanks, Rajesh -----Original Message----- From: Santhosh Alladi Sent: Tuesday, March 21, 2017 5:43 PM To: Ben Pfaff <[email protected]> Cc: [email protected]; Gorja Gorja <[email protected]>; Rajeshm Madabushi <[email protected]>; Rakesh Kurapati <[email protected]> Subject: RE: [ovs-discuss] New dpif provider registration Hi Ben, Thank you for your reply. We are offloading ovs functionalities to our hardware accelerator. We would like to know if there is any way to load shared libraries of our call backs, in the context of vswitchd? On Thu, Mar 16, 2017 at 12:34:59PM +0000, Santhosh Alladi wrote: > We have written a new dpif provider class and registered it by adding > an entry to base_dpif_classes. Is it the correct way? If yes, can we > upstream it? If no,is there any other way to register an external > class? Is your new provider of general interest? Is it open source? If so, we'd be happy to have an upstream contribution. Otherwise, call dp_register_provider(). _______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
