ethdev: move hotplug checks and logs in a common place
authorDavid Marchand <david.marchand@6wind.com>
Fri, 22 Jan 2016 14:06:58 +0000 (15:06 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 27 Jan 2016 15:09:37 +0000 (16:09 +0100)
commit86f24d7c4e66835de4693a2fbd11e8ce1cf89058
treefc61e4b11df2eb5ffb592a25beebf86135fd2393
parentb75abd8907731fd76e09baa1d10e1897561eba88
ethdev: move hotplug checks and logs in a common place

Move these error logs and checks on detach capabilities in a common place.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Reviewed-by: Jan Viktorin <viktorin@rehivetech.com>
lib/librte_ether/rte_ethdev.c