ethdev: add generic create/destroy ethdev APIs
authorDeclan Doherty <declan.doherty@intel.com>
Thu, 26 Apr 2018 10:40:59 +0000 (11:40 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 17:00:56 +0000 (18:00 +0100)
commite489007a411cb502987e0a941f55342d02afd8af
tree4649ea103fc206e81514eaed7d1e125746e73504
parent0804dfc209b1f1396b049ade9256afe4188d50fc
ethdev: add generic create/destroy ethdev APIs

Add new bus generic ethdev create/destroy APIs which are bus independent
and provide hooks for bus specific initialisation.

Signed-off-by: Declan Doherty <declan.doherty@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev_driver.h
lib/librte_ether/rte_ethdev_pci.h
lib/librte_ether/rte_ethdev_version.map