diff mbox series

net/tap: add probe finish call for tun secondary

Message ID 1532408747-84585-1-git-send-email-vipin.varghese@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers show
Series net/tap: add probe finish call for tun secondary | expand

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Varghese, Vipin July 24, 2018, 5:05 a.m. UTC
Invoke rte_eth_dev_probing_finish for rte_pmd_tun_probe.

Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
---
 drivers/net/tap/rte_eth_tap.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Wiles, Keith July 24, 2018, 1:04 p.m. UTC | #1
> On Jul 24, 2018, at 12:05 AM, Vipin Varghese <vipin.varghese@intel.com> wrote:
> 
> Invoke rte_eth_dev_probing_finish for rte_pmd_tun_probe.
> 
> Signed-off-by: Vipin Varghese <vipin.varghese@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 4493507..8c0c5d6 100644
> --- a/drivers/net/tap/rte_eth_tap.c
> +++ b/drivers/net/tap/rte_eth_tap.c
> @@ -1879,6 +1879,7 @@ rte_pmd_tun_probe(struct rte_vdev_device *dev)
> 			return -1;
> 		}
> 		eth_dev->dev_ops = &ops;
> +		rte_eth_dev_probing_finish(eth_dev);
> 		return 0;
> 	}
> 
> -- 
> 2.7.4
> 

Acked-by: Keith Wiles <keith.wiles@intel.com>

Regards,
Keith
Thomas Monjalon Aug. 4, 2018, 11:40 p.m. UTC | #2
24/07/2018 15:04, Wiles, Keith:
> 
> > On Jul 24, 2018, at 12:05 AM, Vipin Varghese <vipin.varghese@intel.com> wrote:
> > 
> > Invoke rte_eth_dev_probing_finish for rte_pmd_tun_probe.
> > 
> > Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
> 
> Acked-by: Keith Wiles <keith.wiles@intel.com>

Applied, thanks
diff mbox series

Patch

diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c
index 4493507..8c0c5d6 100644
--- a/drivers/net/tap/rte_eth_tap.c
+++ b/drivers/net/tap/rte_eth_tap.c
@@ -1879,6 +1879,7 @@  rte_pmd_tun_probe(struct rte_vdev_device *dev)
 			return -1;
 		}
 		eth_dev->dev_ops = &ops;
+		rte_eth_dev_probing_finish(eth_dev);
 		return 0;
 	}