eal: cleanup multiprocess hotplug resources
[dpdk.git] / lib / eal / common / hotplug_mp.h
index 8fcf9b5..4848446 100644 (file)
@@ -37,6 +37,12 @@ struct eal_dev_mp_req {
 int
 eal_mp_dev_hotplug_init(void);
 
+/**
+ * Unregister all mp action callbacks for hotplug.
+ */
+void
+eal_mp_dev_hotplug_cleanup(void);
+
 /**
  * This is a synchronous wrapper for secondary process send
  * request to primary process, this is invoked when an attach