[dpdk-dev] [PATCH v1] net/tap: invoke probe finish for multiq failure

Wiles, Keith keith.wiles at intel.com
Wed Nov 7 16:11:46 CET 2018



> On Nov 7, 2018, at 1:58 PM, Varghese, Vipin <vipin.varghese at intel.com> wrote:
> 
> In scenarion for multiq or flowq setup failure rte_eth_dev_probing_finish
> has to be invoked for successful device registration.
> 
Acked-by: Keith Wiles <keith.wiles at intel.com>
> Signed-off-by: Vipin Varghese <vipin.varghese at intel.com>
> ---
> ---
> drivers/net/tap/rte_eth_tap.c | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c
> index e7817e896..40911923d 100644
> --- a/drivers/net/tap/rte_eth_tap.c
> +++ b/drivers/net/tap/rte_eth_tap.c
> @@ -1848,6 +1848,7 @@ eth_dev_tap_create(struct rte_vdev_device *vdev, char *tap_name,
> 		TAP_LOG(ERR, "Remote feature requires flow support.");
> 		goto error_exit;
> 	}
> +	rte_eth_dev_probing_finish(dev);
> 	return 0;
> 
> error_remote:
> -- 
> 2.17.1
> 

Regards,
Keith



More information about the dev mailing list