[dpdk-dev,v5,10/12] net/failsafe: support device removal
Checks
Commit Message
This patch needs to be rebased with this change:
@@ -399,7 +399,7 @@ failsafe_eth_dev_state_sync(struct rte_eth_dev *dev)
void
failsafe_eth_rmv_event_callback(uint8_t port_id __rte_unused,
enum rte_eth_event_type event __rte_unused,
- void *cb_arg)
+ void *cb_arg, void *ret __rte_unused)
{
struct sub_device *sdev = cb_arg;
@@ -182,7 +182,7 @@ int failsafe_eth_dev_state_sync(struct rte_eth_dev *dev);
void failsafe_dev_remove(struct rte_eth_dev *dev);
void failsafe_eth_rmv_event_callback(uint8_t port_id,
enum rte_eth_event_type type,
- void *arg);
+ void *arg, void *ret);