[dpdk-dev] [PATCH] ethdev: add notifications for probing and removal

Ferruh Yigit ferruh.yigit at intel.com
Fri Dec 22 04:17:04 CET 2017


On 11/28/2017 2:13 PM, Thomas Monjalon wrote:
> When a PMD finishes probing, it creates the new port by calling
> the function rte_eth_dev_allocate().
> A notification of the new port is sent there to the upper layer.
> 
> When a PMD finishes removal of a port, it calls the function
> rte_eth_dev_release_port().
> A notification of the destroyed port is sent there to the upper layer.
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>

> ---
> 
> This patch depends on:
> - ethdev: remove useless parameter in callback process
> - ethdev: free a port by a dedicated API

What do you think pulling that patch from port ownership patchset, which is
still under discussion, to this one? Is it required for port ownership one?


More information about the dev mailing list