[dpdk-dev] [PATCH 1/2] ethdev: make rte_eth_dev_is_valid_port public

Bruce Richardson bruce.richardson at intel.com
Thu Jun 11 11:13:14 CEST 2015


On Wed, Jun 10, 2015 at 03:06:24PM -0700, Stephen Hemminger wrote:
> From: Stephen Hemminger <shemming at brocade.com>
> 
> The function rte_eth_dev_is_valid_port is good way to have all
> drivers using same function and solves several hotplug related
> bugs from drivers not checking attached flag.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

Just yesterday I was working on a patch to do the same thing! 

Acked-by: Bruce Richardson <bruce.richardson at intel.com>



More information about the dev mailing list