From: David Marchand Date: Tue, 20 Sep 2016 12:41:25 +0000 (+0530) Subject: ethdev: convert to EAL hotplug X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b0fb26685570acb9f1ff76a9f25f3e29d09e17b2;hp=b0fb26685570acb9f1ff76a9f25f3e29d09e17b2;p=dpdk.git ethdev: convert to EAL hotplug Remove bus logic from ethdev hotplug by using eal for this. Current api is preserved: - the last port that has been created is tracked to return it to the application when attaching, - the internal device name is reused when detaching. We can not get rid of ethdev hotplug yet since we still need some mechanism to inform applications of port creation/removal to substitute for ethdev hotplug api. dev_type field in struct rte_eth_dev and rte_eth_dev_allocate are kept as is, but this information is not needed anymore and is removed in the following commit. Signed-off-by: David Marchand Signed-off-by: Shreyansh Jain ---