ethdev: move hotplug checks and logs in a common place