[dpdk-dev] [PATCH v4 3/5] net/i40e: add support of reset
Wu, Jingjing
jingjing.wu at intel.com
Fri Jun 30 10:54:25 CEST 2017
> }
>
> +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
More information about the dev
mailing list