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>