>  }
> 
> +static int
> +i40e_dev_reset(struct rte_eth_dev *dev)
> +{
> +     int ret;
> +
> +     ret = eth_i40e_dev_uninit(dev);
> +     if (ret)
> +             return ret;
> +
> +     ret = eth_i40e_dev_init(dev);
> +
> +     return ret;
Have you thought about if DPDK is working as host driver, and there
Are VFs rely on it? If it doesn't support, at least a check should be added.
Or you can add those check in Rte level.

Thanks
Jingjing

Reply via email to