#include <rte_atomic.h>
#include <rte_dev.h>
-#include <rte_ethdev_driver.h>
+#include <ethdev_driver.h>
#include <rte_devargs.h>
#include <rte_flow.h>
#include <rte_interrupts.h>
/*
* Set of sub_devices.
* subs[0] is the preferred device
- * any other is just another slave
+ * any other is just another sub device
*/
struct sub_device *subs; /* shared between processes */
uint8_t subs_head; /* if head == tail, no subs */
int failsafe_eth_dev_state_sync(struct rte_eth_dev *dev);
void failsafe_eth_dev_unregister_callbacks(struct sub_device *sdev);
+int failsafe_eth_dev_close(struct rte_eth_dev *dev);
void failsafe_dev_remove(struct rte_eth_dev *dev);
void failsafe_stats_increment(struct rte_eth_stats *to,
struct rte_eth_stats *from);