X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Fcommon%2Fhotplug_mp.h;h=8fcf9b52e24c19ad33a34397a9e760b305e9173a;hb=84fb33fec179ea96f814aed9f658d5a2df20745d;hp=597fde3d7c12c2aaf3058d738f1bb1dc949ac716;hpb=244d5130719ca69038c2331e306c7d0934f93b28;p=dpdk.git diff --git a/lib/librte_eal/common/hotplug_mp.h b/lib/librte_eal/common/hotplug_mp.h index 597fde3d7c..8fcf9b52e2 100644 --- a/lib/librte_eal/common/hotplug_mp.h +++ b/lib/librte_eal/common/hotplug_mp.h @@ -28,6 +28,15 @@ struct eal_dev_mp_req { int result; }; +/** + * Register all mp action callbacks for hotplug. + * + * @return + * 0 on success, negative on error. + */ +int +eal_mp_dev_hotplug_init(void); + /** * This is a synchronous wrapper for secondary process send * request to primary process, this is invoked when an attach